Project

General

Profile

Actions

Bug #54071

open

rados/cephadm/osds: Invalid command: missing required parameter hostname(<string>)

Added by Laura Flores over 2 years ago. Updated 3 months ago.

Status:
In Progress
Priority:
High
Category:
cephadm/osd
Target version:
-
% Done:

0%

Source:
Tags:
pacific
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description: rados/cephadm/osds/{0-distro/ubuntu_18.04 0-nvme-loop 1-start 2-ops/rm-zap-add}

/a/yuriw-2022-01-28_15:51:40-rados-wip-yuri2-testing-2022-01-21-0949-pacific-distro-default-smithi/6646486

2022-01-28T16:19:46.706 INFO:teuthology.orchestra.run.smithi064.stderr:+ ceph orch device zap --force
2022-01-28T16:19:47.025 INFO:teuthology.orchestra.run.smithi064.stderr:Invalid command: missing required parameter hostname(<string>)
2022-01-28T16:19:47.025 INFO:teuthology.orchestra.run.smithi064.stderr:orch device zap <hostname> <path> [--force] :  Zap (erase!) a device so it can be re-used
2022-01-28T16:19:47.026 INFO:teuthology.orchestra.run.smithi064.stderr:Error EINVAL: invalid command
2022-01-28T16:19:47.692 DEBUG:teuthology.orchestra.run:got remote process result: 22
2022-01-28T16:19:47.694 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_7c0cb8672986d9dbe53078a123af65593653ef7a/teuthology/run_tasks.py", line 91, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_7c0cb8672986d9dbe53078a123af65593653ef7a/teuthology/run_tasks.py", line 70, in run_one_task
    return task(**kwargs)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_656fd1b72f2e6d6132afd224e66dc1ee26b8d0c8/qa/tasks/cephadm.py", line 1054, in shell
    extra_cephadm_args=args)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_656fd1b72f2e6d6132afd224e66dc1ee26b8d0c8/qa/tasks/cephadm.py", line 46, in _shell
    **kwargs
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_7c0cb8672986d9dbe53078a123af65593653ef7a/teuthology/orchestra/remote.py", line 509, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_7c0cb8672986d9dbe53078a123af65593653ef7a/teuthology/orchestra/run.py", line 455, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_7c0cb8672986d9dbe53078a123af65593653ef7a/teuthology/orchestra/run.py", line 161, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_7c0cb8672986d9dbe53078a123af65593653ef7a/teuthology/orchestra/run.py", line 183, in _raise_for_status
    node=self.hostname, label=self.label
teuthology.exceptions.CommandFailedError: Command failed on smithi064 with status 22: 'sudo /home/ubuntu/cephtest/cephadm --image quay.ceph.io/ceph-ci/ceph:656fd1b72f2e6d6132afd224e66dc1ee26b8d0c8 shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid db117102-8054-11ec-8c35-001a4aab830c -- bash -c \'set -e\nset -x\nceph orch ps\nceph orch device ls\nDEVID=$(ceph device ls | grep osd.1 | awk \'"\'"\'{print $1}\'"\'"\')\nHOST=$(ceph orch device ls | grep $DEVID | awk \'"\'"\'{print $1}\'"\'"\')\nDEV=$(ceph orch device ls | grep $DEVID | awk \'"\'"\'{print $2}\'"\'"\')\necho "host $HOST, dev $DEV, devid $DEVID"\nceph orch osd rm 1\nwhile ceph orch osd rm status | grep ^1 ; do sleep 5 ; done\nceph orch device zap $HOST $DEV --force\nceph orch daemon add osd $HOST:$DEV\nwhile ! ceph osd dump | grep osd.1 | grep up ; do sleep 5 ; done\n\''

Other occurrences:
/a/yuriw-2022-01-28_15:51:40-rados-wip-yuri2-testing-2022-01-21-0949-pacific-distro-default-smithi/6646495
/a/yuriw-2022-01-24_17:43:02-rados-wip-yuri2-testing-2022-01-21-0949-pacific-distro-default-smithi/6638266

The issue appears to be with `ceph orch device zap --force`, where it is expecting a hostname and not getting one.


Related issues 1 (0 open1 closed)

Has duplicate Orchestrator - Bug #57247: [cephadm] Error response from daemon: No such containerDuplicate

Actions
Actions

Also available in: Atom PDF