Actions
Bug #65335
opencephadm: client-keyring also overwrites ceph.conf
% Done:
0%
Source:
Tags:
backport_processed
Backport:
squid, reef, quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Description
If you have something like
[ceph: root@vm-00 /]# ceph orch client-keyring ls ENTITY PLACEMENT MODE OWNER PATH client.admin label:_admin rw------- 0:0 /etc/ceph/ceph.client.admin.keyring client.foo label:foo rw------- 0:0 /etc/ceph/ceph.client.foo.keyring
not only will it write /etc/ceph/ceph.cient.admin.keyring to hosts with the _admin label, and /etc/ceph/client.foo to hosts with the foo label, but it will also write /etc/ceph/ceph.conf to those hosts. In the _admin label, which was the original case for this, you can see how this makes sense as you need a ceph conf and admin keyring in order to operate the cluster. But in other cases, or even in that _admin label case if the user would like to manage the ceph.conf themselves, it would be nice to be able to turn this aspect of the feature off.
Actions