Looks like the changes have been reverted. tumbleweed-cli switched to snapshot 20231019 now. Am 20.10.23 um 12:57 schrieb Andrei Borzenkov:
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
-- PGP Public Key available at https://pgp.mit.edu/ Key fingerprint = 3264 280C 05B1 572F 3F0B 42B8 1E7B 2D9D 063B D507