Re: cephadm failed in Pacific release: Unable to set up "admin" label

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

thanks for your response.

Have you installed the cephadm tool with

curl --silent --remote-name --location https://github.com/ceph/ceph/raw/pacific/src/cephadm/cephadm

 On which OS are your running?

I can access the dashboard using the following bootstrap command:

sudo cephadm bootstrap --mon-ip 10.0.0.3 --initial-dashboard-user admin --initial-dashboard-password xxx --dashboard-password-noupdate --skip-mon-network

But the server did not work as Octopus. Adding mom hosts has no effect, so I guess something important is missing.

Also when you follow the install guide from the pacific release here: https://docs.ceph.com/en/pacific/cephadm/install/

it is very strange that the commands are all using 'octopus' instead of 'pacific'. Ceph docu is always some a detective work...

===
Ralph

On 14.06.21 15:31, Eugen Block wrote:
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
--

*Imixs Software Solutions GmbH*
*Web:* www.imixs.com <http://www.imixs.com> *Phone:* +49 (0)89-452136 16
*Timezone:* Europe/Berlin - CET/CEST
*Office:* Agnes-Pockels-Bogen 1, 80992 München
Registergericht: Amtsgericht Muenchen, HRB 136045
Geschaeftsführer: Gaby Heinle u. Ralph Soika

*Imixs* is an open source company, read more: www.imixs.org <http://www.imixs.org>

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux