Bug 1400719
Summary: | AttributeError: 'ContentConnection' object has no attribute 'proxy_host' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | William Poteat <wpoteat> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.9 | CC: | brian.murrell, csnyder, redakkan, skallesh, vrjain, wpoteat |
Target Milestone: | rc | Keywords: | EasyFix, Regression, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-21 10:57:40 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: | 1306058, 1401884 |
Description
John Sefler
2016-12-01 22:59:47 UTC
Moving this to POST as the fix has been merged upstream. Reproducing the failure: ========================= # subscription-manager config --server.proxy_hostname=auto-services.usersys.redhat.com --server.proxy_port=3129 # subscription-manager register --auto-attach --serverurl=subscription.rhsm.stage.redhat.com Registering to: subscription.rhsm.stage.redhat.com:443/subscription Username: <username> Password: The system has been registered with ID: 38c23c0f-46e2-47ec-be47-fb363135aaff Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed # subscription-manager release --list 'ContentConnection' object has no attribute 'proxy_host' # subscription-manager release --list --proxy=auto-services.usersys.redhat.com:3128 --proxyuser=redhat --proxypassword=redhat 'ContentConnection' object has no attribute 'proxy_host' Verifying with : #subscription management server: 0.9.51.20-1 subscription management rules: 5.15.1 subscription-manager: 1.18.6-1.el6 python-rhsm: 1.18.6-1.el6 # subscription-manager config --server.proxy_hostname=auto-services.usersys.redhat.com --server.proxy_port=3129 # subscription-manager register --auto-attach --serverurl=subscription.rhsm.stage.redhat.com Registering to: subscription.rhsm.stage.redhat.com:443/subscription Username: username Password: The system has been registered with ID: ebf6c00a-c93d-41f3-a97c-7711ce9066f3 Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed # subscription-manager release --list +-------------------------------------------+ Available Releases +-------------------------------------------+ 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6Server # subscription-manager release --list --proxy=auto-services.usersys.redhat.com:3128 --proxyuser=redhat --proxypassword=redhat +-------------------------------------------+ Available Releases +-------------------------------------------+ 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6Server # subscription-manager config --server.proxy_hostname="" --server.proxy_port="" --server.proxy_user="" --server.proxy_password="" # subscription-manager release --list +-------------------------------------------+ Available Releases +-------------------------------------------+ 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6Server Observed that now release list works with auth and no-auth proxy. Also demonstrated that with no-proxy release list works as earlier. Marking as Verified!! *** Bug 1409004 has been marked as a duplicate of this bug. *** 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. https://rhn.redhat.com/errata/RHSA-2017-0698.html |