Hi again Franky!
I'd be happy to use your script for EPEL errata import on my Spacewalk server.
Thank you for the work you've done.
Your new version of the script in the Git repo seems to have fixed the problem
I had, however, I have discovered that there are some warnings given in the log
when running the script.
Can you have a look at those? Please see the part of my log file that is
attached. I'm not sure if it is the correct behavior.
I also have another problem with this script, I can't import the errata into
more than one channel, I have my parent and child channels set-up to reflect
the different Red Hat releases like this:
Parent - Red Hat Enterprise Linux 6 Workstation x86_64
Child - Red Hat Enterprise Linux 6 Workstation x86_64 Updates
Child - Red Hat Enterprise Linux 6 Workstation x86_64 Optional
Child - Red Hat Enterprise Linux 6 Workstation x86_64 Supplementary
Child - Fedora EPEL for Red Hat Enterprise Linux 6 Workstation x86_64
Parent - Red Hat Enterprise Linux 6 Server x86_64
Child - Red Hat Enterprise Linux 6 Server x86_64 Updates
Child - Red Hat Enterprise Linux 6 Server x86_64 Optional
Child - Red Hat Enterprise Linux 6 Server x86_64 Supplementary
Child - Fedora EPEL for Red Hat Enterprise Linux 6 Server x86_64
If I import the EPEL errata into channel Fedora EPEL for Red Hat Enterprise
Linux 6 Workstation x86_64 then I can't import into channel Fedora EPEL for Red
Hat Enterprise Linux 6 Server x86_64 since the errata already exists in
Spacewalk. I believe that the rhn-clone-errata.pl script solves this issue by
suffixing the errata ID based on information in its configuration file.
Is it plausible to ask for such functionality in your script?
Best regards
Frank Mikkelsen Blohmé
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Franky Van Liedekerke
Sent: den 21 mars 2013 11:26
To: [email protected]
Subject: Re: [Spacewalk-list] ya-errata-import: EPELerrata support added
Hi,
glad to see somebody uses it :-)
Try the new version I just put on github, it should help.
Franky
INFO: Architecture is not specified, will try to determine it based on the
channel properties of 'fedora_epel-rhel6ws64'
INFO: Setting the OS variant to Redhat, if this is wrong please remove the
--redhat option
INFO: Server is running API version 11.1
INFO: API version is supported
INFO: Authentication successful
INFO: User has administrator access to this server
INFO: Checking if channel fedora_epel-rhel6ws64 exists on 127.0.0.1
INFO: Determining architecture for channel fedora_epel-rhel6ws64
INFO: Detected architecture 'x86_64' for channel 'fedora_epel-rhel6ws64'
INFO: Scanning channel fedora_epel-rhel6ws64
INFO: Loading errata
INFO: Loading XML Update file
/var/www/repo/mirrors/fedoraepel/errata-6-64.xml...
INFO: Processing FEDORA-EPEL-2011-0073 (freealut-1.1.0-11.el6)
INFO: Creating errata FEDORA-EPEL-2011-0073:R6-64 for FEDORA-EPEL-2011-0073
(freealut-1.1.0-11.el6) (All 2 packages present in the corresponding channel)
INFO: Processing FEDORA-EPEL-2011-0097 (dfu-programmer-0.5.4-1.el6)
INFO: Skipping FEDORA-EPEL-2011-0097 since not all packages are present
INFO: this should be fixed by the next channel sync, or the errata is
already superseded by another one
INFO: Processing FEDORA-EPEL-2011-0107 (perl-Proc-Daemon-0.06-1.el6)
INFO: Creating errata FEDORA-EPEL-2011-0107:R6-64 for FEDORA-EPEL-2011-0107
(perl-Proc-Daemon-0.06-1.el6) (All 1 packages present in the corresponding
channel)
INFO: Processing FEDORA-EPEL-2011-0110 (drupal6-footnotes-2.5-1.el6)
INFO: Creating errata FEDORA-EPEL-2011-0110:R6-64 for FEDORA-EPEL-2011-0110
(drupal6-footnotes-2.5-1.el6) (All 1 packages present in the corresponding
channel)
WARNING: An error occurred while creating the errata FEDORA-EPEL-2011-0110
WARNING: The error is Fault returned from XML RPC Server, fault code -1:
redstone.xmlrpc.XmlRpcFault: unhandled internal exception:
redstone.xmlrpc.XmlRpcStruct incompatible with java.lang.String
INFO: Processing FEDORA-EPEL-2011-0132 (python-pep8-0.6.0-2.el6)
INFO: Creating errata FEDORA-EPEL-2011-0132:R6-64 for FEDORA-EPEL-2011-0132
(python-pep8-0.6.0-2.el6) (All 1 packages present in the corresponding channel)
INFO: Processing FEDORA-EPEL-2011-0133
(bios_extract-0-0.6.20101207gitd65284d.el6)
INFO: Skipping FEDORA-EPEL-2011-0133 since not all packages are present
INFO: this should be fixed by the next channel sync, or the errata is
already superseded by another one
INFO: Processing FEDORA-EPEL-2011-0148 (perl-CGI-Simple-1.113-1.el6)
INFO: Creating errata FEDORA-EPEL-2011-0148:R6-64 for FEDORA-EPEL-2011-0148
(perl-CGI-Simple-1.113-1.el6) (All 1 packages present in the corresponding
channel)
INFO: Processing FEDORA-EPEL-2011-0153 (rancid-2.3.6-1.el6)
INFO: Skipping FEDORA-EPEL-2011-0153 since not all packages are present
INFO: this should be fixed by the next channel sync, or the errata is
already superseded by another one
INFO: Processing FEDORA-EPEL-2011-0154 (PyQuante-1.6.4-1.el6)
INFO: Skipping FEDORA-EPEL-2011-0154 since not all packages are present
INFO: this should be fixed by the next channel sync, or the errata is
already superseded by another one
INFO: Processing FEDORA-EPEL-2011-0157 (js-1.70-12.el6)
INFO: Creating errata FEDORA-EPEL-2011-0157:R6-64 for FEDORA-EPEL-2011-0157
(js-1.70-12.el6) (All 2 packages present in the corresponding channel)
INFO: Processing FEDORA-EPEL-2011-0167 (holland-1.0.6-3.el6)
INFO: Creating errata FEDORA-EPEL-2011-0167:R6-64 for FEDORA-EPEL-2011-0167
(holland-1.0.6-3.el6) (All 6 packages present in the corresponding channel)
WARNING: An error occurred while creating the errata FEDORA-EPEL-2011-0167
WARNING: The error is Fault returned from XML RPC Server, fault code -1:
redstone.xmlrpc.XmlRpcFault: unhandled internal exception:
redstone.xmlrpc.XmlRpcStruct incompatible with java.lang.String
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list