Hide Forgot
Created attachment 477860 [details] Am I compliant or not? Description of problem: While rhsm-compliance-icon is running with its default --check-period (once-a-day), it is easy to run subscription-manager cli/gui and autosubscribe yourself into compliance. Yet the rhsm-compliance-icon remains in a non-compliant state. See attached screenshot. This situation is confusing for the user who will not have the patience or knowledge that if they just wait one day, the rhsm-compliance-icon will disappear. Yes... I know clicking it will zap it out of site, but that's not such a great usability feature either. Changing the default --check-period to something smaller (like 5 seconds) would be a quick fix, but it's not too elegant. It would be nicer if... <jbowes> the client apps (the cli/gui) might also have to be smart enough to tell this daemon to recheck, so it can emit compliance change signals right after they've done something Version-Release number of selected component (if applicable): [root@jsefler-betastage-1 ~]# rpm -qa | grep subscription-manager subscription-manager-firstboot-0.93.19-1.el6.x86_64 subscription-manager-0.93.19-1.el6.x86_64 subscription-manager-gnome-0.93.19-1.el6.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Related bug: https://bugzilla.redhat.com/show_bug.cgi?id=642705
Another related bug: https://bugzilla.redhat.com/show_bug.cgi?id=642816
[root@jsefler-onprem03 bug629670]# rpm -qa | grep subscription-manager subscription-manager-gnome-0.95.4-1.git.0.1fb5ee4.el6.x86_64 subscription-manager-firstboot-0.95.4-1.git.0.1fb5ee4.el6.x86_64 subscription-manager-0.95.4-1.git.0.1fb5ee4.el6.x86_64 Testing transition from compliance to non-compliance with a single subscribable product configured, the following is a summary of my test case results: GUI--------------------------------- subscription-manager-gui subscribe PASS subscription-manager-gui unsubscribe PASS subscription-manager-gui register with autosubscribe PASS subscription-manager-gui unregister PASS CLI--------------------------------- subscription-manager subscribe --auto PASS subscription-manager unsubscribe --all PASS subscription-manager subscribe --pool= PASS subscription-manager unsubscribe --serial= PASS subscription-manager unsubscribe --serial= PASS subscription-manager register --autosubscribe FAIL subscription-manager unregister FAIL moving back to ASSIGNED to fix the cli cases for register and unregister
master ee42888 0.96.2+ rhel6 0.95.5+ 4721154845145a82ec9e00260d64817abf11cf93
Verifying Version... [root@jsefler-onprem03 bug629670]# rpm -qa | grep subscription-manager subscription-manager-0.95.4-1.git.4.4721154.el6.x86_64 subscription-manager-firstboot-0.95.4-1.git.4.4721154.el6.x86_64 subscription-manager-gnome-0.95.4-1.git.4.4721154.el6.x86_64 [root@jsefler-onprem03 pki]# rpm -q subscription-manager --changelog | grep 676377 - 676377: rhsm-compliance-icon's status can be a day out of sync The two failed cases in comment #6 are now passing: subscription-manager register --autosubscribe PASS subscription-manager unregister PASS moving to VERIFIED
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html