Bug 980724

Summary: Subscription Details in "All Available Subscriptions" tab still display the last subscription's info when no subscription is listed.
Product: Red Hat Enterprise Linux 5 Reporter: xingge <gxing>
Component: subscription-managerAssignee: Carter Kozak <ckozak>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, ckozak, jesusr, jsefler, ldai, liliu
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:12:22 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    
Attachments:
Description Flags
screen shot when error happens none

Description xingge 2013-07-03 06:49:20 UTC
Description of problem:
Subscription Details in "All Available Subscriptions" tab still display the last subscription's info when no subscription is listed.

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.8.11-1.el5
subscription-manager-firstboot-1.8.11-1.el5
subscription-manager-1.8.11-1.el5
python-rhsm-1.8.12-1.el5

How reproducible:
Always

Steps to Reproduce:
1.register the system from gui with "manullay attach subscriptions after registration" selected.

2.Go to "All Available Subscriptions" tab and press "Update" button.

3.Select one listed subscription to see the subscription details.

4.Unregister the system.

5.Repeat step 1.

6.Go to "All Available Subscriptions" tab

Actual results:
Even though no subscriptions is listed, the "Subscription Details" still have last subscriptions info.

Expected results:
The "Subscription Details" table should be empty.

Additional info:
After press the update button and new subscriptions are listed, the "Subscription Details" goes empty again.

Comment 1 xingge 2013-07-03 06:49:48 UTC
Created attachment 768097 [details]
screen shot when error happens

Comment 2 RHEL Program Management 2013-07-03 06:57:30 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 3 Carter Kozak 2013-07-11 16:49:33 UTC
Unable to reproduce.

# subman version
server type: Red Hat Subscription Management
subscription management server: 0.8.17-1
subscription-manager: 1.8.12-1.git.1.1a54d27
python-rhsm: 1.8.13-1.git.0.85d7af5

Comment 5 Carter Kozak 2013-07-22 16:36:11 UTC
I am unable to reproduce this.  You will need to provide more information.

What versions are you using?  How are you testing this?  Is it automated?  What version of rhel are you using?

How exactly are you registering and unregistering?  To what candlepin server?  Is this happening through the gui?

Does this fix itself after a moment, or persist?

Comment 6 Carter Kozak 2013-07-22 19:33:13 UTC
commit c94a0c328069e43e3ce165cc1e329511c7a501c6
Author: ckozak <ckozak>
Date:   Mon Jul 22 13:10:09 2013 -0400

    980724: allsubstab cleared on identity change, check redeem on register

Comment 7 xingge 2013-07-23 01:58:49 UTC
I use the latest rhel5.10 --> RHEL5.10-Snapshot-1.0-client-x86_64
and the pakage version is:
subscription-manager-gui-1.8.13-1.el5
subscription-manager-firstboot-1.8.13-1.el5
subscription-manager-1.8.13-1.el5
python-rhsm-1.8.13-1.el5

I use account:stage_test_26, and it doesn't fix itself until you press "update" button.

Comment 8 Carter Kozak 2013-07-23 12:43:41 UTC
Were you unsubscribing with the button, or with the CLI?

Comment 10 xingge 2013-07-24 08:14:24 UTC
verified on subscription-manager-gui-1.8.14 in system RHEL5.10-Snapshot-1.0-server-x86_64

Comment 12 errata-xmlrpc 2013-09-30 23:12:22 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