This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 980748 - The output of "subscription-manager attach --auto" is wrong!
The output of "subscription-manager attach --auto" is wrong!
Status: CLOSED DUPLICATE of bug 977321
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager (Show other bugs)
5.10
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: candlepin-bugs
IDM QE LIST
:
Depends On:
Blocks: rhsm-rhel510
  Show dependency treegraph
 
Reported: 2013-07-03 03:36 EDT by xingge
Modified: 2016-09-19 22:28 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-03 09:38:22 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description xingge 2013-07-03 03:36:49 EDT
Description of problem:
The output of "subscription-manager attach --auto" is wrong!

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 
#subscription-manager register 
Username:stage_test_12
Password:

2.Auto subscribe
#subscription-manager attach --auto
Installed Product Current Status:
Product Name: 	Red Hat Enterprise Linux Server
Status:			Not Subscribed

3 list consumed subscription
#subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests)
Provides:          Red Hat Software Collections Beta (for RHEL Server)
                   Red Hat Enterprise Linux Server
                   Red Hat Beta
SKU:               RH0103708
Contract:          10014723
Account:           5206751
Serial:            6906917654128083902
Pool ID:           8a99f9843c01ccba013c037bb23e0259
Active:            True
Quantity Used:     1
Service Level:     Premium
Service Type:      L1-L3
Status Details:    
Starts:            12/31/2012
Ends:              12/31/2013

Actual results:
The output said the system is not subscribe, but look at step3 we know that
actually the system is "Sbuscribed".

Expected results:
The output should be:
Installed Product Current Status:
Product Name: 	Red Hat Enterprise Linux Server
Status:         Subscribed

Additional info:
Comment 1 RHEL Product and Program Management 2013-07-03 03:38:09 EDT
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 2 xingge 2013-07-03 04:06:55 EDT
When run the "subscription-manager attach --auto" again after run "subscription-manager attach --auto", the output become correct like below:
#subscription-manager attach --auto
Installed Product Current Status:
Product Name: 	Red Hat Enterprise Linux Server
Status:			Not Subscribed
#subscription-manager attach --auto
All installed products are covered by valid entitlements. No need to update subscriptions at this time.
Installed Product Current Status:
Product Name: 	Red Hat Enterprise Linux Server
Status:	        Subscribed
Comment 3 RHEL Product and Program Management 2013-07-03 04:08:26 EDT
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 4 John Sefler 2013-07-03 09:35:21 EDT
likely a duplicate of bug 977321
possibly a duplicate of bug 964332
Comment 5 Carter Kozak 2013-07-03 09:38:22 EDT
Duplicate of BZ977321

*** This bug has been marked as a duplicate of bug 977321 ***

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