[Spacewalk-list] Syncing SLES 12 Repos fails with Spacewalk 2.7 (was: Syncing SLES 12 SP3 Repos fails with some packages)

Lenhardt, Matthias Matthias.Lenhardt at bitmarck.de
Thu Dec 28 10:41:09 UTC 2017

Hi Spacewalkers,

I'm afraid, but I guess I have to say, syncing SLES 12 Repos fails with Spacewalk 2.7.

Though implementing the patch, found here https://lists.opensuse.org/opensuse-commit/2014-09/msg01140.html, and successfully syncing SLES 12 repos since SLES 12 (w/o SP) with Spacewalk <2.7, it stopped working after upgrading to version 2.7. Unfortunatelly not only for some packages, like I stated in my first mail, but for all packages.

My strong suspicion is, that the SUSE specific token to authorize access to download URL is not appended anymore to each package download URL using command spacewalk-repo-sync. I get the same error message using curl without the token. Maybe python-urlgrabber is not used anymore (see patch link above) ...

Example error message in logfile of spacewalk-repo-sync:
2017/12/28 10:46:01 +02:00 ERROR: Download failed: https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP3/x86_64/product/x86_64/grep-2.16-3.1.x86_64.rpm - [Errno 14] HTTPS Error 403 - Forbidden.

Error message of command `curl https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP3/x86_64/product/x86_64/grep-2.16-3.1.x86_64.rpm`<https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP3/x86_64/product/x86_64/grep-2.16-3.1.x86_64.rpm%60>:
403 - Forbidden

Download with command `curl https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP3/x86_64/product/x86_64/grep-2.16-3.1.x86_64.rpm?<suse_token>`<https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP3/x86_64/product/x86_64/grep-2.16-3.1.x86_64.rpm?%3csuse_token%3e%60> from spacewalk server works.

I know, SLES clients are not supported in principle, but maybe somebody has an idea.

Thanks in advance!


Matthias Lenhardt
System Administrator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20171228/2424fbc4/attachment.htm>

More information about the Spacewalk-list mailing list