Bug #55838
closed"download_cephadm" step fails
0%
Description
Description: rados/cephadm/osds/{0-distro/centos_8.stream_container_tools_crun 0-nvme-loop 1-start 2-ops/rmdir-reactivate}
/a/yuriw-2022-06-01_23:21:01-rados-wip-yuri3-testing-2022-06-01-1035-quincy-distro-default-smithi/6859394
2022-06-02T04:11:15.125 INFO:tasks.cephadm:Config: {'roleless': True, 'conf': {'mgr': {'debug mgr': 20, 'debug ms': 1}, 'mon': {'debug mon': 20, 'debug ms': 1, 'debug paxos': 20}, 'osd': {'debug ms': 1, 'debug osd': 20, 'osd shutdown pgref assert': True}}, 'flavor': 'default', 'log-ignorelist': ['\\(MDS_ALL_DOWN\\)', '\\(MDS_UP_LESS_THAN_MAX\\)'], 'sha1': '7acab8c9655e539662acea210f7969ded550456e'}
2022-06-02T04:11:15.126 INFO:tasks.cephadm:Cluster image is quay.ceph.io/ceph-ci/ceph:7acab8c9655e539662acea210f7969ded550456e
2022-06-02T04:11:15.127 INFO:tasks.cephadm:Cluster fsid is 0b82dd26-e22a-11ec-be40-001a4aab830c
2022-06-02T04:11:15.127 INFO:tasks.cephadm:Choosing monitor IPs and ports...
2022-06-02T04:11:15.127 INFO:tasks.cephadm:No mon roles; fabricating mons
2022-06-02T04:11:15.128 INFO:tasks.cephadm:Monitor IPs: {'mon.smithi111': '172.21.15.111', 'mon.smithi154': '172.21.15.154'}
2022-06-02T04:11:15.128 INFO:tasks.cephadm:Normalizing hostnames...
2022-06-02T04:11:15.128 DEBUG:teuthology.orchestra.run.smithi111:> sudo hostname $(hostname -s)
2022-06-02T04:11:15.158 DEBUG:teuthology.orchestra.run.smithi154:> sudo hostname $(hostname -s)
2022-06-02T04:11:15.186 INFO:tasks.cephadm:Downloading cephadm (repo https://github.com/ceph/ceph-ci.git ref 7acab8c9655e539662acea210f7969ded550456e)...
2022-06-02T04:11:15.188 DEBUG:teuthology.orchestra.run.smithi111:> curl --silent https://raw.githubusercontent.com/ceph/ceph-ci/7acab8c9655e539662acea210f7969ded550456e/src/cephadm/cephadm > /home/ubuntu/cephtest/cephadm && ls -l /home/ubuntu/cephtest/cephadm
2022-06-02T04:11:30.424 INFO:teuthology.orchestra.run.smithi111.stdout:-rw-rw-r--. 1 ubuntu ubuntu 452 Jun 2 04:11 /home/ubuntu/cephtest/cephadm
2022-06-02T04:11:30.524 DEBUG:teuthology.orchestra.run.smithi154:> curl --silent https://raw.githubusercontent.com/ceph/ceph-ci/7acab8c9655e539662acea210f7969ded550456e/src/cephadm/cephadm > /home/ubuntu/cephtest/cephadm && ls -l /home/ubuntu/cephtest/cephadm
2022-06-02T04:11:30.674 INFO:teuthology.orchestra.run.smithi154.stdout:-rw-rw-r--. 1 ubuntu ubuntu 348634 Jun 2 04:11 /home/ubuntu/cephtest/cephadm
2022-06-02T04:11:30.675 DEBUG:teuthology.orchestra.run.smithi111:> test -s /home/ubuntu/cephtest/cephadm && test $(stat -c%s /home/ubuntu/cephtest/cephadm) -gt 1000 && chmod +x /home/ubuntu/cephtest/cephadm
2022-06-02T04:11:30.698 DEBUG:teuthology.orchestra.run:got remote process result: 1
2022-06-02T04:11:30.698 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
AM Updated by Aishwarya Mathuria almost 3 years ago
/a/yuriw-2024-01-03_16:19:00-rados-wip-yuri6-testing-2024-01-02-0832-distro-default-smithi/
LF Updated by Laura Flores almost 3 years ago
- Tags set to test-failure
/a/yuriw-2024-01-05_00:57:18-rados-wip-yuri10-testing-2024-01-04-1245-distro-default-smithi/7507781
2024-01-05T03:28:53.750 INFO:teuthology.orchestra.run.smithi187.stdout:-rw-rw-r--. 1 ubuntu ubuntu 14 Jan 5 03:28 /home/ubuntu/cephtest/cephadm
2024-01-05T03:28:53.750 DEBUG:teuthology.orchestra.run.smithi107:> test -s /home/ubuntu/cephtest/cephadm && test $(stat -c%s /home/ubuntu/cephtest/cephadm) -gt 1000 && chmod +x /home/ubuntu/cephtest/cephadm
2024-01-05T03:28:53.769 DEBUG:teuthology.orchestra.run:got remote process result: 1
2024-01-05T03:28:53.770 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_teuthology_01dd171a561ca33631bf0a38b105879779f72410/teuthology/contextutil.py", line 30, in nested
vars.append(enter())
File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/home/teuthworker/src/github.com_ceph_ceph-c_0330126f78e770bca83c438e8e604bb713cc8a2d/qa/tasks/cephadm.py", line 171, in download_cephadm
_fetch_cephadm_from_github(ctx, config, ref)
File "/home/teuthworker/src/github.com_ceph_ceph-c_0330126f78e770bca83c438e8e604bb713cc8a2d/qa/tasks/cephadm.py", line 233, in _fetch_cephadm_from_github
ctx.cluster.run(
File "/home/teuthworker/src/git.ceph.com_teuthology_01dd171a561ca33631bf0a38b105879779f72410/teuthology/orchestra/cluster.py", line 85, in run
procs = [remote.run(**kwargs, wait=_wait) for remote in remotes]
File "/home/teuthworker/src/git.ceph.com_teuthology_01dd171a561ca33631bf0a38b105879779f72410/teuthology/orchestra/cluster.py", line 85, in <listcomp>
procs = [remote.run(**kwargs, wait=_wait) for remote in remotes]
File "/home/teuthworker/src/git.ceph.com_teuthology_01dd171a561ca33631bf0a38b105879779f72410/teuthology/orchestra/remote.py", line 523, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
File "/home/teuthworker/src/git.ceph.com_teuthology_01dd171a561ca33631bf0a38b105879779f72410/teuthology/orchestra/run.py", line 455, in run
r.wait()
File "/home/teuthworker/src/git.ceph.com_teuthology_01dd171a561ca33631bf0a38b105879779f72410/teuthology/orchestra/run.py", line 161, in wait
self._raise_for_status()
File "/home/teuthworker/src/git.ceph.com_teuthology_01dd171a561ca33631bf0a38b105879779f72410/teuthology/orchestra/run.py", line 181, in _raise_for_status
raise CommandFailedError(
teuthology.exceptions.CommandFailedError: Command failed on smithi107 with status 1: 'test -s /home/ubuntu/cephtest/cephadm && test $(stat -c%s /home/ubuntu/cephtest/cephadm) -gt 1000 && chmod +x /home/ubuntu/cephtest/cephadm'
LF Updated by Laura Flores almost 3 years ago
- Subject changed from cephadm/osds: Exception with "test -s /home/ubuntu/cephtest/cephadm && test $(stat -c%s /home/ubuntu/cephtest/cephadm) -gt 1000 && chmod +x /home/ubuntu/cephtest/cephadm" to "download_cephadm" step fails
KS Updated by Kamoltat (Junior) Sirivadhna almost 3 years ago
/a/yuriw-2024-01-10_15:06:10-rados-wip-yuri-testing-2024-01-09-1331-distro-default-smithi/7511564/
KS Updated by Konstantin Shalygin almost 2 years ago
- Backport deleted (
quincy)
JP Updated by Jaya Prakash over 1 year ago
/a/yuriw-2025-03-22_14:06:07-orch-wip-yuri2-testing-2025-03-21-0820-distro-default-smithi
2 jobs: ['8202590', '8202572']
SS Updated by Sridhar Seshasayee 9 months ago
/a/sseshasa-2026-02-26_14:56:45-rados-wip-sseshasa-testing-2026-02-26-1772100687-distro-default-trial/72481
YZ Updated by yonatan zaken 5 months ago
Seems to be reproduced in: https://pulpito.ceph.com/rkachach-2026-06-27_08:00:42-orch:cephadm-wip-rkachach-testing-3-2026-06-26-1442-distro-default-trial/319287
Root cause seems to be usage of:
- cephadm:
cephadm_branch: v18.2.0
cephadm_git_url: https://github.com/ceph/ceph
image: quay.io/ceph/ceph:v18.2.0
roleless: true
This triggers this call in ceph/qa/tasks/cephadm.py:
def _fetch_cephadm_from_github(ctx, config, ref):
ref = config.get('cephadm_branch', ref)
git_url = config.get('cephadm_git_url', teuth_config.get_ceph_git_url())
file_path = config.get('cephadm_file_path', 'src/cephadm/cephadm')
This fails as in v18.2.0, there is no binary cephadm file under src/cephadm/cephadm
RK Updated by Redouane Kachach Elhicou 2 months ago
- Status changed from New to Fix Under Review
- Assignee set to yonatan zaken
- Pull request ID set to 70161
RK Updated by Redouane Kachach Elhicou 2 months ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to umbrella, tentacle
UB Updated by Upkeep Bot 2 months ago
- Copied to Backport #80689: umbrella: "download_cephadm" step fails added
UB Updated by Upkeep Bot 2 months ago
- Copied to Backport #80690: tentacle: "download_cephadm" step fails added
UB Updated by Upkeep Bot 2 months ago
- Status changed from Pending Backport to Backporting
- Merge Commit set to 332ff9a6c90774825a456ec9df3116227f2d5c97
- Fixed In set to v21.3.0-3462-g332ff9a6c9
- Upkeep Timestamp set to 2026-09-21T11:49:55+00:00