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.
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')
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
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')