Bug #74708
closedFailed to download metadata for repo 'epel' causes 'sudo yum install -y kernel' to fail on trial129
0%
Description
/a/skanta-2026-01-26_13:06:37-rados-wip-bharath10-testing-2026-01-26-1500-distro-default-trial/18330
2026-01-26T13:25:10.333 INFO:teuthology.orchestra.run.trial129.stderr:Error: Failed to download metadata for repo 'epel': Yum repo downloading error: Downloading error(s): repodata/ff53924fe3c5454d9be6c6c118079dd268566c06daaa507402fb91a6d84bb058-filelists.xml.xz - Cannot download, all mirrors were already tried without success
2026-01-26T13:25:10.343 DEBUG:teuthology.orchestra.run:got remote process result: 1
2026-01-26T13:25:10.344 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/run_tasks.py", line 112, in run_tasks
manager.__enter__()
File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/task/kernel.py", line 1374, in task
with parallel() as p:
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/parallel.py", line 84, in __exit__
for result in self:
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/parallel.py", line 98, in __next__
resurrect_traceback(result)
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/parallel.py", line 30, in resurrect_traceback
raise exc.exc_info[1]
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/parallel.py", line 23, in capture_traceback
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/task/kernel.py", line 1408, in process_role
version = need_to_install_distro(role_remote, role_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/task/kernel.py", line 761, in need_to_install_distro
install_stdout = remote.sh(
^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/orchestra/remote.py", line 97, in sh
proc = self.run(**kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/orchestra/remote.py", line 575, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/orchestra/run.py", line 461, in run
r.wait()
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/orchestra/run.py", line 161, in wait
self._raise_for_status()
File "/home/teuthworker/src/git.ceph.com_teuthology_c433f1062990a0488dc29a553589bc609a460691/teuthology/orchestra/run.py", line 181, in _raise_for_status
raise CommandFailedError(
teuthology.exceptions.CommandFailedError: Command failed on trial129 with status 1: 'sudo yum install -y kernel'
DG Updated by David Galloway 10 months ago
Had a chat about this in teuthology Slack - https://ceph-storage.slack.com/archives/C04SYTAN25P/p1770050068463439
JP Updated by Jaya Prakash 8 months ago
/a/jayaprakash-2026-04-01_18:25:08-rados-wip-jaya-bs-testing1-01-04-2026-distro-default-trial
2 jobs: ['129753', '129837']
CB Updated by Casey Bodley 8 months ago
one rgw suite showed 4 of these failures in https://pulpito.ceph.com/ivancich-2026-04-08_18:35:15-rgw-main-distro-default-trial/
https://qa-proxy.ceph.com/teuthology/ivancich-2026-04-08_18:35:15-rgw-main-distro-default-trial/140734/teuthology.log
https://qa-proxy.ceph.com/teuthology/ivancich-2026-04-08_18:35:15-rgw-main-distro-default-trial/140776/teuthology.log
https://qa-proxy.ceph.com/teuthology/ivancich-2026-04-08_18:35:15-rgw-main-distro-default-trial/140786/teuthology.log
https://qa-proxy.ceph.com/teuthology/ivancich-2026-04-08_18:35:15-rgw-main-distro-default-trial/140794/teuthology.log
JP Updated by Jaya Prakash 7 months ago
/a/jayaprakash-2026-04-29_15:21:37-rados-wip-jaya-bs-testing-tentacle-29-04-2026-distro-default-trial/185979
LS Updated by Lee Sanders 7 months ago
/a/skanta-2026-05-05_10:05:55-rados-wip-bharath11-testing-2026-05-05-0951-tentacle-distro-default-trial/193465
LS Updated by Lee Sanders 7 months ago
/a/skanta-2026-05-05_10:05:55-rados-wip-bharath11-testing-2026-05-05-0951-tentacle-distro-default-trial
['193499', '193496', '193488', '193504', '193494', '193487']
['193503', '193491', '193509', '193513', '193507', '193500']
['193497', '193517', '193495', '193510', '193505', '193516']
DG Updated by David Galloway 7 months ago
- Status changed from New to Need More Info
- Assignee set to David Galloway
A few of these are upstream epel mirror failures. We are using our own internal mirror of epel now.
The recent failures in the skanta runs are from soko01 unintentionally being DDoSed.
2026-05-05T11:04:29.526 INFO:teuthology.orchestra.run.trial055.stderr:Errors during downloading metadata for repository 'lab-extras': 2026-05-05T11:04:29.527 INFO:teuthology.orchestra.run.trial055.stderr: - Status code: 504 for https://apt-mirror.sepia.ceph.com/lab-extras/9/repodata/repomd.xml (IP: 192.86.31.5)
I added some caching and rate limiting in the nginx config to mitigate this.
Monitoring.
SS Updated by Sridhar Seshasayee 6 months ago
/a/sseshasa-2026-05-26_18:29:48-rados-wip-sseshasa-testing-2026-05-26-1779803771-distro-default-trial/
4 jobs: ['238300', '238243', '238242', '238294']
DG Updated by David Galloway 6 months ago
Sridhar Seshasayee wrote in #note-8:
/a/sseshasa-2026-05-26_18:29:48-rados-wip-sseshasa-testing-2026-05-26-1779803771-distro-default-trial/
4 jobs: ['238300', '238243', '238242', '238294']
2026-05-26T20:00:34.549 DEBUG:teuthology.orchestra.run.trial054:> sudo yum install -y kernel 2026-05-26T20:00:46.527 INFO:teuthology.orchestra.run.trial054.stdout:CentOS Stream 9 - BaseOS 791 kB/s | 8.9 MB 00:11 2026-05-26T20:00:50.791 INFO:teuthology.orchestra.run.trial054.stdout:CentOS Stream 9 - AppStream 7.4 MB/s | 28 MB 00:03 2026-05-26T20:04:18.545 INFO:teuthology.orchestra.run.trial054.stdout:CentOS Stream 9 - CRB 41 kB/s | 8.1 MB 03:25 2026-05-26T20:04:20.109 INFO:teuthology.orchestra.run.trial054.stdout:CentOS Stream 9 - Extras packages 26 kB/s | 21 kB 00:00 2026-05-26T20:05:16.027 INFO:teuthology.orchestra.run.trial054.stdout:Extra Packages for Enterprise Linux 299 kB/s | 16 MB 00:55 2026-05-26T20:05:16.030 INFO:teuthology.orchestra.run.trial054.stderr:Errors during downloading metadata for repository 'epel': 2026-05-26T20:05:16.030 INFO:teuthology.orchestra.run.trial054.stderr: - Status code: 404 for https://cofractal-ewr.mm.fcix.net/epel/9/Everything/x86_64/repodata/99d9800482ec62a8fc6db7815946011f2f4188a10a16a2f7f3d92af4ccdd822c-primary.xml.xz (IP: 199.255.19.134)
I just captured a new CentOS 9 FOG image with epel-mirror baked into it. The kernel task runs before ceph-cm-ansible runs so it was still trying to use the upstream mirrors that are not updated atomically.
CF Updated by Connor Fawcett 6 months ago
/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263741
/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263901
/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263893
DG Updated by David Galloway 6 months ago
Connor Fawcett wrote in #note-10:
/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263741
/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263901
/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263893
Same issue. Jobs ran before I baked the epel mirror into the FOG OS image.
DG Updated by David Galloway 5 months ago
- Status changed from Need More Info to Resolved