Closed oscfdezdz closed 1 year ago
Same for me on 37.20230127.0. Looks like the server has issues!
May be unrelated but when gnome-software fired up on login just now, it went crazy and wrote out like 40Gb of data, swamping I/O. Coincidence or a buggy reaction to a failure to check updates?
Also having this issue today with version 37.20221231.0
. rpm-ostree upgrade
is throwing:
error: While pulling fedora/37/x86_64/silverblue: Server returned HTTP 404
I tried to install Silverblue at 9:30 am (2023/01/29—GMT-03) and had the same issue!
Having the same issue here. Surprisingly rpm-ostree refresh-md -f works fine... Guess the server just is doing some maintenance
Exciting; I don't have admin privileges on the repo but I'm guessing this is related to recent pruner runs. I saw https://github.com/coreos/fedora-coreos-releng-automation/commit/9ef521ab9099a14773ce38d1fc6819932b7f67f5 go by and I suspect that the prod ref was aliased and got removed?
I think it should just be a matter of re-creating the alias to fedora/37/x86_64/updates/silverblue
.
I have the same problem!
Same issue when trying to rebase from kinoite 36 to 37
error: While pulling fedora/37/x86_64/kinoite: Server returned HTTP 404
Same issue here trying to upgrade Silverblue (37)
error: While pulling fedora/37/x86_64/silverblue: Server returned HTTP 404
hmm. I just ran an rpm-ostree upgrade
and it didn't give me a 404
. Are people still able to observe this problem?
Exciting; I don't have admin privileges on the repo but I'm guessing this is related to recent pruner runs. I saw coreos/fedora-coreos-releng-automation@9ef521a go by and I suspect that the prod ref was aliased and got removed?
At least the logs from the pruner for F37 SB would indicate otherwise:
2023-01-29 00:56:00,676 INFO fedora-ostree-pruner - Skipping ref fedora/37/x86_64/silverblue in repo /mnt/koji/ostree/repo. Policy is to keep all commits.
2023-01-29 00:56:00,677 INFO fedora-ostree-pruner - Skipping ref fedora/37/x86_64/updates/silverblue in repo /mnt/koji/ostree/repo. Policy is to keep all commits.
2023-01-29 00:56:00,679 INFO fedora-ostree-pruner - Pruning the fedora/37/x86_64/testing/silverblue ref in repo /mnt/koji/ostree/repo to time:90
2023-01-29 00:56:00,679 INFO fedora-ostree-pruner - Running command: ['ostree', 'prune', '--repo', '/mnt/koji/ostree/repo', '--commit-only', '--only-branch', 'fedora/37/x86_64/testing/silverblue', '--refs-only', '--keep-younger-than=90 days ago']
Total (commit only) objects: 26227
Deleted 181 objects, 13.2 MB freed
though there was a later error when running ostree summary -u
, which have lead to some issues:
2023-01-29 01:11:02,625 INFO fedora-ostree-pruner - Deleting the fedora/30/x86_64/testing/silverblue ref in repo /mnt/koji/ostree/repo.
2023-01-29 01:11:02,625 INFO fedora-ostree-pruner - Running command: ['ostree', 'refs', '--repo', '/mnt/koji/ostree/repo', '--delete', 'fedora/30/x86_64/testing/silverblue']
2023-01-29 01:11:02,684 INFO fedora-ostree-pruner - Running command: ['ostree', 'summary', '--repo', '/mnt/koji/ostree/repo', '-u']
error: No such metadata object 619554b37ce12caccb9425779aca709a40fe0050d0a74fc692e34b0052a5c9f0.commit
2023-01-29 01:11:03,001 ERROR fedora-ostree-pruner - Running command returned bad exitcode: 1
We've seen this error before and @jlebon and I have been trying to understand what causes it.
Though, as mentioned in my previous comment I'm not observing any 404
errors now.
It is still 404
ing for me. Perhaps it is an issue with a particular mirror?
I think maybe the reason I wasn't getting a 404
is because I actually updated my local system yesterday and it was completely up to date, so I didn't need to pull any content from the mirror.
I'm investigating further.
OK I think I've resolved the issue by re-importing the commits from the compose
repo:
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo rev-parse fedora/37/x86_64/silverblue
f3e6e1dff39f0c33b2a314a18051c7bf896addfe6ae3ecef1ad97672a6f12fdd
sh-5.2$ ostree --repo=/mnt/koji/compose/ostree/repo rev-parse fedora/37/x86_64/silverblue
f3e6e1dff39f0c33b2a314a18051c7bf896addfe6ae3ecef1ad97672a6f12fdd
sh-5.2$
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo pull-local /mnt/koji/compose/ostree/repo f3e6e1dff39f0c33b2a314a18051c7bf896addfe6ae3ecef1ad97672a6f12fdd
1 metadata, 0 content objects imported; 0 bytes content written
## Also needed to copy over the signature
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo pull-local /mnt/koji/compose/ostree/repo 214dfba21c68bba96ba1e94d3d4a7ddb8bae658a7cc92b7313b4088caa5a816e
Scanning metadata: 7056
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo rev-parse fedora/37/aarch64/silverblue
50fd6768f076e0bdd6e049b2c28d97432fbdd5026825754fbe7cb31fa227278f
sh-5.2$ ostree --repo=/mnt/koji/compose/ostree/repo rev-parse fedora/37/aarch64/silverblue
50fd6768f076e0bdd6e049b2c28d97432fbdd5026825754fbe7cb31fa227278f
sh-5.2$
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo pull-local /mnt/koji/compose/ostree/repo fedora/37/aarch64/silverblue
1 metadata, 0 content objects imported; 0 bytes content written
the fedora/37/ppc64le/silverblue
seemed fine.
Similarly for kinoite:
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo rev-parse fedora/37/x86_64/kinoite
3c16959fb552440f79c0ddc7e4f68587ef9111bb8c6df9d9502e69c55d4e9577
sh-5.2$ ostree --repo=/mnt/koji/compose/ostree/repo rev-parse fedora/37/x86_64/kinoite
3c16959fb552440f79c0ddc7e4f68587ef9111bb8c6df9d9502e69c55d4e9577
sh-5.2$
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo pull-local /mnt/koji/compose/ostree/repo fedora/37/x86_64/kinoite
Scanning metadata: 10988
# not sure what this was needed
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo pull-local /mnt/koji/compose/ostree/repo 3cf1fe94e740bd5c4918268b12eca5e8adf93f5407cb222a5c4f4b464a7d75b8
1 metadata, 0 content objects imported; 0 bytes content written
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo rev-parse fedora/37/aarch64/kinoite
619554b37ce12caccb9425779aca709a40fe0050d0a74fc692e34b0052a5c9f0
sh-5.2$ ostree --repo=/mnt/koji/compose/ostree/repo rev-parse fedora/37/aarch64/kinoite
619554b37ce12caccb9425779aca709a40fe0050d0a74fc692e34b0052a5c9f0
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo pull-local /mnt/koji/compose/ostree/repo fedora/37/aarch64/kinoite
1 metadata, 0 content objects imported; 0 bytes content written
# not sure why this was needed
sh-5.2$ ostree --repo=/mnt/koji/ostree/repo pull-local /mnt/koji/compose/ostree/repo 6f6ad875fc14d19703a511d34f59c56e7a2a16e47457c0c386ca4a7c005ef3ce
the fedora/37/ppc64le/kinoite
seemed fine.
It's working fine now, just updated my system without an issue. Thanks.
Thanks @dustymabe for the Sunday fix!
Double thanks @dustymabe! Confirm upgrade is functional here.
Can confirm all is well for me too. Thanks @dustymabe! 🙇
Just to close the loop on this, I think https://github.com/ostreedev/ostree/pull/2808 should fix the underlying issue so this doesn't happen again.
To Reproduce Please describe the steps needed to reproduce the bug:
rpm-ostree upgrade
error: While pulling fedora/37/x86_64/silverblue: Server returned HTTP 404
Expected behavior Upgrade the system.
OS version: