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

Paul Robert Marino prmarino1 at gmail.com
Tue Aug 14 16:48:46 UTC 2012


Yea this looks like you both hit the same 503 error. The sync script I
wrote is designed to be tolerant of faults on the API requests and
continue processing the next errata, rhn-clone-errata is designed to
crash on API faults. Since it the same error there was probably a
glitch on one or more of RedHats web servers before their load
balances caught the fault or possibly they were in the middle of a
code push to their servers and you hit the wrong server in the wrong
split second.


On Tue, Aug 14, 2012 at 11:58 AM, Boyd, Robert
<Robert.Boyd at peoplefluent.com> wrote:
> 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




More information about the Spacewalk-list mailing list