Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 812212

Summary: Firstboot: Register with auto-subscribe against older candlepin throws Network error
Product: Red Hat Enterprise Linux 6 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: Adrian Likins <alikins>
Status: CLOSED NOTABUG QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.3CC: alikins, mstead
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-24 16:43: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: 738066    
Attachments:
Description Flags
network error none

Description Shwetha Kallesh 2012-04-13 06:16:19 UTC
Created attachment 577231 [details]
network error

Description of problem:
Firstboot: Register with auto-subscribe against older candlepin throws Network error and on skipping auto-subscribe it registers successfully

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.launch firstboot
2. In entitlement registration screen uncheck "skip automatic subscription selection " check box 
3.Progress through the registration screens until the system is successfully
registered
  
Actual results:
network error is thrown

Expected results:
Should say server doesnot support "Service-level",so cannot auto-subscribe

Additional info:

Comment 2 Adrian Likins 2012-04-17 14:18:03 UTC
can we get /var/log/rhsm/rhsm.log for this case?

Comment 3 Adrian Likins 2012-04-17 15:06:59 UTC
How old of a version of candlepin in this scenario?

Comment 4 Adrian Likins 2012-04-17 17:13:41 UTC
Also, what versions of subscription-manager?

Comment 5 Shwetha Kallesh 2012-04-18 10:19:14 UTC
Version of subscription-manager :

[root@dhcp201-196 ~]# rpm -qa | grep subscription-manager
subscription-manager-1.0.0-1.git.17.284aa0b.el6.x86_64
subscription-manager-migration-data-1.12.1.3-1.git.0.1b05607.el6.noarch
subscription-manager-migration-1.0.0-1.git.17.284aa0b.el6.x86_64
subscription-manager-debuginfo-0.99.13-1.el6.x86_64
subscription-manager-gnome-1.0.0-1.git.17.284aa0b.el6.x86_64
subscription-manager-firstboot-1.0.0-1.git.17.284aa0b.el6.x86_64

Candlepin Instance:
subscription.rhn.stage.redhat.com (version: unknown (on 04/12/2012))

Comment 6 Adrian Likins 2012-04-19 15:24:03 UTC
subscription-manager-1.0.0 is not the right version for rhel6.3. 
(1.0 is "master" from git, RHEL6.3 branch is 0.99)

What product is this from? (aka, what's in /etc/pki/product/). 

The stack trace I got from jsefler in email seems to indicate this is 
a variant of https://bugzilla.redhat.com/show_bug.cgi?id=812929

But I'd like to be able to reproduce this to verify.

Comment 7 Shwetha Kallesh 2012-04-23 13:06:31 UTC
Adrian,

       Product was /etc/pki/27060.pem

       I'm unable to re-produce the bug,may be because I used wrong version of subscription-manager,not sure.

The version of subscription-manager :

[root@dell-per300-01 ~]# rpm -qa | grep subscription-manager
subscription-manager-migration-0.99.14-1.git.11.8b35be4.el6_2.x86_64
subscription-manager-gnome-0.99.14-1.git.11.8b35be4.el6_2.x86_64
subscription-manager-migration-data-1.12.1.3-1.git.2.256386a.el6_2.noarch
subscription-manager-0.99.14-1.git.11.8b35be4.el6_2.x86_64
subscription-manager-firstboot-0.99.14-1.git.11.8b35be4.el6_2.x86_64