Thanks for the info guys…. I’ll check them out!
Ah so I thought you were having issues cloning exsiting errata in a channel. With a repo sync, there are some additional steps that need to be done since CentOS doesn’t publish errata in the repo (IIRC). There’s a few solutions for pulling and publishing errata to a CentOS channel such as CEFS, see here for a blog on how to use it http://blog.christian-stankowic.de/?p=5653&lang=en
Hope that proves helpful,
This is the command I issue from my Spacewalk Server:
[root nw-spcwlk-201 ~]# spacewalk-repo-sync --channel centos5-i386 --url http://mirror.centos.org/centos/5/os/i386/ --type yum
When the process completes, I only have the packages (2791) but 0 Erratas.
So are you saying that if I just include a “-z” option to the above command it would pull down the errata as well?
Errata should be cloned as part of the spacewalk-clone-by-date process based on the date provided by ‘-d’. The logic uses that to find the issue date of the errata, so if you are missing errata you may want to try the ‘-z’ option which expands the date criteria for finding relevant errata.
What issues are you having with errata sync?
This is great information… this is exactly what I’m trying to do. However, I’m having trouble sync’ing the Errata data. How are you sync’ing the errata, if you don’t mind me asking.
Thank you in advance for your help.
spacewalk-list-bounces redhat com
[mailto:spacewalk-list-bounces redhat com]
On Behalf Of Matthew Madey
This can easily be done, and I do something similar, but sync all Errata's on a monthly basis on patch tuesday.
Create your baseline channel that is fully up to date. Sync this baseline channel nightly, so it's always current, but don't keep any systems subscribed to it. Clone that channel, and use the clone channel for patching systems. If you want to add a single Errata to the cloned channel, you simply go to Channels-->Manage Software Channels-->Your cloned channel-->Errata then click Add. You'll see your baseline channel as the source, and can pick and choose whatever Errata or packages you'd like to add into your clone channel.
To refresh your clone channel on a monthly or quarterly basis, the easiest way to do this is setup a channel mapping configuration file, and use spacewalk-clone-by-date. Then you source your config file to that command like such:
spacewalk-clone-by-date --config=/etc/rhn/channel-maps/datacenter-channels-rhel6.conf -d 2014-10-14
The below document explains in detail how to setup this kind of configuration.
On Thu, Nov 20, 2014 at 9:15 AM, Nicolas Michel <be nicolas michel gmail com> wrote: