Pacific: _admin label does not distribute admin keyring
Hi, I'm currently exploring Pacific and the "_admin" label doesn't seem to work as expected. pacific1:~ # ceph -v ceph version 16.2.3-26-g422932e923 (422932e923eb429b9e16c352a663968f4b6f0a52) pacific (stable) According to the docs [1] the "_admin" label should instruct cephadm to distribute a ceph.conf and the admin keyring to the labeled host:
_admin: Distribute client.admin and ceph.conf to this host.
By default, an _admin label is applied to the first host in the cluster (where bootstrap was originally run), and the client.admin key is set to be distributed to that host via the ceph orch client-keyring ... function. Adding this label to additional hosts will normally cause cephadm to deploy config and keyring files in /etc/ceph.
I can not confirm this, neither has the bootstrap node (pacific1) the "_admin" label (but he has the ceph.conf and admin keyring) nor does pacific2 have the admin keyring. Here's my host ls: pacific1:~ # ceph orch host ls HOST ADDR LABELS STATUS pacific1 192.168.124.183 mon pacific2 192.168.124.49 _admin mon pacific5 192.168.124.63 mon pacific1:~ # ssh pacific2 find /etc/ceph /etc/ceph /etc/ceph/rbdmap pacific1:~ # find /etc/ceph/ /etc/ceph/ /etc/ceph/ceph.pub /etc/ceph/ceph.conf /etc/ceph/rbdmap /etc/ceph/ceph.client.admin.keyring I searched a bit on tracker.ceph.com but couldn't find an existing issue. Is this worth a bug report? Regards, Eugen [1] https://docs.ceph.com/en/latest/cephadm/host-management/#special-host-labels
participants (1)
-
Eugen Block