On Fri, 28 Sep 2012 16:18:08 +0000 "Kalchik, Jeffery" <[email protected]> wrote:
> For background, I have a nice shiny new Spacewalk 1.7 > (PostgreSQL backend) running on an Oracle Linux (*NOT* my > choice, I've got over 100 Oracle Linux servers here,) 5.8 > 64bit server (HP bl460c G6 blade.) Cobbler 2.2.2-1.el5. I > went down this road because I got spoiled with the RedHat > Satellite implementation on the RHEL side of things. > > Here's my problem: > > I'd like to maintain local copies of some remote YUM > repositories, in particular, the Spacewalk client at > http://spacewalk.redhat.com/yum/1.7-client/RHEL/5/x86_64/. > And because I do a lot of stuff during kickstarts, I'd like > this to be mirrored locally into a cobbler repository as > well. The initial cobbler repo > (--mirror=rhn://lol-spacewalk-client,) add went well, along > with the first cobbler reposync. So far, so good. > > As I want to register the raft of servers into Spacewalk, I've > discovered that I need to have python-ethtool available. No > problem, find the rpm file, add it to the local channel, run > cobbler reposync. That's odd, Spacewalk says that it's got 22 > packages in the channel, the reposync reports 21. The > python-ethtool package is conspicuously absent. As a point of > reference, I keep separate release channels that get synced > nightly, servers get connected to channels that I update > manually from the release channels. > > Okay, remove the channel, remove the cobbler repository. > Create the channel, copy the packages in from my release > channel, add python-ethool, create the cobbler repository and > reposync. Still doesn't see python-ethtool. > > I've stopped & restarted Spacewalk services, even restarted > the PostgreSQL database. Now I can't even get the contents of > the channel to be visible for the reposync operation: sudo > cobbler reposync --only lol-spacewalk-client task started: > 2012-09-28_110758_reposync task started (id=Reposync, time=Fri > Sep 28 11:07:58 2012) hello, reposync run, reposync, run! > running: /usr/bin/reposync -l -m -d -r lol-spacewalk-client > --download_path=/var/www/cobbler/repo_mirror received on > stdout: Unable to fetch comps.xml > > received on stderr: > creating: > /var/www/cobbler/repo_mirror/lol-spacewalk-client/.origin/lol-spacewalk-client.repo > running: createrepo -c cache -s > sha /var/www/cobbler/repo_mirror/lol-spacewalk-client received > on stdout: Saving Primary metadata > Saving file lists metadata > Saving other metadata > > received on stderr: This option is deprecated > > creating: /var/www/cobbler/repo_mirror/lol-spacewalk-client/config.repo > running: chown -R > root:apache /var/www/cobbler/repo_mirror/lol-spacewalk-client > received on stdout: received on stderr: > running: chmod -R > 755 /var/www/cobbler/repo_mirror/lol-spacewalk-client received > on stdout: received on stderr: > *** TASK COMPLETE *** > > The "unable to fetch comps.xml" error has to be part of the > problem, and I don't know what's causing that. > > I've got work arounds like managing local repositories > manually, but I'd rather not go to that length. None of the > filesystems have filled up. > > Unfortunately, none of the logs that I can find have any > indication of errors, so I don't even know which way to > start. Where do I turn? > > Jeff Kalchik > Land O'Lakes Hello, this seems more like cobbler issue if I read it correctly. Can't just just wget -r ... the repo you are interested in? Regards, Jan -- Jan Hutar Systems Management QA [email protected] Red Hat, Inc.
pgpdaxWr2oPYK.pgp
Description: PGP signature
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
