On Fri, Oct 20, 2023 at 11:22 AM Bengt Gördén <bengan@bag.org> wrote:
On 2023-10-20 08:37, Andrei Borzenkov wrote:
On Fri, Oct 20, 2023 at 7:29 AM Oliver Schwabedissen <oliver@schwabedissen.name> wrote:
Hello,
I noticed that tumbleweed-cli stopped working between snapshots 20231017 and 20231018. Has something been changed?
tumbleweed status gives me:
tumbleweed status latest : target : 20231017 installed: 20231017
tumbleweed switch gives an error:
tumbleweed switch Unable to determine latest version (likely due to network connection issue)
andrei@tumbleweed:~> curl --fail --silent "https://download.opensuse.org/history/latest" andrei@tumbleweed:~> curl --fail --silent -L "https://download.opensuse.org/history/latest" 20231018 andrei@tumbleweed:~>
Something changed in how the "latest" link is generated or how it is handled by the server.
I think tumbleweed-cli needs to be patched with downloadcontentcdn in $URL_PRE_MIGRATE and $URL_POST_MIGRATE
It just needs to (be patched to) follow redirects.
The download page has been moved to CDN while the file https://download.opensuse.org/history/ with index.html is still on download.opensuse.org.
$ curl --dump-header - https://download.opensuse.org/history/latest HTTP/2 302 content-length: 0 date: Fri, 20 Oct 2023 08:06:53 GMT location: https://downloadcontentcdn.opensuse.org/history/latest server: Apache
-- /bengan