Bug 761478 - system.entitlements_valid should be valid when viewing facts via GUI after subscribing a subscription
Summary: system.entitlements_valid should be valid when viewing facts via GUI after su...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.8
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: beta
: 5.8
Assignee: John Sefler
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 715031 772956
TreeView+ depends on / blocked
 
Reported: 2011-12-08 12:03 UTC by Suyuan Li
Modified: 2012-08-10 12:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2012-02-21 06:43:46 UTC
Target Upstream Version:


Attachments (Terms of Use)
Demonstration that the facts values in the GUI can be out of sync with the CLI (82.99 KB, image/png)
2011-12-14 16:00 UTC, John Sefler
no flags Details
facts list in GUI keeps system.entitlements_valid in sync with CLI (63.51 KB, image/png)
2011-12-21 18:32 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0154 0 normal SHIPPED_LIVE subscription-manager bug fix update 2012-02-20 15:06:04 UTC

Description Suyuan Li 2011-12-08 12:03:04 UTC
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.

Comment 2 John Sefler 2011-12-14 16:00:40 UTC
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.

Comment 5 Alex Wood 2011-12-20 21:12:34 UTC
Committed 4b2b7a20cd397499bc34e4c27f35a1fb28761a4a 

Available in versions 0.99.2+

Comment 6 John Sefler 2011-12-21 18:04:05 UTC
Was also committed to RHEL5.8 branch...
	Revision: 4f81890f5e7f1660a58c2fb2c6f97265d1664c91

Comment 7 John Sefler 2011-12-21 18:32:57 UTC
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

Comment 8 William Poteat 2012-01-23 15:50:57 UTC
    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

Comment 9 errata-xmlrpc 2012-02-21 06:43:46 UTC
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


Note You need to log in before you can comment on or make changes to this bug.