Bug 950672

Summary: Subscription field value is missing in GUI after subscribing
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Shwetha Kallesh <skallesh>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, ckozak, fsharath, jesusr, jmolet, skallesh
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 23:06:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 840995, 920191    
Attachments:
Description Flags
missing value for Subscription field in Product's Subscription Details pane
none
another example of a failing case
none
Subscriptio information not shown
none
Subscription details appear none

Description John Sefler 2013-04-10 15:44:56 UTC
Created attachment 733762 [details]
missing value for Subscription field in Product's Subscription Details pane

Description of problem:
View the attach screenshot to see the missing Subscription field value in the GUI for the Product's Subscription Details.  It should be filled with the name of the attached subscription.


Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.2-1
subscription-manager: 1.8.5-1.git.26.9540c7f.el7
python-rhsm: 1.8.8-1.git.0.c7ea5c0.el7
[root@jsefler-f14-candlepin candlepin]# git show-ref | grep master
10bc5f9576fc9168c357db9e7877343a01a48155 refs/heads/master


How reproducible:
does not occur for all subscriptions.


Steps to Reproduce:
Working with an OnPremises standalone candlepin deployed with TESTDATA...
[root@jsefler-7 ~]# subscription-manager facts --list | grep arch
lscpu.architecture: x86_64
[root@jsefler-7 ~]# subscription-manager list --all --avail | grep -A1 -- -s390x
SKU:               awesomeos-s390x
Pool ID:           8a90f81d3df0966b013df097eaee0383
--
SKU:               awesomeos-s390x
Pool ID:           8a90f81d3df0966b013df097eac8037a
[root@jsefler-7 ~]# subscription-manager subscribe --pool 8a90f81d3df0966b013df097eaee0383
Successfully attached a subscription for: Awesome OS for S390X
[root@jsefler-7 ~]# subscription-manager-gui&

See attached screenshot



  
Actual results:
missing Subscription field value

Expected results:
Awesome OS for S390X

Additional info:
my observation is that this bug occurs for installed products whose arch does not match the system arch

Comment 1 John Sefler 2013-04-11 00:09:05 UTC
Created attachment 733938 [details]
another example of a failing case

Comment 2 Bryan Kearney 2013-05-07 18:50:35 UTC
I am seeing this working now. Can you please re-test with the latest code (1.8.6+)

Comment 3 Sharath Dwaral 2013-05-08 15:49:13 UTC
Created attachment 745292 [details]
Subscriptio information not shown

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-gui-1.8.6-1.git.41.bde7358.el5
subscription-manager-migration-data-1.11.2.7-1.git.0.1dfd00e.el5
python-rhsm-1.8.10-1.git.0.3f8551e.el5
subscription-manager-migration-1.8.6-1.git.41.bde7358.el5
subscription-manager-1.8.6-1.git.41.bde7358.el5
subscription-manager-firstboot-1.8.6-1.git.41.bde7358.el5

Please see attachment. The bug exists

Failed QA.

Comment 4 Carter Kozak 2013-05-29 19:57:20 UTC
commit 19efcfd940fe7bcba7c023d0cb7b68d9eaef329b
Author: ckozak <ckozak>
Date:   Wed May 29 12:20:42 2013 -0400

    950672: Added data for yellow. Added list view.

Comment 5 RHEL Program Management 2013-05-30 04:39:48 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 7 Shwetha Kallesh 2013-06-04 06:58:38 UTC
Created attachment 756644 [details]
Subscription details appear

Marking verified!!

[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.10-1
subscription-manager: 1.8.9-1.el5
python-rhsm: 1.8.12-1.el5


[root@localhost ~]# subscription-manager attach --pool 8ac6a3a23ef48821013ef48b09aa07c5
Successfully attached a subscription for: Awesome OS for S390X
[root@localhost ~]# subscription-manager list --installed | grep S390X
Product Name:   Awesome OS for S390X Bits
[root@localhost ~]# subscription-manager list --installed | grep S390X -A9
Product Name:   Awesome OS for S390X Bits
Product ID:     100000000000000
Version:        3.11
Arch:           s390x
Status:         Partially Subscribed
Status Details: Covers architecture s390x but the system is x86_64.
Starts:         
Ends:

Comment 9 errata-xmlrpc 2013-09-30 23:06:02 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-2013-1332.html