[Spacewalk-list] Follow 302 redirect on reposync

magnus at 1337.cf magnus at 1337.cf
Tue Jan 29 08:35:07 UTC 2019


Hey folks,

recently my Spacewalk server failed to sync Graylog packages. It always aborts right after starting the repo-sync bunch and sent me an error report. I investigated the issue and discovered the following: Graylog is using AWS s3 to host their packages and redirects requests with a 302 response to their bucket. Normally you could just use the direct URL to their s3 bucket but for whatever reasons they use temporary access tokens, generated upon request and with a limited validity of 10 minutes.
The solution to this in my opinion would be that Spacewalk follows the 302 redirect instead of aborting the sync bunch. I found no option to enable this kind of behavior, does anyone know if this is even possible?

Regards,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190129/6b22884d/attachment.htm>


More information about the Spacewalk-list mailing list