Description of problem: I cannot push any package into custom channel Version-Release number of selected component (if applicable): spacewalk-backend-1.1.19-1.el5, today's nightbuild How reproducible: always Steps to Reproduce: 1. rhnpush --username=admin --password=*** --server=http://<fqdn_spacewalk>/APP --nosig --channel=channel_name Actual results: Issue is in spacewalk-backend-1.1.19-1.el5 : # rhnpush --username=admin --password=admin --server=http://<fqdn_spacewalk>/APP --nosig --channel=channel_name psklenar-1-1.noarch.rpm Internal server error 500 Internal Server Error Error pushing psklenar-1-1.noarch.rpm: Error 500 (500) Waiting 4 seconds and trying again... Internal server error 500 Internal Server Error Error pushing psklenar-1-1.noarch.rpm: Error 500 (500) Waiting 4 seconds and trying again... Internal server error 500 Internal Server Error Error pushing psklenar-1-1.noarch.rpm: Error 500 (500) Waiting 2 seconds and trying again... Giving up after 3 attempts [root@ibm-hs22-01 first-sanity-test]# getenforce Permissive [root@ibm-hs22-01 first-sanity-test]# rpm -q spacewalk-backend spacewalk-backend-1.1.19-1.el5 # tail /var/log/httpd/error_log RHN 24867 2010/06/04 07:49:52 -04:00: ('Unhandled exception',) Exception reported from ibm-hs22-01.lab.bos.redhat.com Time: Fri Jun 4 07:49:54 2010 Exception type exceptions.KeyError Exception while handling function upload_server._wrapper Request object information: URI: /PACKAGE-PUSH Remote Host: 10.16.44.93 Server Name: ibm-hs22-01.lab.bos.redhat.com:0 Headers passed in: Accept-Encoding: identity Content-Length: 1711 Content-Type: application/x-rpm Host: ibm-hs22-01.lab.bos.redhat.com User-Agent: rhnpush X-RHN-Upload-Auth-Session: 12x6094a2fc4a70c13ee7ed052d9f8aabd7 X-RHN-Upload-File-Checksum: be6a38721968044c8041a493e808668b X-RHN-Upload-File-Checksum-Type: md5 X-RHN-Upload-File-MD5sum: be6a38721968044c8041a493e808668b X-RHN-Upload-Force: 0 X-RHN-Upload-Package-Arch: noarch X-RHN-Upload-Package-Name: psklenar X-RHN-Upload-Package-Release: 1 X-RHN-Upload-Package-Version: 1 X-RHN-Upload-Packaging: rpm Exception Handler Information Traceback (most recent call last): File "/usr/share/rhn/server/apacheUploadServer.py", line 107, in _wrapper ret = function(req) File "/usr/share/rhn/upload_server/handlers/package_push/package_push.py", line 136, in handler relative_path=self.rel_package_path, org_id=self.org_id) File "/usr/share/rhn/server/rhnPackageUpload.py", line 176, in push_package importer.run() File "/usr/share/rhn/server/importlib/importLib.py", line 646, in run self.preprocess() File "/usr/share/rhn/server/importlib/packageImport.py", line 51, in preprocess self._processPackage(package) File "/usr/share/rhn/server/importlib/packageImport.py", line 225, in _processPackage ChannelPackageSubscription._processPackage(self, package) File "/usr/share/rhn/server/importlib/packageImport.py", line 168, in _processPackage GenericPackageImport._processPackage(self, package) File "/usr/share/rhn/server/importlib/importLib.py", line 699, in _processPackage for type, chksum in package['checksums'].iteritems(): File "/usr/lib64/python2.4/UserDict.py", line 17, in __getitem__ def __getitem__(self, key): return self.data[key] KeyError: 'checksums' RHN 24863 2010/06/04 07:49:54 -04:00: ('Unhandled exception',) Expected results: works , can push packages Additional info: Its testblocker and rhnpush is core function, adding priority=urgent
Should be fixed now: b59a49c806f68d4d6b2b239fc983218645d8b6ac Problem was a fix for satellite-sync package importing that occurred last month, broke rhnpush.
One small fix for channel associations: 2dbd5c022449f548a162639652821e119a5553ce
Spacewalk 1.1 has been released.