Red Hat Bugzilla – Bug 456891
pushing package headers and re-pushing whole package causes internal server error
Last modified: 2014-05-09 06:20:44 EDT
Description of problem:
When I push a package headers to satellite and then I want to re-push whole
file, I get 500: Internal Server Error.
Steps to Reproduce:
1. rhnpush --server=xen34.englab.brq.redhat.com --username=admin
--password=admin --orgid=1 --channel=rhel-x86_64-as-4 --header
2. rhnpush --server=xen34.englab.brq.redhat.com --username=admin
--password=admin --orgid=1 --channel=rhel-x86_64-as-4 anacron-2.3-32.i386.rpm
ERROR: unhandled exception occurred: (<ProtocolError for
xen34.englab.brq.redhat.com /APP: 500 Internal Server Error>).
Whole file is uploaded or relevant error message is printed.
Traceback (most recent call last):
File "/usr/share/rhn/server/apacheRequest.py", line 108, in call_function
response = apply(func, params)
File "/usr/share/rhn/server/handlers/app/packages.py", line 415, in
return self._getPackageMD5sum(org_id, pkg_infos, info)
File "/usr/share/rhn/server/handlers/app/packages.py", line 463, in
filePath = os.path.join(CFG.MOUNT_POINT, row['path'])
File "/usr/lib64/python2.3/posixpath.py", line 60, in join
AttributeError: 'NoneType' object has no attribute 'startswith'
row['path'] should contain file path, but uploaded file doesn't exist on
satellite (there's only header in database), so variable contains None value.
Switching component, I'm thinking "Server" is the most appropriate here.
Any update on this?
The issue is still there.
We have not addressed this specific bug for over 4 years. This bug was reported as either Satellite 5.0 or 5.1, both of which have now End of Life and not supported. I am closing out as wontfix to clear from backlog.
Please re-open if you disagree and wish further review.