I see the curl error is at your attached file (from zypper.log), but I am failing to understand how that happened. I guess it's an error at the client while bootstrapping? Can you submit bootstrapping log and the list of the repositories at such client? On martes, 27 de agosto de 2019 19:16:26 (CEST) Steve Moring wrote:
Spoke a bit too soon. Re-created bootstrap repo (even with -f) but still receiving errors on some items and there are no enabled repo's.
Going to try to attach the zypper.log here.
error: curl error: 22: The requested URL returned error: 404 404, temp file size 0 bytes.
Exception.cc(log):166 MediaCurl.cc(evaluateCurlCode):1146 THROW: File '/media.1/media' not found on medium 'https://uyuni.exa mple.com/pub/repositories/opensuse/15/1/bootstrap'
Any thoughts?
-Steve
On Tue, 2019-08-27 at 11:07 -0400, Steve Moring wrote:
Indeed, this did resolve the problem for me also.
Thank you.
On Tue, 2019-08-27 at 09:26 +0200, Silvio Moioli wrote:
On 8/26/19 8:33 PM, Steve Moring wrote:
So, how will this be handled?
[sending in behalf of Julio]
This is not the definitive fix, but...
Could you please backup /usr/lib/python3.6/site- packages/spacewalk/server/importlib/packageImport.py
And then apply the diff from: https://gist.github.com/juliogonzalez/fc0cc3c78fc6ba6b3a61dceb48b1 c5 f1
i.e.: curl https://gist.githubusercontent.com/juliogonzalez/fc0cc3 c7 8fc6ba6b3a61dceb48b1c5f1/raw/87eb1764a3a8fab542f05751cc8dd699795d1 ce 0/gistfile1.txt|patch -d/ -p0
Restart services: spacewalk-service restart
And finally retry the reposync.
This is part of https://github.com/uyuni-project/uyuni/pull/1315
NOTE: I was on holidays when this was develop, and the developer that did the fix is on holidays now, but he tested so it should work for you as well.
Worst case, you can just rollback /usr/lib/python3.6/site- packages/spacewalk/server/importlib/packageImport.py
HTH
Regards, -- Silvio Moioli SUSE Manager Development Team
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com