Description of problem: rhnpush appears to not be working in Fedora 10. How reproducible: Seems 100%, replicated on both i386 physical host and KVM guest. Steps to Reproduce: 1. Install Spacewalk on Fedora 10. 2. On same system run: rhnpush --channel=centos --server=http://localhost/APP --dir=./temp/ -vvvvv Actual results: (root@elaine ~) $ rhnpush --channel=centos --server=http://localhost/APP --dir=./temp/ -vvvvv Uploading files from directory ./temp/ Connecting to http://localhost/APP url is http://localhost/PACKAGE-PUSH Result codes: 200 OK Computing md5sum and package Info .This may take sometime ... Package /root/temp/zsh-html-4.2.6-1.i386.rpm Not Found on RHN Server -- Uploading Uploading package /root/temp/zsh-html-4.2.6-1.i386.rpm Using POST request Waiting 5 seconds and trying again... Uploading package /root/temp/zsh-html-4.2.6-1.i386.rpm Using POST request Waiting 4 seconds and trying again... Uploading package /root/temp/zsh-html-4.2.6-1.i386.rpm Using POST request Waiting 5 seconds and trying again... Giving up after 3 attempts Additional info: From the server logs: ==> rhn_upload_package_push.log <== 2009/02/26 23:00:16 -03:00 5074 127.0.0.1: rhnSQL/driver_cx_Oracle.connect('Connecting to database', 'xe') 2009/02/26 23:00:16 -03:00 5074 127.0.0.1: package_push/package_push.headerParserHandler('Username', None, 'Force', 0) 2009/02/26 23:00:17 -03:00 5080 127.0.0.1: rhnSQL/driver_cx_Oracle.connect('Connecting to database', 'xe') 2009/02/26 23:00:17 -03:00 5080 127.0.0.1: package_push/package_push.headerParserHandler('Username', None, 'Force', 0)
Additional info after some manual hacking on rhnpush.py: [root@fedorasw ~]# rhnpush --channel=centos-5.2-i386 --server=http://localhost/APP --dir=temp/ -vvvv Uploading files from directory temp/ Connecting to http://localhost/APP url is http://localhost/PACKAGE-PUSH Result codes: 200 OK Computing md5sum and package Info .This may take sometime ... Package /root/temp/openssl-0.9.8b-10.el5.i386.rpm Not Found on RHN Server -- Uploading Uploading package /root/temp/openssl-0.9.8b-10.el5.i386.rpm Using POST request OHNO!!!!!!!!!!! <class 'httplib.BadStatusLine'> Traceback (most recent call last): File "/usr/share/rhn/rhnpush/rhnpush.py", line 397, in packages ret = self.package(pkg, digest) File "/usr/share/rhn/rhnpush/rhnpush.py", line 580, in package ret = self._push_package_v2(package, FileMD5sum) File "/usr/share/rhn/rhnpush/rhnpush.py", line 621, in _push_package_v2 status, msgstr = pu.upload(package, FileMD5sum) File "/usr/share/rhn/rhnpush/connection.py", line 229, in upload self._response = self.send_http('POST', stream_body=f) File "/usr/share/rhn/rhnpush/connection.py", line 169, in send_http self._response = self.connection.getresponse() File "/usr/lib/python2.5/site-packages/rhn/connections.py", line 124, in getresponse response.begin() File "/usr/lib/python2.5/httplib.py", line 385, in begin version, status, reason = self._read_status() File "/usr/lib/python2.5/httplib.py", line 349, in _read_status raise BadStatusLine(line) BadStatusLine
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.