Bug 833537 - subscription-manager release does not work with proxies
Summary: subscription-manager release does not work with proxies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-rhsm
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Chris Duryee
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On: 822965
Blocks: 771748 826592
TreeView+ depends on / blocked
 
Reported: 2012-06-19 17:21 UTC by Alex Wood
Modified: 2013-01-08 07:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: A malformed request to the content delivery network. Consequence: Clients could not get a list of releases. Fix: Format the request to the CDN properly. Result: Clients can now get a list of releases.
Clone Of: 822965
Environment:
Last Closed: 2013-01-08 07:17:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0039 0 normal SHIPPED_LIVE python-rhsm bug fix update 2013-01-07 15:28:26 UTC

Comment 2 RHEL Program Management 2012-06-19 17:28:40 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 4 Sharath Dwaral 2012-06-20 19:10:21 UTC
Version 

RHEL 5.9

# rpm -qa | grep subscription-manager
subscription-manager-migration-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gui-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-firstboot-1.0.4-1.git.0.0fe81f8.el5
# rpm -qa | grep python-rhsm
python-rhsm-1.0.2-1.git.1.4659671.el5

Actual Result:

# grep . /etc/rhsm/rhsm.conf | grep -v ^#
[server]
hostname = subscription.rhn.stage.redhat.com
prefix = /subscription
port = 443
insecure = 0
ssl_verify_depth = 3
ca_cert_dir = /etc/rhsm/ca/
proxy_hostname = auto-services.usersys.redhat.com
proxy_port = 3129
proxy_user =
proxy_password =
[rhsm]
baseurl= https://cdn.redhat.com
repo_ca_cert = %(ca_cert_dir)sredhat-uep.pem
productCertDir = /etc/pki/product
entitlementCertDir = /etc/pki/entitlement
consumerCertDir = /etc/pki/consumer
manage_repos = 1
[rhsmcertd]
certFrequency = 240
healFrequency = 1440

# subscription-manager register --user=stage_test_12 --password=redhat
The system has been registered with id: cca7deff-4f4c-47e2-8e9a-63fbe6798add 

# subscription-manager subscribe --auto
Installed Product Current Status:
Product Name:         	Awesome OS for ia64 Bits
Status:               	Not Subscribed

Product Name:         	Stackable with Awesome OS for x86_64 Bits
Status:               	Not Subscribed

Product Name:         	Awesome OS Developer Basic
Status:               	Not Subscribed

Product Name:         	Awesome OS for x86_64/i686/ia64/ppc/ppc64/s390x/s390 Bits
Status:               	Not Subscribed

Product Name:         	Awesome OS Workstation Bits
Status:               	Not Subscribed

# subscription-manager release --list
5.6
5.7
5.8
5Server


Expexted Result:
# subscription-manager release --list gives me a list of releases.

> Moving bug to verified state

Comment 6 errata-xmlrpc 2013-01-08 07:17:13 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-0039.html


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