unable to calc client keyring client.admin placement PlacementSpec(label='_admin'): Cannot place : No matching hosts for label _admin
3/3/23 2:13:53 AM[WRN]unable to calc client keyring client.admin placement PlacementSpec(label='_admin'): Cannot place : No matching hosts for label _admin I keep seeing this warning in the logs. I’m not really sure what action to take to resolve this issue. Thanks -jeremy
Hi, what's your ceph version? You probably don't have host labels set (check 'ceph orch host ls') and cephadm tries to copy a keyring to admin hosts with the _admin label [1]. Also check out how to put keyrings under management [2], I haven't dealt with that too intense yet. But basically it states:
Starting from versions 16.2.10 (Pacific) and 17.2.1 (Quincy), in addition to the default location /etc/ceph/ cephadm also stores config and keyring files in the /var/lib/ceph/<fsid>/config directory. It is usually a good idea to store a copy of the config and client.admin keyring on any host used to administer the cluster via the CLI. By default, cephadm does this for any nodes that have the _admin label (which normally includes the bootstrap host).
Regards, Eugen [1] https://docs.ceph.com/en/latest/cephadm/install/#adding-hosts [2] https://docs.ceph.com/en/latest/cephadm/operations/#client-keyrings-and-conf... Zitat von Jeremy Hansen <jeremy@skidrow.la>:
3/3/23 2:13:53 AM[WRN]unable to calc client keyring client.admin placement PlacementSpec(label='_admin'): Cannot place : No matching hosts for label _admin
I keep seeing this warning in the logs. I’m not really sure what action to take to resolve this issue.
Thanks -jeremy
On 03.03.23 11:16, Jeremy Hansen wrote:
3/3/23 2:13:53 AM[WRN]unable to calc client keyring client.admin placement PlacementSpec(label='_admin'): Cannot place : No matching hosts for label _admin
I keep seeing this warning in the logs. I’m not really sure what action to take to resolve this issue.
"No matching hosts for label _admin" means that there is no host which has the label _admin. The label _admin is a special label which instructs the orchestrator to keep /etc/ceph/ceph.conf and /etc/ceph/ceph.client.admin.keyring on such labeled hosts up to date. You could just label one of the cluster hosts with _admin: ceph orch host label add hostname _admin https://docs.ceph.com/en/quincy/cephadm/host-management/#special-host-labels https://docs.ceph.com/en/quincy/cephadm/operations/#client-keyrings-and-conf... 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
participants (3)
-
Eugen Block
-
Jeremy Hansen
-
Robert Sander