[Spacewalk-list] errata how-to for 1.0 ?

Goff, Raal raal.goff at zettaserve.com
Tue May 4 23:39:22 UTC 2010


The script should search spacewalk for the required packages, then if it fails, it will search the package_dir defined in the config. So you shouldnt need two copies, but i've never tested it without it (although ive never had it failover and search the packages directory since i've made the change...)

-R


On 04/05/2010, at 10:20 PM, Daniel Wittenberg wrote:

Looks good, only question I have is the package_dir, looks like you still have to maintain 2 copies of all the RPM's?  I have the repo sync'd, so they are all showing in spacewalk, but the directory they are stored in in:
/var/satellite/redhat/1/.....

Dan


On May 4, 2010, at 2:11 AM, Goff, Raal wrote:

I've attached the script. My modifications have probably made it a lot more unstable, so no warranties or anything :)

It also correctly handles errata that apply to multiple architectures, so you need to define your architectures in the config file. There are two examples there for i386 and x86_64.

You have to run it with something like this:

/opt/centos-errata-new.py -f scrape mailarchive

If you have synced your spacewalk channels before running, it SHOULD find the correct packages.

-R


________________________________
ZettaServe Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this email by mistake and delete this email from your system. Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. ZettaServe Pty Ltd accepts no liability for any damage caused by any virus transmitted by this email.

<centos-errata-new.py>
<centos-errata.cfg>

On 04/05/2010, at 2:52 PM, Daniel Wittenberg wrote:

Cool, is this the copy that is on the site or do you have a different copy?  I see the one on the site is almost a year old.

Thanks,
Dan


On May 4, 2010, at 1:46 AM, Goff, Raal wrote:

I recently made a few more modification to this script actually.

It scrapes from mail-archive.com<http://mail-archive.com/> for the errata info, then searches the spacewalk server for the matching package to get the NVREA info (so you don't have to have another copy locally on disk). It also fills in some more data by scraping info from Red Hat.

Other than using a scraper or a similar script, i don't think there is any great way of getting CentOS errata into spacewalk. Karanbir did post a message a while back asking for suggestions on how to make the process easier, but i'm not aware of anything coming from that.

-R

On 04/05/2010, at 1:27 PM, Daniel Wittenberg wrote:

Sorry, this was for CentOS, and the script was:

http://www.bioss.ac.uk/staff/davidn/spacewalk-stu<http://www.bioss.ac.uk/staff/davidn/spacewalk-stuff/>

Which ironically was one that Andy had posted about back in December.

Thanks!
Dan


On May 3, 2010, at 11:05 PM, Colin Coe wrote:

What "errata script" are you referring to?  I assume you're wanting to
pull errata from RHN.

Andy Speagle sent an update of the 'rhn-clone-errata' script to this
list only a few weeks ago.  The script has reasonable internal
documentation and works really well.  They only missing features are
the creation of CVE and then the linking of said CVE to the errata,
however I'm working on these CVE API in my spare time.

CC

On Tue, May 4, 2010 at 11:34 AM, Daniel Wittenberg
<dwittenberg2008 at gmail.com<mailto:dwittenberg2008 at gmail.com>> wrote:
Maybe I should just ask how other people are handling errata, and pushing updates to their servers?  That's mostly what I'm planning to use this for, so I can more easily manage patches across all our servers but it's been a year since the "errata script" has been updated, so curious if there's a better way.

Thanks,
Dan


On Apr 30, 2010, at 4:13 PM, Daniel Wittenberg wrote:

Is there a good how-to doc for setting up to pull errata with 1.0?  I thought I remember there being one for 0.6, but not sure how much has changed for that part since then.

Thanks!
Dan


________________________________
ZettaServe Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this email by mistake and delete this email from your system. Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. ZettaServe Pty Ltd accepts no liability for any damage caused by any virus transmitted by this email.

_______________________________________________
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<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
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<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100505/a2e76aae/attachment.htm>


More information about the Spacewalk-list mailing list