[Spacewalk-list] Re: can't kickstart centos

Daniel A. Mezentsev dmezentsev at parasun.com
Mon Jan 26 14:45:43 UTC 2009


Hi Mike,
	It works, thanks for your suggestion. One more question - what is the URL for 
IP-based "bare-metal-kickstart file". URL from spacewalk
http://jump.server.parasun.com/ks/cfg/org/1/mode/ip_range
doesn't work.
> Send Spacewalk-list mailing list submissions to
> 	spacewalk-list at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.redhat.com/mailman/listinfo/spacewalk-list
> or, via email, send a message with subject or body 'help' to
> 	spacewalk-list-request at redhat.com
>
> You can reach the person managing the list at
> 	spacewalk-list-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Spacewalk-list digest..."
>
>
> Today's Topics:
>
>    1. Re: Configuration Management (Mike McCune)
>    2. Re: Configuration Management (Fabien Dupont)
>    3. Re: Configuration Management (Michael DeHaan)
>    4. Slight weirdness post spacewalk 0.2->0.4 upgrade (David Nutter)
>    5. can't kickstart centos (Daniel A. Mezentsev)
>    6. Manage Software Channels page (Mike McCune)
>    7. Re: can't kickstart centos (Mike McCune)
>    8. Re: can't kickstart centos (Mike McCune)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 23 Jan 2009 09:04:15 -0800
> From: Mike McCune <mmccune at redhat.com>
> Subject: Re: [Spacewalk-list] Configuration Management
> To: spacewalk-list at redhat.com
> Message-ID: <4979F88F.8030101 at redhat.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Fabien Dupont wrote:
> > Hi.
> >
> > I'm a recent Cobbler user and I've seen Spacewalk has integrated Cobbler
> > in v0.4.
> > I would like to do configuration management but can't migrate to
> > Spacewalk (no Oracle policy...).
> >
> > Then I would like know which configuration management tool is used in
> > Spacewalk if not internal one ? I'm looking forward Puppet and CfEngine,
> > but would rather stay close to Spacewalk to easily migrate when it will
> > support PostgreSQL.
>
> currently it is a home-grown configuration management system that is
> specific to Spacewalk.
>
> Various thoughts and discussions have taken place about integrating
> puppet or cfengine with Spacewalk but it isn't anything anyone is
> currently working on.
>
> Mike
> --
> Mike McCune
> mmccune AT redhat.com
> Engineering               | Portland, OR
> RHN Satellite             | 650.567.9039x79248
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 23 Jan 2009 18:23:46 +0100
> From: Fabien Dupont <evenit at gmail.com>
> Subject: Re: [Spacewalk-list] Configuration Management
> To: spacewalk-list at redhat.com
> Message-ID:
> 	<5b315b760901230923w7c97ecf4v31099df5ed34b52f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Ok. I'm trying Puppet. Maybe I could help at some point if you try to
> integrate it... And I'll probably have a better look to Spacewalk when
> PostgreSQL will be supported.Thanks for the answer.
>
> 2009/1/23 Mike McCune <mmccune at redhat.com>
>
> > Fabien Dupont wrote:
> >> Hi.
> >>
> >> I'm a recent Cobbler user and I've seen Spacewalk has integrated Cobbler
> >> in v0.4.
> >> I would like to do configuration management but can't migrate to
> >> Spacewalk (no Oracle policy...).
> >>
> >> Then I would like know which configuration management tool is used in
> >> Spacewalk if not internal one ? I'm looking forward Puppet and CfEngine,
> >> but would rather stay close to Spacewalk to easily migrate when it will
> >> support PostgreSQL.
> >
> > currently it is a home-grown configuration management system that is
> > specific to Spacewalk.
> >
> > Various thoughts and discussions have taken place about integrating
> > puppet or cfengine with Spacewalk but it isn't anything anyone is
> > currently working on.
> >
> > Mike
> > --
> > Mike McCune
> > mmccune AT redhat.com
> > Engineering               | Portland, OR
> > RHN Satellite             | 650.567.9039x79248
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.redhat.com/archives/spacewalk-list/attachments/20090123/6a02f2c
>c/attachment.html
>
> ------------------------------
>
> Message: 3
> Date: Fri, 23 Jan 2009 12:31:07 -0500
> From: Michael DeHaan <mdehaan at redhat.com>
> Subject: Re: [Spacewalk-list] Configuration Management
> To: spacewalk-list at redhat.com
> Message-ID: <4979FEDB.9010706 at redhat.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Fabien Dupont wrote:
> > Ok. I'm trying Puppet. Maybe I could help at some point if you try to
> > integrate it... And I'll probably have a better look to Spacewalk when
> > PostgreSQL will be supported.
> > Thanks for the answer.
> >
> > 2009/1/23 Mike McCune <mmccune at redhat.com <mailto:mmccune at redhat.com>>
> >
> >     Fabien Dupont wrote:
> >
> >         Hi.
> >
> >         I'm a recent Cobbler user and I've seen Spacewalk has
> >         integrated Cobbler in v0.4.
> >         I would like to do configuration management but can't migrate
> >         to Spacewalk (no Oracle policy...).
> >
> >         Then I would like know which configuration management tool is
> >         used in Spacewalk if not internal one ? I'm looking forward
> >         Puppet and CfEngine, but would rather stay close to Spacewalk
> >         to easily migrate when it will support PostgreSQL.
> >
> >
> >     currently it is a home-grown configuration management system that
> >     is specific to Spacewalk.
> >
> >     Various thoughts and discussions have taken place about
> >     integrating puppet or cfengine with Spacewalk but it isn't
> >     anything anyone is currently working on.
> >
> >     Mike
> >     --
> >     Mike McCune
> >     mmccune AT redhat.com <http://redhat.com>
> >     Engineering               | Portland, OR
> >     RHN Satellite             | 650.567.9039x79248
> >
> >     _______________________________________________
> >     Spacewalk-list mailing list
> >     Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> >     https://www.redhat.com/mailman/listinfo/spacewalk-list
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> I've shared my comments on this on Cobbler list, since you also posted
> there:
>
> https://fedorahosted.org/pipermail/cobbler/2009-January/002389.html
>
> This probably would be a good opportunity to start discussing the future
> of Spacewalk config management on-list, no?
>
> Namely I find the idea of sharing variables that are used for kickstart
> with the CMS rather interesting, as well as a macro-based templating
> system (like Cheetah), but we also need to account for integration with
> tools like puppet.    The question is how far do you go in supporting
> other CMS's, such as if someone wants to use cfengine (because they
> already have it) instead, or something like bcfg2.    Ultimately the
> other question is how much you integrate in a CMS without becoming just
> a GUI editor for a text file, as many of these are basically recipe based.
>
> Thoughts welcome.
>
>
> --Michael
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 23 Jan 2009 17:32:04 +0000
> From: David Nutter <davidn at bioss.sari.ac.uk>
> Subject: [Spacewalk-list] Slight weirdness post spacewalk 0.2->0.4
> 	upgrade
> To: spacewalk-list at redhat.com
> Message-ID: <20090123173203.GD9140 at bioss.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hello,
>
> After (very smoothly :)) upgrading, package installs on clients
> failed, claiming that (from up2date log):
>
> [Fri Jan 23 17:12:55 2009] up2date
> Traceback (most recent call last):
>   File "/usr/sbin/rhn_check", line 273, in __run_action
>     (status, message, data) = CheckCli.__do_call(method, params)
>   File "/usr/sbin/rhn_check", line 266, in __do_call
>     retval = method(*params)
>   File "/usr/share/rhn/actions/packages.py", line 246, in update
>     return runTransaction(transaction_data)
>   File "/usr/share/rhn/actions/packages.py", line 279, in
>   runTransaction
>     return _run_yum_action(command)
>   File "/usr/share/rhn/actions/packages.py", line 301, in
>   _run_yum_action
>     yum_base = YumAction()
>   File "/usr/share/rhn/actions/packages.py", line 53, in __init__
>     self.doTsSetup()
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 72, in
>   doTsSetup
>     return self._getTs()
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in
>   _getTs
>     self._getTsInfo()
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in
>   _getTsInfo
>     self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 537,
>   in <lambda>
>     pkgSack = property(fget=lambda self: self._getSacks(),
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 392,
>   in _getSacks
>     self.repos.populateSack(which=repos)
>   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 242, in
>   populateSack
>     sack.populate(repo, mdtype, callback, cacheonly)
>   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 165, in
>   populate
>     xml = repo_get_function()
>   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 880, in
>   getPrimaryXML
>     return self.retrieveMD('primary')
>   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 867, in
>   retrieveMD
>     cache=self.http_caching == 'all')
>   File "/usr/lib/yum-plugins/rhnplugin.py", line 299, in _getFile
>     raise yum.Errors.RepoError, \
> yum.Errors.RepoError: failed to retrieve repodata/primary.xml.gz from
> centos-x86_64-base-5
> error was [Errno -1] Metadata file does not match checksum
>
>
>
> Similarly, yum when run on the client reported:
>
>   Error: failed to retrieve repodata/primary.xml.gz from
> centos-x86_64-base-5 error was [Errno -1] Metadata file does not match
> checksum
>
> I assumed that spacewalk's yum metadata update process had gone wrong
> somehow, so I forced it to re-run by deleting an obscure package from
> the affected channel and accessed the metadata again with yum.
>
> Remarkably, this hideous hack worked. Is there a way to force
> spacewalk to regenerate the metadata for a particular channel? Reading
> the (tangentially related) page
>
> https://fedorahosted.org/spacewalk/wiki/DeltaRpmSupport
>
> suggests not but I'd welcome confirmation.
>
> Regards,
>
> --
> David Nutter  				Tel: +44 (0)131 650 4888
> BioSS, JCMB, King's Buildings, Mayfield Rd, EH9 3JZ. Scotland, UK
>
> Biomathematics and Statistics Scotland (BioSS) is formally part of The
> Scottish Crop Research Institute (SCRI), a registered Scottish charity
> No. SC006662
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 23 Jan 2009 12:26:56 -0800
> From: "Daniel A. Mezentsev" <dmezentsev at parasun.com>
> Subject: [Spacewalk-list] can't kickstart centos
> To: spacewalk-list at redhat.com
> Message-ID: <200901231226.56175.dmezentsev at parasun.com>
> Content-Type: text/plain;  charset="us-ascii"
>
> Hi All,
> 	I have spacewalk 0.4 running on the Centos 5.2 box + Oracle 11G as a
> backend. I've created kickstart tree and kickstart profiles for several
> hosts. When i'm trying to install new system i'm getting error in the
> apache logs:
>
> [Fri Jan 23 12:10:24 2009] [error] Execution of /var/www/html/ks failed at
> Fri Jan 23 12:10:24 2009: argh, no idea how to handle subsys cfg
> org/1/label/xen-host01
> at /usr/lib/perl5/site_perl/5.8.8/Sniglets/Kickstart.pm line 67.
>
> ks parameter for new system configured as the following:
> http://jump.server.parasun.com/ks/cfg/org/1/label/xen-host01
> from "Kickstart Details->Bare Metal Kickstart". Any ideas what is going
> wrong.
>
> --
> Daniel Mezentsev
> System Administrator, Network Operations
> Parasun Technologies Inc.
> Building Better Broadband.
> +1 (888) 207-0203 x1407
> +1 (604) 357-0057 x1407
>
> http://www.parasun.com/
>
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 23 Jan 2009 13:55:29 -0800
> From: Mike McCune <mmccune at redhat.com>
> Subject: [Spacewalk-list] Manage Software Channels page
> To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
> Message-ID: <497A3CD1.7010401 at redhat.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Is anyone else getting a 500 error when browsing this page with
> Spacewalk 0.4:
>
> https://spacewalk.example.com/network/software/channels/manage/index.pxt
>
> I've seen it on a few installs and trying to see how big the problem is.
>
> Mike
> --
> Mike McCune
> mmccune AT redhat.com
> Engineering               | Portland, OR
> RHN Satellite             | 650.567.9039x79248
>
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 23 Jan 2009 14:03:04 -0800
> From: Mike McCune <mmccune at redhat.com>
> Subject: Re: [Spacewalk-list] can't kickstart centos
> To: spacewalk-list at redhat.com
> Message-ID: <497A3E98.8090203 at redhat.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Daniel A. Mezentsev wrote:
> > Hi All,
> > 	I have spacewalk 0.4 running on the Centos 5.2 box + Oracle 11G as a
> > backend. I've created kickstart tree and kickstart profiles for several
> > hosts. When i'm trying to install new system i'm getting error in the
> > apache logs:
> >
> > [Fri Jan 23 12:10:24 2009] [error] Execution of /var/www/html/ks failed
> > at Fri Jan 23 12:10:24 2009: argh, no idea how to handle subsys cfg
> > org/1/label/xen-host01
> > at /usr/lib/perl5/site_perl/5.8.8/Sniglets/Kickstart.pm line 67.
> >
> > ks parameter for new system configured as the following:
> > http://jump.server.parasun.com/ks/cfg/org/1/label/xen-host01
> > from "Kickstart Details->Bare Metal Kickstart". Any ideas what is going
> > wrong.
>
> yeah, there is a bug on that page showing the wrong 'bare metal' URL
> that will get fixed in 0.5.
>
> Try the URL you see when you go to the "Kickstart File" tab and
> copy-paste the 'Download File' link.  Should look more like:
>
> http://jump.server.parasun.com/cblr/svc/op/ks/profile/xen-host01:1:Spacewal
>k-Public-Cert
>
> let me know if that helps/works...
>
> Mike
> --
> Mike McCune
> mmccune AT redhat.com
> Engineering               | Portland, OR
> RHN Satellite             | 650.567.9039x79248
>
>
>
> ------------------------------
>
> Message: 8
> Date: Fri, 23 Jan 2009 14:06:36 -0800
> From: Mike McCune <mmccune at redhat.com>
> Subject: Re: [Spacewalk-list] can't kickstart centos
> To: spacewalk-list at redhat.com
> Message-ID: <497A3F6C.8000302 at redhat.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Mike McCune wrote:
> > Daniel A. Mezentsev wrote:
> >> Hi All,
> >> 	I have spacewalk 0.4 running on the Centos 5.2 box + Oracle 11G as a
> >> backend. I've created kickstart tree and kickstart profiles for several
> >> hosts. When i'm trying to install new system i'm getting error in the
> >> apache logs:
> >>
> >> [Fri Jan 23 12:10:24 2009] [error] Execution of /var/www/html/ks failed
> >> at Fri Jan 23 12:10:24 2009: argh, no idea how to handle subsys cfg
> >> org/1/label/xen-host01
> >> at /usr/lib/perl5/site_perl/5.8.8/Sniglets/Kickstart.pm line 67.
> >>
> >> ks parameter for new system configured as the following:
> >> http://jump.server.parasun.com/ks/cfg/org/1/label/xen-host01
> >> from "Kickstart Details->Bare Metal Kickstart". Any ideas what is going
> >> wrong.
> >
> > yeah, there is a bug on that page showing the wrong 'bare metal' URL
> > that will get fixed in 0.5.
> >
> > Try the URL you see when you go to the "Kickstart File" tab and
> > copy-paste the 'Download File' link.  Should look more like:
> >
> > http://jump.server.parasun.com/cblr/svc/op/ks/profile/xen-host01:1:Spacew
> >alk-Public-Cert
> >
> > let me know if that helps/works...
> >
> > Mike
>
> FYI, the BZ is:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=480832
>
> Mike

-- 
Daniel Mezentsev
System Administrator, Network Operations
Parasun Technologies Inc.
Building Better Broadband.
+1 (888) 207-0203 x1407
+1 (604) 357-0057 x1407

http://www.parasun.com/




More information about the Spacewalk-list mailing list