Red Hat Bugzilla – Bug 845634
Subscriptions for a registered and subscribed system are not correctly updated if rhsmcertd is bounced
Last modified: 2013-01-30 10:41:57 EST
Created attachment 602169 [details]
Katello ui showing system is not compliant
Description of problem:
Assuming that you have the correct amount and type of subscriptions available for your organization, when you register and autosubscribe a system to that organization, this system should be displayed as being compliant in katello's web ui (which displays a green icon next to the system name). However, the web ui displays that system as being non-compliant with a red icon next to it. It isn't until rhsmcertd run (or bounced) that the system is properly displayed in the ui.
The default refresh rate for checking/posting the system "health" is 1 day, which means that the true state for a just recently system won't reflect in Katello's web ui until much later. Could we post the system's information back to katello upon successful subscription?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
The status in Katello is derived from Candlepin exclusively.
The running of rhsmcertd will change the status in the Subscription Manager only. It is far too expensive for every request for subscription or installed product status to refresh from the server.
The status update will need to wait for rhsmcertd unless we put a 'refresh from server' action in the GUI. The CLI has a 'refresh' command, but it must be explicitly run to pull down or remove certs that will change installed product status.
This needs to be rewritten as an RFE.