Bug 838044 - solaris2mpm fails on a patch cluster on RHEL 5
Summary: solaris2mpm fails on a patch cluster on RHEL 5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space18
TreeView+ depends on / blocked
 
Reported: 2012-07-06 08:14 UTC by pierre.casenove
Modified: 2012-11-01 16:17 UTC (History)
0 users

Fixed In Version: rhnpush-5.5.48-1
Clone Of:
Environment:
Last Closed: 2012-11-01 16:17:52 UTC
Embargoed:


Attachments (Terms of Use)

Description pierre.casenove 2012-07-06 08:14:45 UTC
Description of problem:
solaris2mpm is unable to generate the mpm files associated with a recent patch cluster for SOlaris 10, which requires ZIP64 extension.
It fails with error:
# solaris2mpm  10_Recommended.zip
Opening archive, this may take a while
Bad magic number for central directory
Error creating mpm for /data/solaris/10_Recommended.zip:
<zipfile.BadZipfile instance at 0x2ad1050c5e18>

On RHEL 6, the command is working correctly


Version-Release number of selected component (if applicable): 1.7


How reproducible:
Run solaris2mpm 10_recommended.zip, on a patch cluster recently downloaded (file above 2GB in size)


Steps to Reproduce:
1. Download latest soalris patch cluster
2. On RHEL 5, run solaris2mpm command
  
Actual results:
# solaris2mpm  10_Recommended.zip
Opening archive, this may take a while
Bad magic number for central directory
Error creating mpm for /data/solaris/10_Recommended.zip:
<zipfile.BadZipfile instance at 0x2ad1050c5e18>

Expected results:
MPM files should be generated

Additional info:
The issue is due to spacewalk using python 2.4 on RHEL 5 and not python 2.6, which is also available on this release.

Comment 1 Michael Mráka 2012-07-13 09:50:50 UTC
We decided to drop solaris2mpm on RHEL5 because it's rearly used and not worth of effort to fix it properly. There's still possibility to convert solaris patches on RHEL6.

commit 29bce43816a01e8ab22b24452f6a81ac864d4787
    838044 - solaris2mpm on RHEL5 is not supported
commit 8aa015a5f281b92772476a9233ec281299bc8af5
    838044 - solaris2mpm needs zipfile with ZIP64 extension

Comment 2 pierre.casenove 2012-07-13 15:04:37 UTC
Hi,
I understand. Why not requiring python26, instead of python, on rhel 5?

Comment 3 Jan Pazdziora (Red Hat) 2012-10-30 19:22:51 UTC
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/

Comment 4 Jan Pazdziora (Red Hat) 2012-11-01 16:17:52 UTC
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18


Note You need to log in before you can comment on or make changes to this bug.