Bug 1306004

Summary: The cmd "repos --list --proxy" with a fake proxy server url will not stop running.
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: vritant <vrjain>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: high    
Version: 7.3CC: bcourt, candlepin-bugs, csnyder, skallesh, stoner, vrjain
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1301215 Environment:
Last Closed: 2016-11-03 20:27:50 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: 1301215    
Bug Blocks:    

Comment 3 Shwetha Kallesh 2016-05-20 10:55:29 UTC
Marking verified!!

it takes less than a min to get response 

[root@dhcp35-45 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.17.6-1.el7
python-rhsm: 1.17.2-1.el7


[root@dhcp35-45 ~]# time subscription-manager repos --list-enabled --proxy=www.baidu.com
Proxy connnection failed, please check your settings.

real	0m10.798s
user	0m0.182s
sys	0m0.032s

[root@dhcp35-45 ~]# tail -f /var/log/rhsm/rhsm.log 
2016-05-20 15:41:24,638 [INFO] subscription-manager:13525 @managercli.py:384 - Client Versions: {'python-rhsm': '1.17.2-1.el7', 'subscription-manager': '1.17.6-1.el7'}
2016-05-20 15:41:24,638 [INFO] subscription-manager:13525 @connection.py:815 - Connection built: http_proxy=www.baidu.com:3128 host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2016-05-20 15:41:24,638 [INFO] subscription-manager:13525 @connection.py:815 - Connection built: http_proxy=www.baidu.com:3128 host=subscription.rhn.stage.redhat.com port=443 handler=/subscription auth=none

Comment 5 errata-xmlrpc 2016-11-03 20:27:50 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.

https://rhn.redhat.com/errata/RHSA-2016-2592.html