<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Paul,</span></div><div><span><br></span></div><div><span>I am looking forward to using the new version of eva-direct-errata-sync.pl. Thank you!</span></div><div><br></div><div>By the way, I've not found the log file for eva-direct-errata-sync.pl if there is a one.<br><span></span></div><div># perldoc eva-direct-errata-sync.pl | grep log<br>#<br></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> fnwsa@yahoo.com; spacewalk-list@redhat.com <br> <b><span
 style="font-weight: bold;">Sent:</span></b> Friday, August 17, 2012 2:09:06 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Spacewalk-list] eva-direct-errata-sync.pl -- easier than rhn-clone-errata.py<br> </font> </div> <br>By the way ill update the documentation when I'm ready to upload the<br>next version of the script with multi-base channel support.<br><br>also for any one else interested in using it for other distributions<br>like CentOS or Scientific Linux<br>here is an example for Scientific Linux<br><br>eva-direct-errata-sync.pl --sourceuser=username<br>--destinationuser=username -r -c "rhel-x86_64-server-6" -C<br>"sci-linux-6_2" -e RH -E SL6-64 -F week<br><br>This will change RHSA to SL6-64SA<br><br>and for CentOS channels the<br><br> --rewritepackagereleasefrom el6<br>and<br> --rewritepackagereleaseto el6.centos<br>options are very important<br><br><br><br><br><br>On Fri, Aug 17, 2012 at 1:48 PM, Paul Robert Marino <<a
 ymailto="mailto:prmarino1@gmail.com" href="mailto:prmarino1@gmail.com">prmarino1@gmail.com</a>> wrote:<br>> go into Errata ->All and you should see them on the left side of the page<br>> when you click on Errata it defaults to the Relevant view which is<br>> only erratas that apply to your registered systems<br>><br>><br>> On Fri, Aug 17, 2012 at 8:56 AM,  <<a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>> wrote:<br>>> Thank  you for the explanation, especially for (3).<br>>><br>>> eva-direct-errata-sync.pl was running well in getting channel<br>>> rhel-i386-server-5 and rhel-i386-as-4 that I got issues when using<br>>> rhn-clone-errata.py. It took about 2 to 3 hours as you said.<br>>><br>>> One question: If there is no rhel 5 i386 system added to Spacewalk, do the<br>>> errata for this channel show in Spacewalk's Errata? I don't
 see them.<br>>><br>>> Here is what I got from "perldoc eva-direct-errata-sync.pl": "-s<br>>> satellite.example.org or --sourceserver satellite.example.org. The hostname<br>>> of the errata source server. This option over rides the ERRATASRC<br>>> environment variable. If neither this option or the environment variable are<br>>> specified it defaults to access.redhat.com." So if the default source server<br>>> is 'rhn.redhat.com', you may update the document.<br>>><br>>> Great program. Thank you again for your contributions!<br>>><br>>> nz<br>>><br>>> ________________________________<br>>> From: Paul Robert Marino <<a ymailto="mailto:prmarino1@gmail.com" href="mailto:prmarino1@gmail.com">prmarino1@gmail.com</a>><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>>> Sent: Thursday, August 16, 2012 1:04:34 PM<br>>> Subject: Re: [Spacewalk-list] eva-direct-errata-sync.pl -- easier than<br>>> rhn-clone-errata.py<br>>><br>>> I have 4 comments on how you're running it<br>>> 1) The default for --sourceserver is rhn.redhat.com so you don't need<br>>> to specify it unless you are syncing from an other spacewalk server.<br>>> 2) The --verbose flag is for debugging only and its output is really<br>>> not meant for normal use and may be disturbing if you don't understand<br>>> it<br>>> 3) After the initial sync adding a the --startfromprevious option<br>>> really does speed it up<br>>><br>>> That being said depending on how your database is tuned and how fast<br>>> your box is it shouldn't take more than two or three hours for the<br>>> initial sync to
 complete.<br>>><br>>><br>>> On Thu, Aug 16, 2012 at 10:16 AM,  <<a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>> wrote:<br>>>> Thank Robert and Paul for your instructions.<br>>>><br>>>> The eva-direct-errata-sync.pl is running now (don't know how long it will<br>>>> take). See these:<br>>>><br>>>> # perl eva-direct-errata-sync.pl<br>>>> --sourceuser=rhnusername \<br>>>> --destinationuser=spacewalkusername \<br>>>> --sourcepassword=rhnpassword \<br>>>> --destinationpassword=spacewalkpassword \<br>>>> --sourcechannel=rhel-i386-server-5 \<br>>>> --destinationchannel=spacewalk_channel_rhel_5_i386 \<br>>>> --sourceserver=access.redhat.com \<br>>>> --destinationserver=localhost \<br>>>> --recursive \<br>>>> --verbose<br>>>> No bugzilla url
 specified setting to the default<br>>>> "<a href="https://bugzilla.redhat.com/" target="_blank">https://bugzilla.redhat.com/</a>"<br>>>> connecting to "<a href="https://access.redhat.com/rpc/api/" target="_blank">https://access.redhat.com/rpc/api/</a>" with username<br>>>> "rhnusername"<br>>>> 404 Not Found<br>>>><br>>>> Change access.redhat.com to rhn.redhat.com in sourceserver.<br>>>><br>>>> # perl eva-direct-errata-sync.pl<br>>>> --sourceuser=rhnusername \<br>>>> --destinationuser=spacewalkusername<br>>>> --sourcepassword=rhnpassword \<br>>>> --destinationpassword=spacewalkpassword \<br>>>> --sourcechannel=rhel-i386-server-5 \<br>>>> --destinationchannel=spacewalk_channel_rhel_5_i386 \<br>>>> --sourceserver=rhn.redhat.com \<br>>>> --destinationserver=localhost \<br>>>> --recursive \<br>>>>
 --verbose<br>>>> running......<br>>>><br>>>> nz<br>>>><br>>>> ________________________________<br>>>> From: "Boyd, Robert" <<a ymailto="mailto:Robert.Boyd@peoplefluent.com" href="mailto:Robert.Boyd@peoplefluent.com">Robert.Boyd@peoplefluent.com</a>><br>>>> To: "<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>>>> Sent: Wednesday, August 15, 2012 5:09:44 PM<br>>>> Subject: RE: [Spacewalk-list] rhn-clone-errata.py running issue<br>>>><br>>>> To read the documentation  do this> Perldoc <scriptname><br>>>><br>>>> Here is a sample invocation:<br>>>><br>>>> less /usr/local/bin/spacewalk-errata-sync<br>>>> source ~/.bash_profile<br>>>> echo `date` Syncing
 Spacewalk Errata<br>>>> #export FROMDATE=-F week<br>>>> export FROMDATE="-D `/usr/local/bin/errata_end_date`"<br>>>> export SYNCOPTIONS="--verbose --recursive ${FROMDATE}"<br>>>> # ERRATA[SRC|DST][USER|PASS] are defined in .bash_profile<br>>>> #echo syncing scientific linux<br>>>> #time /path/to/scripts/eva-direct-errata-sync.pl --sourceuser=username<br>>>> --destinationuser=username -r -c "rhel-x86_64-server-6" -C "sci-linux-6_2"<br>>>> -e RH -E SL6 -F week<br>>>> echo "Errata Sync Options: ${SYNCOPTIONS}"<br>>>> echo `date` syncing RHEL 6<br>>>> time /usr/local/bin/eva-direct-errata-sync.pl<br>>>> --sourcechannel=rhel-x86_64-server-6<br>>>> --destinationchannel=rhel-x86_64-server-6 ${SYNCOPTIONS}<br>>>> echo `date` syncing RHEL 5 x86_64<br>>>> time /usr/local/bin/eva-direct-errata-sync.pl<br>>>>
 --sourcechannel=rhel-x86_64-server-5<br>>>> --destinationchannel=rhel-x86_64-server-5 ${SYNCOPTIONS}<br>>>> echo `date` syncing RHEL 4 x86_64<br>>>> time /usr/local/bin/eva-direct-errata-sync.pl<br>>>> --sourcechannel=rhel-x86_64-es-4 --destinationchannel=rhel-x86_64-server-4<br>>>> ${SYNCOPTIONS}<br>>>> echo `date` syncing RHEL 5 i386<br>>>> time /usr/local/bin/eva-direct-errata-sync.pl<br>>>> --sourcechannel=rhel-i386-server-5 --destinationchannel=rhel-i386-server-5<br>>>> ${SYNCOPTIONS}<br>>>> echo `date` syncing RHEL 4 i386<br>>>> time /usr/local/bin/eva-direct-errata-sync.pl<br>>>> --sourcechannel=rhel-i386-es-4<br>>>> --destinationchannel=rhel-i386-server-4 ${SYNCOPTIONS}<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: Wednesday, August 15, 2012 4:25 PM<br>>>> To: <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>>>> Hi Paul,<br>>>><br>>>> I've just downloaded your script eva-direct-errata-sync.pl and trying to<br>>>> use<br>>>> it. Is there a README or HowTo document that users can use? Thanks a lot!<br>>>><br>>>>
 nz<br>>>><br>>>><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><br> </div> </div>  </div></body></html>