Description of problem: After customer updates RHN Proxy server to version 5.4 the following occurs: [root@cyclops RPMS]# rhn_package_manager -c i386-client-5.5 i686/kmod-openafs-*2.6.18-194.26.1* Red Hat Network username: Red Hat Network password: Error Message: The package's md5 digest has not been specified Error Class Code: 50 Error Class Info: Invalid information uploaded to the server Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem. However the openafs kmod packages were produced on a fully updated rhel5.5 system and the md5 digest exists in the rpm. Version-Release number of selected component (if applicable): 5.4 How reproducible: Always Steps to Reproduce: 1. Install RHN Proxy 5.4 server, register against Hosted. 2. Try to upload custom pkg to custom channel (see example above). 3. Actual results: Failure. "The package's md5 digest has not been specified" error (see above) Expected results: Success with no errors. Additional info: This is not seen with RHN Proxy server against 5.4 Satellite.
Additionally, if -v flag is used the actions fail even earlier. Bug 656753 has been filed separately.
We do not send md5sum header. We now send checksum and checksum type, which hosted could not handle. I override rhn_package_manager to send md5 checksum as well. spacewalk commits 15913f7d50dbb31bbd7324826e07a298dee0cbb1 0bd1e3c9f36692613fc84a91ac2fdfa7ba996a77
cherrypicked to satellite.git as commits: 0182a2f6bc4ebe9e479ec3da2cbf481e64569217 c788d2e18c6bc86c575513bd4f56db67ce6b63a9
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, package uploads from the rhn_package_manager tool failed on RHN Proxy Server 5.4 with the parent http://rhn.redhat.com/. With this update, the uploading process succeeds.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2010-0990.html