Hi,
I asked a similar question three weeks ago
(https://lists.ceph.io/hyperkitty/list/ceph-users@xxxxxxx/message/63U7WYHFTHSPUQTAR73W2AIE3E3PJJ4X/), but in my case the bootstrap worked fine. But adding a label (e. g. _admin) had no effect although the host should have had the admin keyring after that. There's no response to my question yet so I'm not sure if that label thing is still
buggy.
Zitat von Ralph Soika <ralph.soika@xxxxxxxxx>:
hi,
if you follow the latest install guide here
<https://docs.ceph.com/en/latest/cephadm/install/> to install
pacific release, the bootstrap command will print the following
error message:
....
......
mgr epoch 13 is available
Generating a dashboard self-signed certificate...
Creating initial admin user...
Fetching dashboard port number...
Ceph Dashboard is now available at:
URL: https://ceph-1:8443/
User: admin
Password: xxx
Enabling client.admin keyring and conf on hosts with "admin" label
Non-zero exit code 22 from /usr/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=tikal-ceph-1
-e CEPH_USE_RANDOM_NONCE=1 -v
/var/log/ceph/d6c1ba28-cd0d-11eb-8b39-960000bd038e:/var/log/ceph:z
-v /tmp/ceph-tmp9t3y8y39:/etc/ceph/ceph.client.admin.keyring:z -v
/tmp/ceph-tmpaepq1rte:/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
......
....
As a result the first node is not working correctly and you can not
add mom hosts. I tried to set the label manually afterwards with :
# ceph orch host label add ceph-1 _admin
But this seems to have no effect.
Is this problem known? So only solution seems to stay with the
octopus release :-/
===
Ralph
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx