Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: 1/1 Prerequisites: Rhel5.8 server with following subscription-manager rpm subscription-manager-migration-data-1.11-1.el5 subscription-manager-debuginfo-0.98.13-1.el5 subscription-manager-firstboot-0.98.13-1.el5 subscription-manager-0.98.13-1.el5 subscription-manager-migration-0.98.13-1.el5 subscription-manager-gnome-0.98.13-1.el5 Steps to verify : Login to console and stop network service (ifdown eth0) execute rhn-migrate-classic-to-rhsm with valid user and password. Expected Result : Proper Message should display for network error . Traceback should not display on console . Actual Result : [root@dhcp201-155 ~]# rhn-migrate-classic-to-rhsm RHN Username: qa Password: Traceback (most recent call last): File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 398, in ? main() File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 372, in main checkOkToProceed(username, password) File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 131, in checkOkToProceed cp.getOwnerList(username) File "/usr/lib/python2.4/site-packages/rhsm/connection.py", line 516, in getOwnerList return self.conn.request_get(method) File "/usr/lib/python2.4/site-packages/rhsm/connection.py", line 267, in request_get return self._request("GET", method) File "/usr/lib/python2.4/site-packages/rhsm/connection.py", line 227, in _request conn.request(request_type, handler, body=body, headers=headers) File "/usr/lib64/python2.4/httplib.py", line 810, in request self._send_request(method, url, body, headers) File "/usr/lib64/python2.4/httplib.py", line 833, in _send_request self.endheaders() File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders self._send_output() File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output self.send(msg) File "/usr/lib64/python2.4/httplib.py", line 652, in send self.connect() File "/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py", line 47, in connect self.sock.connect((self.host, self.port)) File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 170, in connect self.socket.connect(addr) File "<string>", line 1, in connect socket.error: (101, 'Network is unreachable')
Committed 1ffc81e1b19a009fc916c537687e27826e0cc585 subscription-manager-0.99.10+
Verified using following rpm for rhel6.3 subscription-manager-migration-data-1.12.1.1-1.git.6.ea6813e.el6.noarch subscription-manager-migration-0.99.10-1.git.85.057ca98.el6.x86_64 No traceback reported working fine. Resolving defect as verified
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-2012-0804.html