Hide Forgot
Description of problem: system.entitlements_valid is invalid when viewing facts via GUI after subscribing the system to a subscription Version-Release number of selected component (if applicable): # rpm -qa | grep subscription subscription-manager-0.98.5-1.el5 subscription-manager-firstboot-0.98.5-1.el5 subscription-manager-gnome-0.98.5-1.el5 # rpm -qa | grep python-rhsm python-rhsm-0.98.3-1.el5 How reproducible: always Steps to Reproduce: 1. subscription-manager-gui click "Register System" Input <rhlogin> <pwd> <system_name>, and click register 2. subscribe to one available subscription. 3. click "View System Facts" icon, open "system" attribute, check the value of system.entitlements_valid. Actual results: The result shows system.entitlements_valid: invalid attachement will show the value shown in GUI and CLI. Expected results: The result shoud show system.entitlements_valid: valid Additional info: The result will show: "system.entitlements_valid: valid" after re-run subscription-manager-gui.
Created attachment 546779 [details] Demonstration that the facts values in the GUI can be out of sync with the CLI This screenshot demonstrates the descrepancy. Circled green values are correct. Circled red value is out of sync.
Committed 4b2b7a20cd397499bc34e4c27f35a1fb28761a4a Available in versions 0.99.2+
Was also committed to RHEL5.8 branch... Revision: 4f81890f5e7f1660a58c2fb2c6f97265d1664c91
Created attachment 549067 [details] facts list in GUI keeps system.entitlements_valid in sync with CLI Verifying Version... [root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager subscription-manager-gnome-0.98.9-1.git.3.4f81890.el5_7 subscription-manager-firstboot-0.98.9-1.git.3.4f81890.el5_7 subscription-manager-migration-0.98.9-1.git.3.4f81890.el5_7 subscription-manager-0.98.9-1.git.3.4f81890.el5_7 [root@jsefler-onprem-5server ~]# Verified that as the fact value of system.entitlements_valid changes with the subscribe and unsubscribe of subscriptions via the GUI, opening the facts GUI dialog will show the same up-to-date value as reported in the CLI. Note: The facts dialog must be closed and re-opened if changing entitlements outside the GUI (e.g. using the CLI to subscribe/unsubscribe) to see the most up-to-date facts value for system.entitlements_valid. This behavior is reasonable in my opinion. moving to VERIFIED
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description necessary
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-0154.html