Hide Forgot
Description of problem: In response to https://bugzilla.redhat.com/show_bug.cgi?id=629670#c5 I am opening a separate bug to cover the following case: rhsm-compliance-icon should appear (or should it?) with some message stating the fact that your state of compliance is dependent on a future subscription to which you are currently subscribed. This case happens when you are subscribing to a pool whose validity period is in the future. Version-Release number of selected component (if applicable): [root@jsefler-onprem03 entitlement]# rpm -qa | grep subscription-manager subscription-manager-0.95.1-1.git.17.4a23267.el6.x86_64 subscription-manager-firstboot-0.95.1-1.git.17.4a23267.el6.x86_64 subscription-manager-gnome-0.95.1-1.git.17.4a23267.el6.x86_64 [root@jsefler-onprem03 entitlement]# rpm -q python-rhsm python-rhsm-0.95.3-1.git.0.4d0ef8e.el6.noarch How reproducible: Steps to Reproduce: Follow steps in https://bugzilla.redhat.com/show_bug.cgi?id=629670#c4 for the case: - date before the Not Before date Actual results: rhsm-compliance-icon disappears Expected results: In my opinion it is unclear what rhsm-compliance-icon should do. Currently the subscription-manager-gui calls this Compliance Status a "Future Subscription" and does not give it a green nor red color. But it does decrement it from the count of "out of compliance" products. So what should the rhsm-compliance-icon do at this time? If it is removed, a user would probably assume that they are in compliance but get angry when they can not access the related content. If the the rhsm-compliance-icon is displayed, then it should probably tell them that their compliance is dependent upon a future subscription and they will not be able to get content until the validity period begins.
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
I'd like to close this bug as worksforme. In master, the gui displays future dated subscriptions as invalid (though it does show that you have one that is for the future) and not covering a product. Likewise, the icon and it's matching syslog entry will warn you that you are missing one or more valid entitlement certificates. So since the behaviour matches, I think this bug is ok to close.
Moving to ON_QA for a double-check
Created attachment 575496 [details] rhsm-icon now shows when installed product is invalid today despite coverage in future Originally when this bug was opened, an installed product that was covered by a future subscription was not considered "red" nor "green" today and therefore the rhsm-icon did not render as being invalid today. As demonstrated in the attached screenshot, that behavior has changed. The compliance of the system (and each of the individual installed products) is now decided based on the entitlement coverage TODAY (not future or past). Hence the rhsm-icon now shows "Invalid or Missing Entitlement Certificates" even though the installed product is covered by a Future Subscription. [root@jsefler-r63-server ~]# rpm -q subscription-manager subscription-manager-0.99.13-1.el6.x86_64 Moving to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0804.html