<p>Good question<br>
There is an embeded man file you can extract with the pod2txt command or any of the other pod2... commands but there isn't a howto yet but if you would like latter I can send you an example wrapper shell script I use with it that should make it fairly obvious<br>

I should write a howto in the wiki though and will try to get to it soon.<br>
One simple note whenever the documentation mentions an errata source its talking about RHN by default or a satillite/spacewalk server or channel which contains the erratas you want to duplicate. And the target is the spacewalk server and channel you want to populate.<br>

</p>
<div class="gmail_quote">On Aug 15, 2012 4:30 PM,  <<a href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>Hi Paul,</span></div><div><span><br></span></div><div><span>I've just downloaded your script </span><span><a href="http://eva-direct-errata-sync.pl" target="_blank">eva-direct-errata-sync.pl</a></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"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Paul Robert Marino <<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a> <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 href="mailto:Robert.Boyd@peoplefluent.com" target="_blank">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 href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a><br>
> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>] On Behalf Of <a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a><br>> Sent: Tuesday, August 14, 2012 11:21 AM<br>
> To: <a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>; <a href="mailto:spacewalk-list@redhat.com" target="_blank">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 href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>" <<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>><br>
> To: "<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>" <<a href="mailto:spacewalk-list@redhat.com" target="_blank">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 href="mailto:Spacewalk-list@redhat.com" target="_blank">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 href="mailto:Spacewalk-list@redhat.com" target="_blank">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 href="mailto:Spacewalk-list@redhat.com" target="_blank">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></div><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a 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></blockquote></div>