-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
Testable
-
-
https://pagure.io/fedora-infrastructure/issue/12183
The f41 x86_64 and aarch64 (but not s390x and ppc64le) repos are returning a metalink without the current repomd.xml checksums:
```
✗ podman run -it registry.fedoraproject.org/fedora:41 bash
[root@46a695fcf14e /]# dnf --refresh check-update
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - x86_64 100% | 3.0 KiB/s | 6.0 KiB | 00m02s
Fedora 41 - x86_64 100% [==================] | 12.3 KiB/s | 385.2 KiB | -00m00s
Fedora 41 - x86_64 100% [==================] | 12.3 KiB/s | 385.2 KiB | -00m00s
Fedora 41 - x86_64 100% [==================] | 12.3 KiB/s | 385.2 KiB | -00m00s
Fedora 41 - x86_64 100% [==================] | 12.3 KiB/s | 391.1 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
Fedora 41 - x86_64 100% [==================] | 12.3 KiB/s | 391.1 KiB | -00m00s
...snip...
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f3980
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f3980
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055
>>> Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirror
Failed to download metadata (metalink: "https://mirrors.fedoraproject.org/metalink?repo=fedora-41&arch=x86_64") for repository "fedora"
Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
```
I see in the primary-mirror-fedora pod:
```
Syncing directories of Fedora Linux ━━━━━╸ 14% 0:00:46
Traceback (most recent call last):
File "/opt/app-root/bin/mm2_update-master-directory-list", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/app-root/lib64/python3.11/site-packages/click/core.py", line 1157, in _call_
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.11/site-packages/mirrormanager2/utility/update_master_directory_list.py", line 760, in main
check_category(
File "/opt/app-root/lib64/python3.11/site-packages/mirrormanager2/utility/update_master_directory_list.py", line 810, in check_category
syncer.sync(**extra_args)
File "/opt/app-root/lib64/python3.11/site-packages/mirrormanager2/utility/update_master_directory_list.py", line 132, in sync
self.sync_directories(category_directories)
File "/opt/app-root/lib64/python3.11/site-packages/mirrormanager2/utility/update_master_directory_list.py", line 217, in sync_directories
loader.load()
File "/opt/app-root/lib64/python3.11/site-packages/mirrormanager2/lib/umdl.py", line 204, in load
md5dict = self._checksums_from_globs(self.md5_globs, 32)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.11/site-packages/mirrormanager2/lib/umdl.py", line 169, in _checksums_from_globs
for f in self._get_filenames():
File "/opt/app-root/lib64/python3.11/site-packages/mirrormanager2/lib/umdl.py", line 177, in _get_filenames
yield from os.listdir(os.path.join(self.config["UMDL_PREFIX"], self.relative_dir_name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/srv/pub/fedora/linux/development/41/Workstation/aarch64/iso'
umdl for Fedora Linux returned non-zero. Something failed.Sun Sep 15 11:13:52 PM UTC 2024
```
Indeed there is no iso dir... there's an images/ dir for the raw image...
CC: @abompard @adrian