Larry Clegg: > Greetings Spacers, > > I’m running Spacewalk 2.9 on Centos 6.10 with all the latest patches. > > Is there a way to disable the network proxy for specific repos? I have two > internal repos which should not be passed thru the proxy server. I’ve > tried updating /etc/rhn/spacewalk-repo-sync/yum.conf with the entry shown > below but it did not work. So far no luck in figuring it out. I can ping > the swdepot.local server and I can wget from it. > > # cat /etc/rhn/spacewalk-repo-sync/yum.conf > [main] > proxy=http://proxy.local:3128 > [kyriba-misc-centos6] > name=External - Kyriba-Misc for Centos 6 > baseurl=http://swdepot.local/SW/Packages/kyriba-misc > proxy=_none_ > enabled=1 > gpgcheck = 0 > > When I try a repo sync I get these messages: > > [root@us3-inf-lu-s01 scripts]# /usr/bin/python -u > /usr/bin/spacewalk-repo-sync --channel kyriba-misc-centos6 --type yum > 15:35:06 ====================================== > 15:35:06 | Channel: kyriba-misc-centos6 > 15:35:06 ====================================== > 15:35:06 Sync of channel started. > 15:35:06 > 15:35:06 Processing repository with URL: > http://swdepot.local/SW/Packages/kyriba-misc > 15:35:06 ERROR: Cannot retrieve repository metadata (repomd.xml) for > repository: External - Kyriba-Misc for Centos 6. Please verify its path and > try again > 15:35:06 Sync of channel completed in 0:00:00. > 15:35:06 Total time: 0:00:00
Hello Larry, Are you able to access repo from commandline on spacewalk? E.g. # curl -v http://swdepot.local/SW/Packages/kyriba-misc/repodata/repomd.xml Regards, -- Michael Mráka System Management Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list