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 676017

Summary: Configre the tool to go against production.
Product: Red Hat Enterprise Linux 6 Reporter: Bryan Kearney <bkearney>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: jmolet
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: 2011-05-19 13:39:32 UTC Type: ---
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: 568421, 639436    

Description Bryan Kearney 2011-02-08 15:55:58 UTC
Need the configuration to be updated

Comment 1 Bryan Kearney 2011-02-08 15:58:15 UTC
75eb3dfcb8a844931afed8f7ab1fa7aab58bf718

Should be available in 0.93.17

Comment 2 John Sefler 2011-02-08 16:08:18 UTC
Need to verify that /etc/rhsm/rhsm.conf contains:
hostname = subscription.rhn.redhat.com
repo_ca_cert=%(ca_cert_dir)redhat-uep.pem
baseurl=https://cdn.redhat.com
insecure=0

Comment 4 John Sefler 2011-02-08 16:56:04 UTC
Upon further review, we need the letter "s" in repo_ca_cert
repo_ca_cert=%(ca_cert_dir)sredhat-uep.pem


Reference: http://docs.python.org/library/configparser.html

Comment 6 John Sefler 2011-03-04 19:32:25 UTC
[root@jsefler-onprem04 tmp]# rpm -Uvh http://download.devel.redhat.com/brewroot/packages/subscription-manager/0.95.3/1.el6/x86_64/subscription-manager-0.95.3-1.el6.x86_64.rpm
Retrieving http://download.devel.redhat.com/brewroot/packages/subscription-manager/0.95.3/1.el6/x86_64/subscription-manager-0.95.3-1.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:subscription-manager   ########################################### [100%]
[root@jsefler-onprem04 tmp]# rpm -q subscription-manager
subscription-manager-0.95.3-1.el6.x86_64
[root@jsefler-onprem04 tmp]# grep hostname /etc/rhsm/rhsm.conf
# Server hostname:
hostname = subscriptions.rhn.webqa.redhat.com
proxy_hostname =
[root@jsefler-onprem04 tmp]# grep repo_ca_cert /etc/rhsm/rhsm.conf
repo_ca_cert = %(ca_cert_dir)sfakamai-cp1.pem
[root@jsefler-onprem04 tmp]# grep baseurl /etc/rhsm/rhsm.conf
baseurl= https://mockamai.devlab.phx1.redhat.com


^^^^ FAILS QA  This package is not built with configurations for production.

Moving back to ASSIGNED

Comment 7 Bryan Kearney 2011-03-07 13:18:40 UTC
fixed in bddca551a8291c8405dc675c7a295dc81e016106. You should see this in build
95.4

Comment 8 J.C. Molet 2011-03-08 17:29:22 UTC
New version is consistent with expected results in comments 2 & 4; moving to VERIFIED:

[root@jmolet-vm3 etc]# rpm -Uvh http://download.devel.redhat.com/brewroot/packages/subscription-manager/0.95.4/1.el6/x86_64/subscription-manager-0.95.4-1.el6.x86_64.rpm
Retrieving http://download.devel.redhat.com/brewroot/packages/subscription-manager/0.95.4/1.el6/x86_64/subscription-manager-0.95.4-1.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:subscription-manager   ########################################### [100%]
[root@jmolet-vm3 etc]#  rpm -q subscription-manager
subscription-manager-0.95.4-1.el6.x86_64
[root@jmolet-vm3 etc]# grep hostname /etc/rhsm/rhsm.conf
# Server hostname:
hostname = subscription.rhn.redhat.com
proxy_hostname =
[root@jmolet-vm3 etc]# grep repo_ca_cert /etc/rhsm/rhsm.conf
repo_ca_cert = %(ca_cert_dir)sredhat-uep.pem
[root@jmolet-vm3 etc]# grep baseurl /etc/rhsm/rhsm.conf
baseurl= https://cdn.redhat.com
[root@jmolet-vm3 etc]# grep insecure /etc/rhsm/rhsm.conf
insecure = 0

Comment 9 errata-xmlrpc 2011-05-19 13:39:32 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-0611.html