Re: [Spacewalk-list] Status of Solaris support

2012-07-11 Thread Michael Mraka
Pierre Casenove wrote: % hello, % That was my first guess too. But according to Oracle documentation, we % need to have Sunpatch 119254-75 or higher to be able to open the zip % file. % On my system, I have patch 119254-84 installed. % And unzip command outputs this message inc ase it is

Re: [Spacewalk-list] Status of Solaris support

2012-07-10 Thread Michael Mraka
Pierre Casenove wrote: % I've tested to deploy the pushed patch cluster... and it failed: % In Spacewalk, I have this error message in the failed actions page: % Patch cluster install failed: Bad magic number for central directory % % I've rhn_check manually from my client and here is the output:

Re: [Spacewalk-list] Status of Solaris support

2012-07-10 Thread Pierre Casenove
hello, That was my first guess too. But according to Oracle documentation, we need to have Sunpatch 119254-75 or higher to be able to open the zip file. On my system, I have patch 119254-84 installed. And unzip command outputs this message inc ase it is incorrect: Example error message: ---

Re: [Spacewalk-list] Status of Solaris support

2012-07-04 Thread Pierre Casenove
I've tested to deploy the pushed patch cluster... and it failed: In Spacewalk, I have this error message in the failed actions page: Patch cluster install failed: Bad magic number for central directory I've rhn_check manually from my client and here is the output: D: do_call

Re: [Spacewalk-list] Status of Solaris support

2012-07-03 Thread Pierre Casenove
Hello, I've tested solaris2mpm on rhel 6: it works perfectly with the patch_cluster archive. So the issue on RHEL 5 is related with python 2.4 and ZIP64 extension as I supposed. Jan, I know I have the option of upgrading (not easy, but still I have it), but all I wanted to say is that if RHEL 5

Re: [Spacewalk-list] Status of Solaris support

2012-06-29 Thread Pierre Casenove
One other point of this: 1) even if unzip complains at the beginning, it does unzip the archive 2) if I update unzip command on my rhel 5 box, by compiling the latest version, python ZipFile would still fail IMHO, and so would do solaris2mpm I'll try to get a much smaller patch_cluster to see if

Re: [Spacewalk-list] Status of Solaris support

2012-06-29 Thread Pierre Casenove
http://docs.python.org/release/2.4/lib/zipfile-objects.html ZIP64 is not supported in python 2.4, it's been added in python 2.6 One question: shouldn't spacewalk request python 2.6, even on RHEL 5, as it is included as python26 package? Or is it too complicated ? It seems to me that python 24 is

Re: [Spacewalk-list] Status of Solaris support

2012-06-29 Thread Jan Pazdziora
On Fri, Jun 29, 2012 at 09:44:07AM +0200, Pierre Casenove wrote: http://docs.python.org/release/2.4/lib/zipfile-objects.html ZIP64 is not supported in python 2.4, it's been added in python 2.6 One question: shouldn't spacewalk request python 2.6, even on RHEL 5, as it is included as python26

Re: [Spacewalk-list] Status of Solaris support

2012-06-28 Thread Pierre Casenove
Hello, Did you have time to review the patch? Now that I got patch working, I wanted to try patch_cluster and ZipFile class is complaining! # solaris2mpm --tempdir=/data/solaris/tmp/ 10_Recommended.zip Opening archive, this may take a while Bad magic number for central directory Error

Re: [Spacewalk-list] Status of Solaris support

2012-06-28 Thread Pierre Casenove
I've ran unzip command on 10_recommended.zip and here is the message I get at the beggining: # unzip -d tmp/ -q 10_Recommended.zip warning [10_Recommended.zip]: 76 extra bytes at beginning or within zipfile (attempting to process anyway) error [10_Recommended.zip]: reported length of central

Re: [Spacewalk-list] Status of Solaris support

2012-06-28 Thread Michael Mraka
Pierre Casenove wrote: % Hello, % Did you have time to review the patch? % % Now that I got patch working, I wanted to try patch_cluster and % ZipFile class is complaining! % # solaris2mpm --tempdir=/data/solaris/tmp/ 10_Recommended.zip % Opening archive, this may take a while % Bad magic

Re: [Spacewalk-list] Status of Solaris support

2012-06-28 Thread Pierre Casenove
Hello, Indeed, on RHEL 5: rpm -qf /usr/bin/unzip unzip-5.52-3.el5 on RHEL 6: # rpm -qa | grep unzip unzip-6.0-1.el6.x86_64 Problem is: unzip v6 is not available on RHEL 5... Is the conclusion that solaris2mpm is not compatible with RHEL 5? Pierre 2012/6/28 Michael Mraka

Re: [Spacewalk-list] Status of Solaris support

2012-06-27 Thread Pierre Casenove
OK, I finally got it working... but please, have a deep look on my code. 1) for python 2.4, I use only method read on zipfile 2) I modify _archive_dir value : if it has a trailing slash, I remove it. otherwise, solaris2mpm command was nont able to detect it was a patch, and consider the archive as

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Pierre Casenove
Hello list, 1) I've applied the suggested patches, and nos, it works: the client is registered, and the package list is refreshed!* 2) i've played a bit with the WEBUI to track down ISE , to help improve pgsql support: When navigating to System -- Software - Patches -- Install, I get one ISE:

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Pierre Casenove
Hello, Please find attached two proposed patches for the 2 ISEs. For the NVL keyword, I think the patch is correct, for the other issue... well , I founf the solution using this thread http://web.archiveorange.com/archive/v/zd19irdQ7ak6NBhBn9sF Pierre 2012/6/26 Pierre Casenove

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Michael Mraka
Pierre Casenove wrote: % Hello, % Please find attached two proposed patches for the 2 ISEs. % For the NVL keyword, I think the patch is correct, for the other % issue... well , I founf the solution using this thread % http://web.archiveorange.com/archive/v/zd19irdQ7ak6NBhBn9sF Hi Pierre, thanks

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Pierre Casenove
I've modified solaris2mpm to print complete exception encountered: # solaris2mpm 119254-84.zip Opening archive, this may take a while Archive did not expand to /tmp/tmp-ExVZS/119254-84/: ZipFile instance has no attribute 'extractall' Error creating mpm for /root/workdir/solaris/tmp/119254-84.zip:

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Pierre Casenove
OK, I think the issue is due to commit 52d29ee4980270fb62f9ffab40e94dc10f4b5e96. extractall is new in python 2.6. On RHEL5 boxes, I only have python 2.4. Package python26 is available, but I'm not sure what side effects it would cause on the rest of my server. Pierre 2012/6/26 Pierre Casenove

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Michael Mraka
Pierre Casenove wrote: % OK, I think the issue is due to commit 52d29ee4980270fb62f9ffab40e94dc10f4b5e96. % extractall is new in python 2.6. % On RHEL5 boxes, I only have python 2.4. Package python26 is available, % but I'm not sure what side effects it would cause on the rest of my % server.

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Pierre Casenove
Still no luck: http://docs.python.org/library/zipfile.html extract function has also been added in python 2.6. Pierre 2012/6/26 Michael Mraka michael.mr...@redhat.com: Michael Mraka wrote: % Pierre Casenove wrote: % % OK, I think the issue is due to commit

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Pierre Casenove
By the way, : http://stackoverflow.com/questions/7806563/how-to-unzip-a-zip-file-with-python-2-4 Not sure which solution is best 2012/6/26 Pierre Casenove pcasen...@gmail.com: Still no luck: http://docs.python.org/library/zipfile.html extract function has also been added in python 2.6.

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Michael Mraka
Pierre Casenove wrote: ... % questions about commit e4a6c5bfbc08049536ab6db138abbd7b11c905be: % Couldn't we remove AS NVRE in the request? No, because java expects this column to be named 'NVRE'. % Why was postgresql failing when using NVRE? Postgresql can't use column alias in order by while

Re: [Spacewalk-list] Status of Solaris support

2012-06-26 Thread Michael Mraka
Pierre Casenove wrote: % One last point on Solaris support: the hardware information page. I % attach a screenshot of the page with Chrome web browser. % 1) Under, General, we have (2) sparcv9 (1503 MHZ) right in the middle... % 2) Is it normal to get so few information? Unfortunately yes. --

[Spacewalk-list] Status of Solaris support

2012-06-22 Thread Pierre Casenove
Hello list, I wanted to test Solaris 10 Sparc client management from my spacewalk 1.7 server... and it is not very successful! 1) I've downloaded the packages and installed them without any problem. One note on the README file: libgcc is in /usr/sfw/lib, which has to be added to the ld library

Re: [Spacewalk-list] Status of Solaris support

2012-06-22 Thread Pierre Casenove
Setting the channel architecture to SPARC Solaris instead of SPARC and it could rhnpush the mpm generated from solaris. but the other issues are still alive! 2012/6/22 Pierre Casenove pcasen...@gmail.com: Hello list, I wanted to test Solaris 10 Sparc client management from my spacewalk 1.7