Project

General

Profile

Actions

Bug #28714

closed

custom products can't be consumed by hosts

Added by Hao Yu about 5 years ago. Updated about 5 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

Also available in: Atom PDF