[Spacewalk-list] rhn-clone-errata.py running issue

Paul Robert Marino prmarino1 at gmail.com
Wed Aug 15 14:27:15 UTC 2012


When you go into the errata page the initil view is only the erratasa
relivant to the host you have registered. the menu to the left should have
a button to show all erratas
On Aug 15, 2012 10:23 AM, <fnwsa at yahoo.com> wrote:

> Now the errata list is displayed on Spacewalk GUI's Errata. It is found
> right after a client is registered to Spacewalk. I am not sure whether or
> not the client registered made this happen.
>
> nz
>
>   ------------------------------
> *From:* "fnwsa at yahoo.com" <fnwsa at yahoo.com>
> *To:* "fnwsa at yahoo.com" <fnwsa at yahoo.com>; "Boyd, Robert" <
> Robert.Boyd at peoplefluent.com>; "spacewalk-list at redhat.com" <
> spacewalk-list at redhat.com>
> *Sent:* Wednesday, August 15, 2012 8:28:55 AM
> *Subject:* Re: [Spacewalk-list] rhn-clone-errata.py running issue
>
> The following command finished with "Errata Created: 4932, Errata
> Published!"
>
> # python /root/rhn-clone-errata.py --spw-server="localhost"
> --login=spwusername --password=spwpassword
> --src-channel="rhel-x86_64-server-5" --publish --verbose
>
> But where are the errata located? Where can I see them? Please help.
> Thanks!
>
> nz
>
>   ------------------------------
> *From:* "fnwsa at yahoo.com" <fnwsa at yahoo.com>
> *To:* "fnwsa at yahoo.com" <fnwsa at yahoo.com>; "Boyd, Robert" <
> Robert.Boyd at peoplefluent.com>; "spacewalk-list at redhat.com" <
> spacewalk-list at redhat.com>; "spacewalk-list at redhat.com" <
> spacewalk-list at redhat.com>
> *Sent:* Tuesday, August 14, 2012 2:13:40 PM
> *Subject:* Re: [Spacewalk-list] rhn-clone-errata.py running issue
>
> The script is still running, with the latest output "Errata Created:
> 2178".
>
> I am wondering where the errata just created seat. I don't see any new
> files in /var, /spacewalk, neither in the Spacewalk GUI Errata.
>
> Thank you!
>
> nz
>
>   ------------------------------
> *From:* "fnwsa at yahoo.com" <fnwsa at yahoo.com>
> *To:* "Boyd, Robert" <Robert.Boyd at peoplefluent.com>; "
> spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
> *Sent:* Tuesday, August 14, 2012 12:49:21 PM
> *Subject:* Re: [Spacewalk-list] rhn-clone-errata.py running issue
>
> A new script using a different channel is running now with lots of 'The
> errata RHSA-xxxxx cannot be found', 'Package Missing' errors:
>
> #python /root/rhn-clone-errata.py -s localhost -l spwusername -p
> spwpassword -c rhel-x86_64-server-5 --publish --verbose
>
> It appears that the rhel-i386-server-5 channel has something wrong on the
> RHN side?? If the rhel-x86_64-server-5 channel runs well, it means my rhn-clone-errata.py
> is ok.
>
> nz
>
>   ------------------------------
> *From:* "Boyd, Robert" <Robert.Boyd at peoplefluent.com>
> *To:* "fnwsa at yahoo.com" <fnwsa at yahoo.com>; "spacewalk-list at redhat.com" <
> spacewalk-list at redhat.com>
> *Sent:* Tuesday, August 14, 2012 11:58:43 AM
> *Subject:* RE: [Spacewalk-list] rhn-clone-errata.py running issue
>
> I was getting 503 errors for about 30-60 minutes today as well running
> Paul Robert Marino’s eva-errata-sync code.   I think Red Hat was having
> issues with their Errata service.
>
> Robert
>
> *From:* spacewalk-list-bounces at redhat.com [mailto:
> spacewalk-list-bounces at redhat.com] *On Behalf Of *fnwsa at yahoo.com
> *Sent:* Tuesday, August 14, 2012 11:21 AM
> *To:* fnwsa at yahoo.com; spacewalk-list at redhat.com
> *Subject:* Re: [Spacewalk-list] rhn-clone-errata.py running issue
>
> When I changed the -c option, I got:
>
> # python /root/rhn-clone-errata.py -s localhost -l swusername -p
> swpassword -c rhel-i386-server-5 --publish --verbose -v
> RHBA-2012:1016
> Fault Code: -208        Fault String: redstone.xmlrpc.XmlRpcFault: The
> errata RHBA-2012:1016:R5-32 cannot be found.
> Errata RHBA-2012:1016:R5-32 Doesn't Exist on localhost ...
> ProtocolError: 503 - Service Temporarily Unavailable
>         6/20/12 - e2fsprogs bug fix update
>         Errata Created: 1
> Fault Code: 1201 - redstone.xmlrpc.XmlRpcFault: Invalid channel label
> Error Creating Errata!
> ^C
> Traceback (most recent call last):
>   File "/root/rhn-clone-errata.py", line 643, in <module>
>     main()
>   File "/root/rhn-clone-errata.py", line 633, in main
>     spwPublish = mySPW.errataPublish (spwErrataName,
> [chanMap[options.src_channel]], 0)
>   File "/root/rhn-clone-errata.py", line 375, in errataPublish
>     errata = self.server.errata.publish(self.rhnSession,name,channels)
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
>     verbose=self.__verbose
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
>     return self._parse_response(h.getfile(), sock)
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
>     return u.close()
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
>     raise Fault(**self._stack[0])
> xmlrpclib.Fault: <Fault 1201: 'redstone.xmlrpc.XmlRpcFault: Invalid
> channel label'>
> nz
>
> ------------------------------
> *From:* "fnwsa at yahoo.com" <fnwsa at yahoo.com>
> *To:* "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
> *Sent:* Tuesday, August 14, 2012 10:52:41 AM
> *Subject:* [Spacewalk-list] rhn-clone-errata.py running issue
>
> Hi, I am working on rhn-clone-errata.py now. I've made the following
> changes to it:
> userRHN = 'myRHNusername'
> passRHN = 'myRHNpassword'
> 'rhel-i386-server-5':   'spacewalk_channel_rhel_5_i386',
>
> # python /root/rhn-clone-errata.py -s localhost -l swusername -p
> swpassword -c spacewalk_channel_rhel_5_i386 --publish --verbose
> ^C (Control+c)
> Traceback (most recent call last):
>   File "/root/rhn-clone-errata.py", line 643, in <module>
>     main()
>   File "/root/rhn-clone-errata.py", line 559, in main
>     if chanMap[options.src_channel] is None:
> KeyError: 'spacewalk_channel_rhel_5_i386'
>
> # python /root/rhn-clone-errata.py -s localhost -l swusername -p
> swpassword --publish --verbose
> ^C (Control+c)
> Traceback (most recent call last):
>   File "/root/rhn-clone-errata.py", line 643, in <module>
>     main()
>   File "/root/rhn-clone-errata.py", line 559, in main
>     if chanMap[options.src_channel] is None:
> KeyError: None
>
> Why did it not show any output and I have to use "Control+c" to stop the
> process? What else do I need to modified in rhn-clone-errata.py?
>
> Thank you in advance!
>
> nz
>
> _______________________________________________
> Spacewalk-list mailing list
> 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
>
>
>
>
>
>
> _______________________________________________
> 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: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120815/97c6cd7f/attachment.htm>


More information about the Spacewalk-list mailing list