Project

General

Profile

Actions

Bug #51277

closed

cephadm bootstrap: unable to set up admin label

Added by Melissa Li almost 3 years ago. Updated almost 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:

0%

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

Description

I try to run bootstrap like so:

`curl --silent --remote-name --location https://github.com/ceph/ceph/raw/pacific/src/cephadm/cephadm`
`chmod +x cephadm`
`sudo ./cephadm bootstrap --mon-ip 127.0.0.1 --ssh-private-key /home/melissali/.ssh/id_rsa --skip-mon-network --skip-monitoring-stack --single-host-defaults --skip-dashboard --allow-fqdn-hostname`

And I get this error:

```
Adding host localhost.localdomain...
Deploying mon service with default placement...
Deploying mgr service with default placement...
Deploying crash service with default placement...
Enabling client.admin keyring and conf on hosts with "admin" label
Non-zero exit code 22 from /bin/docker run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph --init -e CONTAINER_IMAGE=docker.io/ceph/ceph:v16 -e NODE_NAME=localhost.localdomain -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/43ccdbb6-d07c-11eb-bcaf-080027df1efa:/var/log/ceph:z -v /tmp/ceph-tmp_gxxvt2e:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmp6y2s3cb_:/etc/ceph/ceph.conf:z docker.io/ceph/ceph:v16 orch client-keyring set client.admin label:_admin
/usr/bin/ceph: stderr Invalid command: client-keyring not in start|stop|restart|redeploy|reconfig
/usr/bin/ceph: stderr orch start|stop|restart|redeploy|reconfig <service_name> :  Start, stop, restart, redeploy, or reconfig an entire service (i.e. all daemons)
/usr/bin/ceph: stderr Error EINVAL: invalid command
Unable to set up "admin" label; assuming older version of Ceph
```

I noticed another person also had this issue: https://www.spinics.net/lists/ceph-users/msg66874.html


Related issues 1 (0 open1 closed)

Related to Orchestrator - Bug #51258: cephadm bootstrap: applying host specs suddenly removes the admin keyring from bootstrap hostResolved

Actions
Actions

Also available in: Atom PDF