Bug 950672 - Subscription field value is missing in GUI after subscribing
Summary: Subscription field value is missing in GUI after subscribing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Shwetha Kallesh
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2013-04-10 15:44 UTC by John Sefler
Modified: 2013-09-30 23:06 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 23:06:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
missing value for Subscription field in Product's Subscription Details pane (73.50 KB, image/png)
2013-04-10 15:44 UTC, John Sefler
no flags Details
another example of a failing case (71.92 KB, image/png)
2013-04-11 00:09 UTC, John Sefler
no flags Details
Subscriptio information not shown (131.90 KB, image/png)
2013-05-08 15:49 UTC, Sharath Dwaral
no flags Details
Subscription details appear (98.74 KB, image/png)
2013-06-04 06:58 UTC, Shwetha Kallesh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

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


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