Project

General

Profile

Bug #28714

custom products can't be consumed by hosts

Added by Hao Yu over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

  • Clone from bugzilla 1789654 **

Description of problem:

When adding a new custom product into Satellite, it is not available to the content hosts.

Version-Release number of selected component (if applicable):

Easy

How reproducible:

Steps to Reproduce:
1. Create a new custom product
2. Attach its subscription to a content host
2. Login to the host and run:

subscription-refresh
subscription-manager list --consumed

Actual results:

The subscription of the custom product is not consumed by the host

Expected results:

The subscription of the custom product should be consumed by the host

Additional info:

The issue is caused by the expiry date of the subscription. It is set as 2050-01-02 11:40:40 +1000. According to this code

https://github.com/candlepin/candlepin/blob/5b87865f304555c112982af4fbc83a1c463d37b2/server/src/main/java/org/candlepin/model/UeberCertificateGenerator.java#L263

No certificate is issued thus none of the hosts can consume that subscription.


Subtasks

Bug #28752: Subscription manager issue Centos 8 - rhsm.certificate.CertificateException: String does not contain a date.Duplicate

Associated revisions

Revision 9c28bc97 (diff)
Added by Hao Yu over 2 years ago

Fixes #28714 - Limit the certificate end date to late 2049

Subscription-manager (python-rhsm) can't read the certificate
with end date deyond 2049 year correctly. It will read the date
as 1949 year which causing the pool of the custom products not
accessible.

Revision eb233a31 (diff)
Added by Justin Sherrill over 2 years ago

Fixes #28714 - VCR Update for product cert change

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8507 added

#2 Updated by Justin Sherrill over 2 years ago

  • Target version set to Katello 3.13.3

#3 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/8508 added

#4 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 3.16.0 added

#5 Updated by Hao Yu over 2 years ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Jonathon Turel over 2 years ago

  • Triaged changed from No to Yes
  • Target version changed from Katello 3.13.3 to Katello 3.13.4
  • Fixed in Releases Katello 3.15.0 added
  • Fixed in Releases deleted (Katello 3.16.0)

#7 Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/8513 added

#8 Updated by James Jeffers over 2 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8507)

#9 Updated by Jonathon Turel over 2 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8513)

Also available in: Atom PDF