Is your admin keyring under management? The docs say [1]:

When a client keyring is placed under management, cephadm will:
build a list of target hosts based on the specified placement spec (see Daemon Placement)
       store a copy of the /etc/ceph/ceph.conf file on the specified host(s)

In my case the keyring is under management:

quincy-2:~ # ceph orch client-keyring ls
ENTITY        PLACEMENT     MODE       OWNER  PATH
client.admin label:_admin rw------- 0:0 /etc/ceph/ceph.client.admin.keyring

[1] https://docs.ceph.com/en/quincy/cephadm/operations/#etc-ceph-ceph-conf


Zitat von Robert Sander <r.san...@heinlein-support.de>:

Hi,

On 1/18/24 14:07, Eugen Block wrote:

I just tired that in my test cluster, removed the ceph.conf and admin keyring from /etc/ceph and then added the _admin label to the host via 'ceph orch' and both were created immediately.

This is strange, I only get this:

2024-01-18T11:47:07.870079+0100 mgr.cephtest32.ybltym [INF] Added label _admin to host cephtest23 2024-01-18T11:47:07.878786+0100 mgr.cephtest32.ybltym [INF] Updating cephtest23:/var/lib/ceph/ba37db20-2b13-11eb-b8a9-871ba11409f6/config/ceph.conf 2024-01-18T11:47:08.045347+0100 mgr.cephtest32.ybltym [INF] Updating cephtest23:/etc/ceph/ceph.client.admin.keyring 2024-01-18T11:47:08.212303+0100 mgr.cephtest32.ybltym [INF] Updating cephtest23:/var/lib/ceph/ba37db20-2b13-11eb-b8a9-871ba11409f6/config/ceph.client.admin.keyring

Regards
--
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 220009 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to