Bug 571365
| Summary: | Issues with uploading MPM packages | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Michael Mráka <mmraka> |
| Component: | Server | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.8 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-05-05 14:57:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 559281 | ||
MPM import was broken by SHA256 work.
Fixed in git
commit 9e66f3dd8fbf24eab51d64d968f06bc4f3a5c90e
Automatic commit of package [spacewalk-backend] release [0.9.8-1].
commit d49fc9fe3668112dd27c0cf2810e838974dac219
571365 - solaris packages don't contain an internal checksum
commit f2555d3467704c94a43ca0c69d507ffb7b2f2227
571365 - defined checksum type we use for mpm packages
commit 0f52d37bcd9ec33b06e61aad3cffbe2a82fe7e0c
571365 - compute checksum from payload not from package
Fixed packages spacewalk-backend*-0.9.8-1 went to nightly repo. This bug has been fixed in Spacewalk 1.0. Closing. |
Description of problem: Subject: [Spacewalk-list] Issues with uploading MPM packages from client to spacewalk server Date: Fri, 26 Feb 2010 13:13:04 -0600 From: Event Scrapper <craig.hancock> Reply-To: spacewalk-list To: spacewalk-list I am running spacewalk 0.8 and trying to upload mpm packages to a Solaris SPARC based channel and I am gettting errors on every package I am trying to upload. Client: rhnpush from rhn-solaris-bootstrap-5.1.1-3-sparc-sol10 Server: Spacewalk 0.8 Errors from httpd.error.log Remote Host: 163.192.62.70 Server Name: ttlpspcwk1.tribco.trb:0 Headers passed in: Accept-Encoding: identity Content-Length: 424528 Content-Type: application/x-rpm Host: ttlpspcwk1.tribco.trb User-Agent: rhnpush X-RHN-Upload-Auth-Session: 76x2e26aecf2d9112959b04f05d3864ff24 X-RHN-Upload-File-Checksum: 53037daaf6a7f12a9fd3c3d1783fa7f9 X-RHN-Upload-File-Checksum-Type: md5 X-RHN-Upload-File-MD5sum: 53037daaf6a7f12a9fd3c3d1783fa7f9 X-RHN-Upload-Force: 0 X-RHN-Upload-Package-Arch: sparc-solaris X-RHN-Upload-Package-Name: SUNWgnome-intranet-applets X-RHN-Upload-Package-Release: 10.0.3.2004.12.15.19.13_PSTAMP_2004.12.15.19.13 X-RHN-Upload-Package-Version: 2.6.0 X-RHN-Upload-Packaging: mpm 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 118, in handler checksum_type = header.checksum_type() File "/usr/lib/python2.4/site-packages/spacewalk/common/rhn_mpm.py", line 106, in __getattr__ return getattr(self.hdr, name) AttributeError: 'dict' object has no attribute 'checksum_type' RHN 10296 2010/02/26 12:48:17 -05:00: ('Unhandled exception',) Errors from rhn_upload log 2010/02/26 12:48:15 -05:00 23261 163.192.62.70 <http://163.192.62.70>: server/apacheUploadServer.handler('GET method received, returning',) 2010/02/26 12:48:17 -05:00 10296 163.192.62.70 <http://163.192.62.70>: rhnSQL/driver_cx_Oracle.connect('Connecting to database', 'XE') 2010/02/26 12:48:17 -05:00 10296 163.192.62.70 <http://163.192.62.70>: package_push/package_push.headerParserHandler('Username', None, 'Force', 0) 2010/02/26 12:48:17 -05:00 10296 163.192.62.70 <http://163.192.62.70>: server/apacheUploadServer._wrapper('ERROR', 'Unhandled exception') Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: