On 20.4.2012 21:33, Andrew Prowant wrote:
Here it is. Thanks for looking at this.
Traceback (most recent call last):
File "/usr/bin/rhnpush", line 22, in ?
sys.exit(mod.main() or 0)
File "/usr/share/rhn/rhnpush/rhnpush.py", line 153, in main
ret = upload.packages()
File "/usr/share/rhn/rhnpush/rhnpush.py", line 338, in packages
(server_digest_hash, pkgs_info, digest_hash) =
self.check_package_exists()
File "/usr/share/rhn/rhnpush/rhnpush.py", line 488, in
check_package_exists
header, payload_stream = rhn_mpm.load(file=f)
TypeError: load() got an unexpected keyword argument 'file'
You got to part of code which is:
# it's an older satellite(< 4.1.0).
end of quote. But this runtime error is false track (and this was
completly removed in Spacewalk 1.7).
Your problem is that your Spacewalk server does not send back header:
X-RHN-Check-Package-Exists.
Is it possible that rhnpush is accessing Spacewalk server through some
HTTP Proxy, which remove this header?
Mirek
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list