Actions
Bug #80512
closed
YZ
YZ
stderr:Invalid command: rotate-key not in start|stop|restart|reconfig
Bug #80512:
stderr:Invalid command: rotate-key not in start|stop|restart|reconfig
Due date:
% Done:
0%
Source:
Backport:
umbrella, tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-3564-g958fa466f1
Released In:
Upkeep Timestamp:
2026-09-23T12:41:08+00:00
Description
/rkachach-2026-09-02_08:47:12-orch:cephadm-wip-rkachach-testing-3-2026-09-01-1537-distro-default-trial/531182
2026-09-02T09:04:37.602 DEBUG:teuthology.orchestra.run.trial057:> sudo /home/ubuntu/cephtest/cephadm --image quay.ceph.io/ceph-ci/ceph:b2cc6b48854d95882f42baca7f27e083b62872a9 shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid f45856c9-a6ac-11f1-8660-d404e6e7d460 -- bash -c 'set -ex
2026-09-02T09:04:37.602 DEBUG:teuthology.orchestra.run.trial057:> for f in osd.0 osd.1 osd.2 osd.3 osd.4 osd.5 osd.6 osd.7 mgr.y mgr.x
2026-09-02T09:04:37.602 DEBUG:teuthology.orchestra.run.trial057:> do
2026-09-02T09:04:37.602 DEBUG:teuthology.orchestra.run.trial057:> echo "rotating key for $f"
2026-09-02T09:04:37.602 DEBUG:teuthology.orchestra.run.trial057:> K=$(ceph auth get-key $f)
2026-09-02T09:04:37.602 DEBUG:teuthology.orchestra.run.trial057:> NK="$K"
2026-09-02T09:04:37.603 DEBUG:teuthology.orchestra.run.trial057:> ceph orch daemon rotate-key $f
2026-09-02T09:04:37.603 DEBUG:teuthology.orchestra.run.trial057:> while [ "$K" == "$NK" ]; do
2026-09-02T09:04:37.603 DEBUG:teuthology.orchestra.run.trial057:> sleep 5
2026-09-02T09:04:37.603 DEBUG:teuthology.orchestra.run.trial057:> NK=$(ceph auth get-key $f)
2026-09-02T09:04:37.603 DEBUG:teuthology.orchestra.run.trial057:> done
2026-09-02T09:04:37.603 DEBUG:teuthology.orchestra.run.trial057:> done
2026-09-02T09:04:37.603 DEBUG:teuthology.orchestra.run.trial057:> '
2026-09-02T09:04:37.724 INFO:teuthology.orchestra.run.trial057.stderr:Inferring config /var/lib/ceph/f45856c9-a6ac-11f1-8660-d404e6e7d460/mon.a/config
2026-09-02T09:04:37.799 INFO:teuthology.orchestra.run.trial057.stderr:+ for f in osd.0 osd.1 osd.2 osd.3 osd.4 osd.5 osd.6 osd.7 mgr.y mgr.x
2026-09-02T09:04:37.799 INFO:teuthology.orchestra.run.trial057.stderr:+ echo 'rotating key for osd.0'
2026-09-02T09:04:37.799 INFO:teuthology.orchestra.run.trial057.stdout:rotating key for osd.0
2026-09-02T09:04:37.800 INFO:teuthology.orchestra.run.trial057.stderr:++ ceph auth get-key osd.0
2026-09-02T09:04:38.028 INFO:teuthology.orchestra.run.trial057.stderr:+ K=AgBI5pdqNxiYJCAACmwYs9ScQJZpQoMCiedeQZYU25y7ZWBsaIp9wIscfXU=
2026-09-02T09:04:38.028 INFO:teuthology.orchestra.run.trial057.stderr:+ NK=AgBI5pdqNxiYJCAACmwYs9ScQJZpQoMCiedeQZYU25y7ZWBsaIp9wIscfXU=
2026-09-02T09:04:38.028 INFO:teuthology.orchestra.run.trial057.stderr:+ ceph orch daemon rotate-key osd.0
2026-09-02T09:04:38.220 INFO:teuthology.orchestra.run.trial057.stderr:Invalid command: rotate-key not in start|stop|restart|reconfig
2026-09-02T09:04:38.221 INFO:teuthology.orchestra.run.trial057.stderr:orch daemon <action:start|stop|restart|reconfig> <name> [--force] : Start, stop, restart, redeploy or reconfig for a specific daemon
2026-09-02T09:04:38.221 INFO:teuthology.orchestra.run.trial057.stderr:Error EINVAL: invalid command
2026-09-02T09:04:38.357 DEBUG:teuthology.orchestra.run:got remote process result: 22
2026-09-02T09:04:38.358 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_teuthology_1af13889b035eb229a9f5e60cb4a3854cbb7ea31/teuthology/run_tasks.py", line 105, in run_tasks
manager = run_one_task(taskname, ctx=ctx, config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_1af13889b035eb229a9f5e60cb4a3854cbb7ea31/teuthology/run_tasks.py", line 83, in run_one_task
return task(**kwargs)
^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_ceph-ci_b2cc6b48854d95882f42baca7f27e083b62872a9/qa/tasks/cephadm.py", line 1599, in shell
_shell(
File "/home/teuthworker/src/git.ceph.com_ceph-ci_b2cc6b48854d95882f42baca7f27e083b62872a9/qa/tasks/cephadm.py", line 41, in _shell
return remote.run(
^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_1af13889b035eb229a9f5e60cb4a3854cbb7ea31/teuthology/orchestra/remote.py", line 596, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_1af13889b035eb229a9f5e60cb4a3854cbb7ea31/teuthology/orchestra/run.py", line 461, in run
r.wait()
File "/home/teuthworker/src/git.ceph.com_teuthology_1af13889b035eb229a9f5e60cb4a3854cbb7ea31/teuthology/orchestra/run.py", line 161, in wait
self._raise_for_status()
File "/home/teuthworker/src/git.ceph.com_teuthology_1af13889b035eb229a9f5e60cb4a3854cbb7ea31/teuthology/orchestra/run.py", line 181, in _raise_for_status
raise CommandFailedError(
teuthology.exceptions.CommandFailedError: Command failed on trial057 with status 22: 'sudo /home/ubuntu/cephtest/cephadm --image quay.ceph.io/ceph-ci/ceph:b2cc6b48854d95882f42baca7f27e083b62872a9 shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid f45856c9-a6ac-11f1-8660-d404e6e7d460 -- bash -c \'set -ex\nfor f in osd.0 osd.1 osd.2 osd.3 osd.4 osd.5 osd.6 osd.7 mgr.y mgr.x\ndo\n echo "rotating key for $f"\n K=$(ceph auth get-key $f)\n NK="$K"\n ceph orch daemon rotate-key $f\n while [ "$K" == "$NK" ]; do\n sleep 5\n NK=$(ceph auth get-key $f)\n done\ndone\n\''
2026-09-02T09:04:38.362 DEBUG:teuthology.run_tasks:Unwinding manager cephadm
2026-09-02T09:04:38.377 INFO:tasks.cephadm:Teardown begin
2026-09-02T09:04:38.378 INFO:tasks.cephadm:Disabling cephadm mgr module
2026-09-02T09:04:38.378 DEBUG:teuthology.orchestra.run.trial057:> sudo /home/ubuntu/cephtest/cephadm --image quay.ceph.io/ceph-ci/ceph:b2cc6b48854d95882f42baca7f27e083b62872a9 shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid f45856c9-a6ac-11f1-8660-d404e6e7d460 -- ceph mgr module disable cephadm
YZ Updated by yonatan zaken 3 months ago
- Status changed from New to In Progress
- Pull request ID set to 71805
YZ Updated by yonatan zaken 3 months ago
- Status changed from In Progress to Fix Under Review
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 #80792: umbrella: stderr:Invalid command: rotate-key not in start|stop|restart|reconfig added
UB Updated by Upkeep Bot 2 months ago
- Copied to Backport #80793: tentacle: stderr:Invalid command: rotate-key not in start|stop|restart|reconfig added
UB Updated by Upkeep Bot 2 months ago
- Status changed from Pending Backport to Backporting
- Merge Commit set to 958fa466f152742a713ae20bc90a806f892f055a
- Fixed In set to v21.3.0-3564-g958fa466f1
- Upkeep Timestamp set to 2026-09-23T12:41:08+00:00
Actions