[Spacewalk-list] Spacewalk migration
Hello. IS possible to "migrate" spacewalk systems? I mean - i have functional Spacewalk 0.4 on CentOS 5.1 and i wanna upgrade it to 0.6 but i would like to use Fedora 11. Is it possible somehow? O This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk migration
On Tue, Nov 03, 2009 at 10:07:35AM +0100, ondrej hadamek wrote: > Hello. IS possible to "migrate" spacewalk systems? I mean - i have > functional Spacewalk 0.4 on CentOS 5.1 and i wanna upgrade it to 0.6 but > i would like to use Fedora 11. Is it possible somehow? It is possible but why would you want to migrate to Fedora 11 with will be EOL'ed in about eight months if you are currently on a system with much longer lifespan? -- Jan Pazdziora Senior Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk migration
Well. Spacewalk performs little bit better in my fedora testing enviroment. But its true. Can be caused by newer version of spacewalk. Thanks for this point. O On 11/03/2009 10:14 AM, Jan Pazdziora wrote: On Tue, Nov 03, 2009 at 10:07:35AM +0100, ondrej hadamek wrote: Hello. IS possible to "migrate" spacewalk systems? I mean - i have functional Spacewalk 0.4 on CentOS 5.1 and i wanna upgrade it to 0.6 but i would like to use Fedora 11. Is it possible somehow? It is possible but why would you want to migrate to Fedora 11 with will be EOL'ed in about eight months if you are currently on a system with much longer lifespan? This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk migration
So another question is update from spacewalk 0.4 to spacewalk 0.6 possible? Possible like it will work moreless without problem? Or should i expect whole day by fixing it? O On 11/03/2009 10:17 AM, ondrej hadamek wrote: Well. Spacewalk performs little bit better in my fedora testing enviroment. But its true. Can be caused by newer version of spacewalk. Thanks for this point. O On 11/03/2009 10:14 AM, Jan Pazdziora wrote: On Tue, Nov 03, 2009 at 10:07:35AM +0100, ondrej hadamek wrote: Hello. IS possible to "migrate" spacewalk systems? I mean - i have functional Spacewalk 0.4 on CentOS 5.1 and i wanna upgrade it to 0.6 but i would like to use Fedora 11. Is it possible somehow? It is possible but why would you want to migrate to Fedora 11 with will be EOL'ed in about eight months if you are currently on a system with much longer lifespan? This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list . This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk migration
On Tue, Nov 03, 2009 at 10:41:15AM +0100, ondrej hadamek wrote: > So another question is update from spacewalk 0.4 to spacewalk 0.6 > possible? Possible like it will work moreless without problem? Or should > i expect whole day by fixing it? People who upgraded in the past did not report any horror stories, provided they followed the documentation and did not do any random or out-of-order changes to their systems without knowing what they are doing. You might want to plan accordingly, read and then follow https://fedorahosted.org/spacewalk/wiki/HowToUpgrade?version=29 (to get to 0.5) and https://fedorahosted.org/spacewalk/wiki/HowToUpgrade -- Jan Pazdziora Senior Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk migration
Oh cool. Found it just few secs before email. So double update. Ill give it a try. Thanks On 11/03/2009 10:49 AM, Jan Pazdziora wrote: On Tue, Nov 03, 2009 at 10:41:15AM +0100, ondrej hadamek wrote: So another question is update from spacewalk 0.4 to spacewalk 0.6 possible? Possible like it will work moreless without problem? Or should i expect whole day by fixing it? People who upgraded in the past did not report any horror stories, provided they followed the documentation and did not do any random or out-of-order changes to their systems without knowing what they are doing. You might want to plan accordingly, read and then follow https://fedorahosted.org/spacewalk/wiki/HowToUpgrade?version=29 (to get to 0.5) and https://fedorahosted.org/spacewalk/wiki/HowToUpgrade This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting
Hi Patrick, That does the trick! Thanks. The strange thing is that when I want to upgrade to the CentOS 5.4 repo it complains about a missing GPG key (which I found strange because the client already got the PGP key when I installed Centos right?) warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 7203f491 Public key for yum-3.2.22-20.el5.centos.noarch.rpm is not installed Kind regards, Michiel Flaherty, Patrick wrote: Yep, I wget'd the files from the redhat spacewalk repo, scp'd them in a directory on a few client machines and ran "rpm -Uvh ./*.rpm" from that directory. I have not been brave enough to add them to my spacewalk channels and have been doing the process manually on machines I've needed to patch. Patrick -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michiel van Es Sent: Saturday, October 31, 2009 7:56 AM To: spacewalk-list@redhat.com Subject: RE: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting Hi Patrick, That is ok mate ;) But how did you do the upgrade on your centos 5.3 clients? Did you do an rpm -UVH from these packages? I really hope that stahma will update it's packages so an yum update would supply the new yum version :) Kind regards, Michiel From: spacewalk-list-boun...@redhat.com [spacewalk-list-boun...@redhat.com] On Behalf Of Flaherty, Patrick [pflahe...@wsi.com] Sent: Friday, October 30, 2009 7:51 PM To: spacewalk-list@redhat.com Subject: RE: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting Hey Michel, I re-read my original message, I probably should have been less curt (sorry!). The work around seems to be use the packages out the .6 repo ( http://article.gmane.org/gmane.linux.redhat.spacewalk.user/300 9 ). It also appears that the "offical" repos will be updated when the packages are ported. The packages I needed were: rhn-check-0.6.4-1.el5.noarch.rpm rhnlib-2.5.13-1.el5.noarch.rpm yum-rhn-plugin-0.6.2-1.el5.noarch.rpm rhn-client-tools-0.6.4-1.el5.noarch.rpm rhn-setup-0.6.4-1.el5.noarch.rpm Patrick -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michiel van Es Sent: Friday, October 30, 2009 11:28 AM To: spacewalk-list@redhat.com Subject: Re: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==> WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting Hi PAtrick, yes I know, that is my own thread but there is not a solution for all my CentOS 5.3 machines wanting to upgrade to CentOS 5.4 and how I can upgrade my yum_rhn_plugin packages... Or am I missing a post? Michiel Flaherty, Patrick wrote: Please see the thread "[Spacewalk-list] CentOS 5.4 64 bit and spacewalk client tools", where this has been discussed for a fix. http://article.gmane.org/gmane.linux.redhat.spacewalk.user/2988 Patrick -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michiel van Es Sent: Friday, October 30, 2009 10:36 AM To: Joshua Roys Cc: spacewalk-list@redhat.com Subject: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==> WAS: Re:[Spacewalk-list] osa-dispatcher not running or not connecting Yes :) The next problem I got is to install the correct yum_rhn_plugin working with CentOS 5.4 ;) The problem is that a lot of CentoS 5 machines are now upgrading to CenOS 5.4 with a new yum version not compatible with the yum_rhn_plugin installed by wget -q http://stahnma.fedorapeople.org/spacewalk-tools/spacewalk-clie nt-tools-0.0-1.noarch.rpm The question is now: how can I upgrae my centos 5.3 to 5.4 without the dependency problems (yum_rhn_plugin being to old?) Kind regards, Michiel Joshua Roys wrote: On 10/30/2009 10:11 AM, Michiel van Es wrote: FIXED IT! changed the max open files from 1024 to 2024 in the .xml files and moved /var/lib/jabberd/db to /var/lib/jabberd/old-jammer&& mkdir /var/lib/jabberd/db&& chown jabber:jabber /var/lib/jabberd/db&& chmod 777 /var/lib/jabberd/db and restarted jabberd and now I see all connection established :) Works like a charm! :D Michiel van Es wrote: Nice! Glad you finally got it. Josh ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing l
[Spacewalk-list] Problem with creating a bunch of mpm files
[r...@satellite cluster]$ solaris2mpm 10_Recommended.zip /usr/share/rhn/rhnpush/archive.py:23: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 Opening archive, this may take a while Error creating mpm for /home/kripton/Download/cluster/10_Recommended.zip: Traceback (most recent call last): File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 232, in _run pkg_mpm = create_pkg_mpm(archive_parser, prefix=dir) File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 448, in create_pkg_mpm dct = parse_pkginfo(pkginfo_str) File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 486, in parse_pkginfo lines = pkginfo_str.splitlines() AttributeError: 'NoneType' object has no attribute 'splitlines' With original archive tar.bz2 - same problem. I did unpack tar.bz2 and zip it. But it is not solve ;( ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Problem with creating a bunch of mpm files
On Tue, Nov 03, 2009 at 04:55:34PM +0600, Jesster Leight wrote: > [r...@satellite cluster]$ solaris2mpm 10_Recommended.zip > /usr/share/rhn/rhnpush/archive.py:23: DeprecationWarning: The popen2 module > is deprecated. Use the subprocess module. > import popen2 > Opening archive, this may take a while > Error creating mpm for /home/kripton/Download/cluster/10_Recommended.zip: > Traceback (most recent call last): > File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 232, in _run > pkg_mpm = create_pkg_mpm(archive_parser, prefix=dir) > File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 448, in create_pkg_mpm > dct = parse_pkginfo(pkginfo_str) > File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 486, in parse_pkginfo > lines = pkginfo_str.splitlines() > AttributeError: 'NoneType' object has no attribute 'splitlines' > > With original archive tar.bz2 - same problem. I did unpack tar.bz2 and zip > it. But it is not solve ;( I think you are hitting http://www.mail-archive.com/spacewalk-list@redhat.com/msg02852.html -- Jan Pazdziora Senior Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Spacewalk client packages for openSuse, Mandriva and SLE
I'm have been working for some time, to make Spacewalk packages for openSUSE, and yesterday I finally manage to build 4 basic packages: rhnlib yum-rhn-plugin rhn-client-tools rhnsd As side effect I build it for SLE and Mandriva. The repositories are: openSUSE 11.0 http://download.opensuse.org/repositories/home://xsuchy/openSUSE_11.0 Mandriva 2009.1 http://download.opensuse.org/repositories/home://xsuchy/Mandriva_2009.1 SLE 10 http://download.opensuse.org/repositories/home://xsuchy/SLE_10 Should I say it is highly experimental and far from production ready? No, you know it. I even did not test it yet! I even have no plans to test Mandriva and SLE version, just openSUSE if I find some time. Packages are not in recent version, some are even git snapshots. It is really very early release. If you are willing to test it, I will welcome your feedback. Currently should be possible to register those systems to Spacewalk and install packages Spacewalk. If I find some spare time, I will try to build other client packages. And before you ask, if I can add repository for: - Mandriva 2010.1 - just today release, I may add it in few days - openSuse 11.1 or SLE11 - no, they do not contain yum, so yum-rhn-plugin could not be build and installed -- Miroslav Suchy Red Hat Satellite Engineering ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting
For what it's worth: https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=16736&forum=37 It seems that the yum packge is signed with the CentOS test gpg key? This seemed to do the trick for me (I know ugly fast script ;) : basedir='http://spacewalk.redhat.com/yum/0.6/RHEL/5/x86_64/os/Packages/' wget $basedir/rhn-check-0.6.4-1.el5.noarch.rpm wget $basedir/rhnlib-2.5.13-1.el5.noarch.rpm wget $basedir/yum-rhn-plugin-0.6.2-1.el5.noarch.rpm wget $basedir/rhn-client-tools-0.6.4-1.el5.noarch.rpm wget $basedir/rhn-setup-0.6.4-1.el5.noarch.rpm wget $basedir/rhn-setup-gnome-0.6.4-1.el5.noarch.rpm wget http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing rpm --import RPM-GPG-KEY-CentOS-testing rpm -Uvh *.rpm Kind regards, Michiel Original Message Subject: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting From: Michiel van Es To: spacewalk-list@redhat.com Date: 11/03/2009 11:03 AM Hi Patrick, That does the trick! Thanks. The strange thing is that when I want to upgrade to the CentOS 5.4 repo it complains about a missing GPG key (which I found strange because the client already got the PGP key when I installed Centos right?) warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 7203f491 Public key for yum-3.2.22-20.el5.centos.noarch.rpm is not installed Kind regards, Michiel Flaherty, Patrick wrote: Yep, I wget'd the files from the redhat spacewalk repo, scp'd them in a directory on a few client machines and ran "rpm -Uvh ./*.rpm" from that directory. I have not been brave enough to add them to my spacewalk channels and have been doing the process manually on machines I've needed to patch. Patrick -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michiel van Es Sent: Saturday, October 31, 2009 7:56 AM To: spacewalk-list@redhat.com Subject: RE: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting Hi Patrick, That is ok mate ;) But how did you do the upgrade on your centos 5.3 clients? Did you do an rpm -UVH from these packages? I really hope that stahma will update it's packages so an yum update would supply the new yum version :) Kind regards, Michiel From: spacewalk-list-boun...@redhat.com [spacewalk-list-boun...@redhat.com] On Behalf Of Flaherty, Patrick [pflahe...@wsi.com] Sent: Friday, October 30, 2009 7:51 PM To: spacewalk-list@redhat.com Subject: RE: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting Hey Michel, I re-read my original message, I probably should have been less curt (sorry!). The work around seems to be use the packages out the .6 repo ( http://article.gmane.org/gmane.linux.redhat.spacewalk.user/300 9 ). It also appears that the "offical" repos will be updated when the packages are ported. The packages I needed were: rhn-check-0.6.4-1.el5.noarch.rpm rhnlib-2.5.13-1.el5.noarch.rpm yum-rhn-plugin-0.6.2-1.el5.noarch.rpm rhn-client-tools-0.6.4-1.el5.noarch.rpm rhn-setup-0.6.4-1.el5.noarch.rpm Patrick -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michiel van Es Sent: Friday, October 30, 2009 11:28 AM To: spacewalk-list@redhat.com Subject: Re: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==> WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting Hi PAtrick, yes I know, that is my own thread but there is not a solution for all my CentOS 5.3 machines wanting to upgrade to CentOS 5.4 and how I can upgrade my yum_rhn_plugin packages... Or am I missing a post? Michiel Flaherty, Patrick wrote: Please see the thread "[Spacewalk-list] CentOS 5.4 64 bit and spacewalk client tools", where this has been discussed for a fix. http://article.gmane.org/gmane.linux.redhat.spacewalk.user/2988 Patrick -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michiel van Es Sent: Friday, October 30, 2009 10:36 AM To: Joshua Roys Cc: spacewalk-list@redhat.com Subject: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==> WAS: Re:[Spacewalk-list] osa-dispatcher not running or not connecting Yes :) The next problem I got is to install the correct yum_rhn_plugin working with CentOS 5.4 ;) The problem is that a lot of CentoS 5 machines are now upgrading to CenOS 5.4 with a new yum version not compatible with the yum_rhn_plugin installed by wget -q http://stahnma.fedorapeople.org/spacewalk-tools/spacewalk-clie nt-tools-0.0-1.noarch.rpm The question is now: how can I upgrae my centos 5.3 to 5.4 without the dependency problems (yum_rhn_plugin being to old?) Kind regards, Michiel Joshua
Re: CentOS 5.3 to CentOS 5.4 upgrade and yum_rhn_plugin ==>WAS:Re:[Spacewalk-list] osa-dispatcher not running or not connecting
On 03.11.2009, at 11:03, Michiel van Es wrote: Hi Patrick, That does the trick! Thanks. The strange thing is that when I want to upgrade to the CentOS 5.4 repo it complains about a missing GPG key (which I found strange because the client already got the PGP key when I installed Centos right?) warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 7203f491 Public key for yum-3.2.22-20.el5.centos.noarch.rpm is not installed I have done this way if you are always on spacewalk register with centos 5.3: cd /etc/pki/rpm-gpg; wget http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk create yum repo file /etc/yum.repos.d/spacewalk-client-tools.repo with content for spacewalk 0.6 : [spacewalk-client-tools] name=Spacewalk Client Tools baseurl=http://spacewalk.redhat.com/yum/0.6/RHEL/5/x86_64/os/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-spacewalk after that: yum update rhn* --enablerepo=spacewalk-client-tools -y after that yum update from spacewalk should work fine. Thomas ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list