Bug 707503 - register --autosubscribe doesn't subscribe
Summary: register --autosubscribe doesn't subscribe
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: ia64
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Chris Duryee
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 675214 rhel57rtt
TreeView+ depends on / blocked
 
Reported: 2011-05-25 09:24 UTC by Alexander Todorov
Modified: 2011-07-21 12:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 08:47:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1078 0 normal SHIPPED_LIVE new package: subscription-manager 2011-07-21 08:45:07 UTC

Description Alexander Todorov 2011-05-25 09:24:29 UTC
Description of problem:
subscription-manager register --autosubscribe registers the system but doesn't subscribe to any available subscriptions.

Version-Release number of selected component (if applicable):
subscription-manager-0.95.5.18-1.el5

How reproducible:
always

Steps to Reproduce:
# subscription-manager register --autosubscribe
Username: stage_test_12
Password: 
156d0157-b920-4dfc-8703-57a7885857ae dhcp70-244.rhts.eng.bos.redhat.com

** COLLECTED WARNINGS **
/sys/firmware/efi/systab: SMBIOS entry point missing
No SMBIOS nor DMI entry point found, sorry.
** END OF WARNINGS **

# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+

ProductName:        	Red Hat Enterprise Linux Server
Status:             	Not Subscribed           
Expires:            	                         
Subscription:       	                         
ContractNumber:     	                         
AccountNumber:      	                         

# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+


ProductName:       	Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to
                        4 guests)
ProductId:         	RH0103708                
PoolId:            	8a99f9812f270524012f44fdcab650cb
Quantity:          	97                       
Expires:           	10.04.2012               


ProductName:       	Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to
                        4 guests)
ProductId:         	RH0103708                
PoolId:            	8a99f9812f270524012f4a70b0f91b7b
Quantity:          	90                       
Expires:           	11.04.2012               


** COLLECTED WARNINGS **
/sys/firmware/efi/systab: SMBIOS entry point missing
No SMBIOS nor DMI entry point found, sorry.
** END OF WARNINGS **

  
Actual results:
System is not subscribed. 

Expected results:


Additional info:
Subscribing using poolID works:

# subscription-manager subscribe --pool=8a99f9812f270524012f44fdcab650cb

** COLLECTED WARNINGS **
/sys/firmware/efi/systab: SMBIOS entry point missing
No SMBIOS nor DMI entry point found, sorry.
** END OF WARNINGS **

# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+

ProductName:        	Red Hat Enterprise Linux Server
Status:             	Subscribed               
Expires:            	10.04.2012               
Subscription:       	3539710107085734319      
ContractNumber:     	2280329                  
AccountNumber:      	1444063

Comment 1 Chris Duryee 2011-05-25 14:17:55 UTC
Which arch is this on?

Comment 2 John Sefler 2011-05-25 14:26:13 UTC
Chris,
The ** COLLECTED WARNINGS ** indicate it must be on ia64  (bug 706552)
Could this be related to bug 706127 ?

Comment 3 Chris Duryee 2011-05-25 14:43:10 UTC
This is slightly different. 706552 is from DMI length, this bug indicates it's unable to read DMI info at all.

Comment 6 Alexander Todorov 2011-05-26 07:40:34 UTC
Yes, this is on ia64 but I don't see how it relates to bug 706127. I was registering via command line, not firstboot.

Comment 7 Adrian Likins 2011-05-26 14:44:38 UTC
What does:

subscription-manager-gui facts --list

show?

Comment 8 Chris Duryee 2011-05-26 19:24:36 UTC
It looks like this works now, for the autosubscribe portion. A lot of sku and cert reconfiguration was done in stage over the past few days, I would assume that was the cause of the fix. Can you retest?

As for the printing of the error message, we are tracking that as 706552.

Comment 10 errata-xmlrpc 2011-07-21 08:47:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 11 errata-xmlrpc 2011-07-21 12:30:46 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html


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