Nick Sorry for a delay and congratulation for you, did a excellent follow up. ;-)
Maybe you problem can be a delay in your script, btw I recommend a debug, so you will get for sure the real problem. Take Care ______________ Atenciosamente Waldirio msn: [email protected] Skype: waldirio Site: www.waldirio.com.br Blog: blog.waldirio.com.br LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646 PGP: www.waldirio.com.br/public.html On Mon, Dec 15, 2014 at 8:36 PM, Nick Tailor <[email protected]> wrote: > > I ran the script again, seems like it running through. > > > Might just be a timeout issue which, that also allowed me to choose the > base channel for debian which wasn’t available before. > > > > Cheers > > > > Nick Tailor > > Nicktailor.com > > > > > > *From:* Nick Tailor > *Sent:* December-15-14 2:20 PM > > *To:* '[email protected]' > *Subject:* RE: [Spacewalk-list] Debian reposync fails on spacewalk > > > > Now it appears to fail midway > > > > Internal server error 500 Internal Server Error > > Error pushing /root/test/libchemistry-formula-perl_3.0.1-1_all.deb: (500) > > Waiting 2 seconds and trying again... > > INFO: 49/35921 : libgmime-2.6-0_2.6.10-1_amd64.deb > > INFO: 50/35921 : libcryptokit-ocaml-dev_1.5-1_amd64.deb > > INFO: 51/35921 : libdbd-firebird-perl_0.91-2+b1_amd64.deb > > INFO: 52/35921 : harden-clients_0.1.38+nmu1_all.deb > > INFO: 53/35921 : libsmokekde-dev_4.8.4-1_amd64.deb > > INFO: 54/35921 : keyanalyze_1.1.4-1_all.deb > > INFO: 55/35921 : libfrontier-rpc-perl_0.07b4-6_all.deb > > INFO: 56/35921 : libnoise0_1.0.0+nmu1_amd64.deb > > INFO: 57/35921 : libfsoresource0_0.11.0-1.1_amd64.deb > > INFO: 58/35921 : glib-networking-common_2.32.3-1_all.deb > > INFO: 59/35921 : libyate4.1.0_4.1.0-1~dfsg-3_amd64.deb > > INFO: 60/35921 : neko-dev_1.8.1-6_all.deb > > INFO: 61/35921 : libgeronimo-commonj-spec-java_1.1.1-1_all.deb > > INFO: 62/35921 : libverto1_0.2.2-1_amd64.deb > > INFO: 63/35921 : libmtp-doc_1.1.3-35-g0ece104-5_all.deb > > INFO: 64/35921 : libfreerdp-plugins-standard_1.0.1-1.1+deb7u3_amd64.deb > > INFO: 65/35921 : libdiagnostics0_0.3.3-1.3_amd64.deb > > INFO: 66/35921 : libgnomeprint2.2-0_2.18.8-3_amd64.deb > > INFO: 67/35921 : igstk-examples_4.4.0-2_all.deb > > Internal server error 500 Internal Server Error > > Error pushing /root/test/igstk-examples_4.4.0-2_all.deb: (500) > > Waiting 2 seconds and trying again... > > Internal server error 500 Internal Server Error > > Error pushing /root/test/igstk-examples_4.4.0-2_all.deb: (500) > > Waiting 3 seconds and trying again... > > Internal server error 500 Internal Server Error > > Error pushing /root/test/igstk-examples_4.4.0-2_all.deb: (500) > > Waiting 1 seconds and trying again... > > Giving up after 3 attempts > > > > Any ideas would be appreciated J > > > > Nick Tailor > > Nicktailor.com > > > > *From:* Nick Tailor > *Sent:* December-15-14 2:18 PM > *To:* '[email protected]' > *Subject:* RE: [Spacewalk-list] Debian reposync fails on spacewalk > > > > Okay I was able to resolve the issue. > > > > So if for anyone else that runs into this. You may need to add > > > > $mech = WWW::Mechanize->new; > > 2:03 PM > > #Or manual proxy > > > > $mech->proxy(['http', 'ftp'], '*http://proxy.example.com:8000/ > <http://proxy.example.com:8000/>*'); > > > > > > And if that doesn’t work change the directory in the script not to use > /tmp and to write some place else > > > > Cheers > > > > Nick Tailor > > Nicktailor.com > > > > *From:* Nick Tailor > *Sent:* December-15-14 1:19 PM > *To:* [email protected] > *Subject:* RE: [Spacewalk-list] Debian reposync fails on spacewalk > > > > Hello, > > > > So I created a amd64 channel as you described. That resulted in exactly > the same problem. > > > > I believe the issue lies somewhere in the script “use WWW::Mechanize;” > > > > I added an environment variable to use a our proxy > > > > “use strict; > > $ENV{HTTPS_PROXY} = 'my_proxy:8080';” > > > > This allowed me to get one package in and then it failed. So is there some > extra things that need to be added to the script for it to pull through a > proxy server? > > > > Cheers > > > > Nick Tailor > > Nicktailor.com > > > > *From:* [email protected] [ > mailto:[email protected] > <[email protected]>] *On Behalf Of *Waldirio Manhães > Pinheiro > *Sent:* December-11-14 10:17 AM > *To:* [email protected] > *Subject:* Re: [Spacewalk-list] Debian reposync fails on spacewalk > > > > Nick and Friends, > > > > Just to add information, I just created a new channel using the arch IA-64 > named teste_deb > > > > # perl spacewalk-debian-sync.pl --url > http://ftp.br.debian.org/debian/dists/stable/main/binary-amd64/ > --username admin --password <my pass> --channel teste_deb > > > > ### the result ### > > INFO: Repo URL: > http://ftp.br.debian.org/debian/dists/stable/main/binary-amd64/ > > INFO: Debian root is http://ftp.br.debian.org/debian/ > > INFO: Fetching Packages.gz... done > > INFO: Packages in repo: 35923 > > INFO: Packages already synced: 0 > > INFO: Packages to sync: 35923 > > INFO: 1/35923 : virtuoso-opensource_6.1.4+dfsg1-7_all.deb > > INFO: 2/35923 : libghc6-regex-tdfa-doc_8_all.deb > > INFO: 3/35923 : libsys-gamin-perl_0.1-1+b2_amd64.deb > > > > Error Message: > > Package arch amd64-deb incompatible with channel teste_deb > > Error Class Code: 50 > > Error Class Info: Invalid information uploaded to the server > > > > ERROR: rhnpush failed > > [root@spacewalk spacewalk-debian-sync-master]# > > ### > > > > And yes, the link used in your sample is to amd64 ( > http://ftp.ca.debian.org/debian/dists/wheezy/main/binary-amd64/), so just > recreate a channel using arch amd64 and enjoy! > > > > Wish you all a great week! > > > > > ______________ > Atenciosamente > Waldirio > msn: [email protected] > Skype: waldirio > Site: www.waldirio.com.br > Blog: blog.waldirio.com.br > > LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646 > PGP: www.waldirio.com.br/public.html > > > > On Thu, Dec 11, 2014 at 4:11 PM, Waldirio Manhães Pinheiro < > [email protected]> wrote: > > Nick > > > > As I told you in a private email, I'm testing in lab and probably your > problem in the arch channel. To check, execute the commands as bellow: > > > > Take a look, I've in my env one channel named debian_7.7_amd64 > > > > [root@spacewalk ~]# spacecmd softwarechannel_list|grep deb > > INFO: Connected to https://localhost/rpc/api as admin > > debian_7.7_amd64 > > > > > > > > To retrieve more information, execute the command as bellow: > > > > [root@spacewalk ~]# spacecmd softwarechannel_details debian_7.7_amd64 > > INFO: Connected to https://localhost/rpc/api as admin > > Label: debian_7.7_amd64 > > Name: debian_7.7_amd64 > > Architecture: AMD64 Debian ###### Here is the > point. What can you see in your environment !? IA-64 !? ;-) > > Parent: > > Systems Subscribed: 0 > > Number of Packages: 745 > > > > Summary > > ------- > > debian_7.7_amd64 > > > > GPG Key: > > GPG Fingerprint: > > GPG URL: > > > > Repos > > ----- > > debian > > [root@spacewalk ~]# > > > > Waiting your reply! > > > > Take Care > > > ______________ > Atenciosamente > Waldirio > msn: [email protected] > Skype: waldirio > Site: www.waldirio.com.br > Blog: blog.waldirio.com.br > > LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646 > PGP: www.waldirio.com.br/public.html > > > > On Mon, Dec 8, 2014 at 8:00 PM, Nick Tailor <[email protected]> wrote: > > Hello, > > > > I was wondering if someone could point in the right direction? > > > > I created an empty debian channel and trying to sync the repo as follows > below, however it keeps failing. > > > > > https://github.com/stevemeier/spacewalk-debian-sync/blob/master/spacewalk-debian-sync.pl > (this is the script I’m using) > > > > ./spacewalk-debian-sync.pl --username admin -p blablah --channel > 'debian64bit' --url ' > http://ftp.ca.debian.org/debian/dists/wheezy/main/binary-amd64/' > > > > /binary-amd64/' > > INFO: Repo URL: > http://ftp.ca.debian.org/debian/dists/wheezy/main/binary-amd64/ > > INFO: Debian root is http://ftp.ca.debian.org/debian/ > > INFO: Fetching Packages.gz... done > > INFO: Packages in repo: 35923 > > INFO: Packages already synced: 0 > > INFO: Packages to sync: 35923 > > INFO: 1/35923 : virtuoso-opensource_6.1.4+dfsg1-7_all.deb > > > > Error Message: > > Package arch all-deb incompatible with channel debian64bit > > Error Class Code: 50 > > Error Class Info: Invalid information uploaded to the server > > > > ERROR: rhnpush failed > > > > Please and thank you > > > > Cheers > > > > Nick Tailor > > http://www.nicktailor.com > > > ------------------------------ > > This email is intended only for the addressee. It may contain confidential > or proprietary information that cannot be disclosed without BCLC's > permission. If you have received this email in error, please notify the > sender immediately and delete the email. > > > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > > > ------------------------------ > This email is intended only for the addressee. It may contain confidential > or proprietary information that cannot be disclosed without BCLC's > permission. If you have received this email in error, please notify the > sender immediately and delete the email. > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
