Project

General

Profile

Actions

Bug #28714

closed

custom products can't be consumed by hosts

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

Status:
Closed
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

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

Updated by The Foreman Bot over 4 years ago

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

Updated by Justin Sherrill over 4 years ago

  • Target version set to Katello 3.13.3
Actions #3

Updated by The Foreman Bot over 4 years ago

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

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases Katello 3.16.0 added
Actions #5

Updated by Hao Yu over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Jonathon Turel over 4 years ago

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

Updated by The Foreman Bot over 4 years ago

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

Updated by James Jeffers over 4 years ago

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

Updated by Jonathon Turel over 4 years ago

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

Also available in: Atom PDF