<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Paul,</span></div><div><span><br></span></div><div><span>I've just downloaded your script </span><span class="bold">eva-direct-errata-sync.pl</span><span> and trying to use it. Is there a README or HowTo document that users can use? Thanks a lot!<br></span></div><div><span><br></span></div><div>nz<br><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Paul Robert Marino <prmarino1@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> spacewalk-list@redhat.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 14, 2012 12:48:46 PM<br>
 <b><span style="font-weight: bold;">Subject:</span></b> Re: [Spacewalk-list] rhn-clone-errata.py running issue<br> </font> </div> <br>Yea this looks like you both hit the same 503 error. The sync script I<br>wrote is designed to be tolerant of faults on the API requests and<br>continue processing the next errata, rhn-clone-errata is designed to<br>crash on API faults. Since it the same error there was probably a<br>glitch on one or more of RedHats web servers before their load<br>balances caught the fault or possibly they were in the middle of a<br>code push to their servers and you hit the wrong server in the wrong<br>split second.<br><br><br>On Tue, Aug 14, 2012 at 11:58 AM, Boyd, Robert<br><<a ymailto="mailto:Robert.Boyd@peoplefluent.com" href="mailto:Robert.Boyd@peoplefluent.com">Robert.Boyd@peoplefluent.com</a>> wrote:<br>> I was getting 503 errors for about 30-60 minutes today as well running Paul<br>> Robert Marino’s eva-errata-sync
 code.   I think Red Hat was having issues<br>> with their Errata service.<br>><br>><br>><br>> Robert<br>><br>><br>><br>> From: <a ymailto="mailto:spacewalk-list-bounces@redhat.com" href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a><br>> [mailto:<a ymailto="mailto:spacewalk-list-bounces@redhat.com" href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>] On Behalf Of <a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a><br>> Sent: Tuesday, August 14, 2012 11:21 AM<br>> To: <a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>; <a ymailto="mailto:spacewalk-list@redhat.com" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>> Subject: Re: [Spacewalk-list] rhn-clone-errata.py running issue<br>><br>><br>><br>> When I changed the -c option, I
 got:<br>><br>><br>><br>> # python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword<br>> -c rhel-i386-server-5 --publish --verbose -v<br>> RHBA-2012:1016<br>> Fault Code: -208        Fault String: redstone.xmlrpc.XmlRpcFault: The<br>> errata RHBA-2012:1016:R5-32 cannot be found.<br>> Errata RHBA-2012:1016:R5-32 Doesn't Exist on localhost ...<br>> ProtocolError: 503 - Service Temporarily Unavailable<br>>         6/20/12 - e2fsprogs bug fix update<br>>         Errata Created: 1<br>> Fault Code: 1201 - redstone.xmlrpc.XmlRpcFault: Invalid channel label<br>> Error Creating Errata!<br>> ^C<br>><br>> Traceback (most recent call last):<br>>   File "/root/rhn-clone-errata.py", line 643, in <module><br>>     main()<br>>   File "/root/rhn-clone-errata.py", line 633, in main<br>>    
 spwPublish = mySPW.errataPublish (spwErrataName,<br>> [chanMap[options.src_channel]], 0)<br>>   File "/root/rhn-clone-errata.py", line 375, in errataPublish<br>>     errata = self.server.errata.publish(self.rhnSession,name,channels)<br>>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__<br>>     return self.__send(self.__name, args)<br>>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request<br>>     verbose=self.__verbose<br>>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request<br>>     return self._parse_response(h.getfile(), sock)<br>>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response<br>>     return u.close()<br>>   File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close<br>>     raise Fault(**self._stack[0])<br>> xmlrpclib.Fault: <Fault 1201:
 'redstone.xmlrpc.XmlRpcFault: Invalid channel<br>> label'><br>><br>> nz<br>><br>><br>><br>> ________________________________<br>><br>> From: "<a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>" <<a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>><br>> To: "<a ymailto="mailto:spacewalk-list@redhat.com" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>" <<a ymailto="mailto:spacewalk-list@redhat.com" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>><br>> Sent: Tuesday, August 14, 2012 10:52:41 AM<br>> Subject: [Spacewalk-list] rhn-clone-errata.py running issue<br>><br>><br>><br>> Hi, I am working on rhn-clone-errata.py now. I've made the following changes<br>> to it:<br>><br>> userRHN = 'myRHNusername'<br>> passRHN = 'myRHNpassword'<br>><br>>
 'rhel-i386-server-5':   'spacewalk_channel_rhel_5_i386',<br>><br>><br>><br>> # python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword<br>> -c spacewalk_channel_rhel_5_i386 --publish --verbose<br>><br>> ^C (Control+c)<br>> Traceback (most recent call last):<br>>   File "/root/rhn-clone-errata.py", line 643, in <module><br>>     main()<br>>   File "/root/rhn-clone-errata.py", line 559, in main<br>>     if chanMap[options.src_channel] is None:<br>> KeyError: 'spacewalk_channel_rhel_5_i386'<br>><br>> # python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword<br>> --publish --verbose<br>> ^C (Control+c)<br>> Traceback (most recent call last):<br>>   File "/root/rhn-clone-errata.py", line 643, in <module><br>>     main()<br>>   File "/root/rhn-clone-errata.py", line 559, in main<br>> 
    if chanMap[options.src_channel] is None:<br>> KeyError: None<br>><br>><br>><br>> Why did it not show any output and I have to use "Control+c" to stop the<br>> process? What else do I need to modified in rhn-clone-errata.py?<br>><br>><br>><br>> Thank you in advance!<br>><br>><br>><br>> nz<br>><br>><br>> _______________________________________________<br>> Spacewalk-list mailing list<br>> <a ymailto="mailto:Spacewalk-list@redhat.com" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>><br>><br>> _______________________________________________<br>> Spacewalk-list mailing list<br>> <a ymailto="mailto:Spacewalk-list@redhat.com" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>> <a
 href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br><br>_______________________________________________<br>Spacewalk-list mailing list<br><a ymailto="mailto:Spacewalk-list@redhat.com" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br><br><br> </div> </div>  </div></body></html>