Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 838044

Summary: solaris2mpm fails on a patch cluster on RHEL 5
Product: [Community] Spacewalk Reporter: pierre.casenove
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.7   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhnpush-5.5.48-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-01 16:17:52 UTC Type: Bug
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: 871344    

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