]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: 'ceph orch client-keyring ...' commands to manage keyring files
authorSage Weil <sage@newdream.net>
Wed, 21 Apr 2021 17:06:21 +0000 (13:06 -0400)
committerSage Weil <sage@newdream.net>
Tue, 4 May 2021 16:22:17 +0000 (11:22 -0500)
commit3e76318485d5371072d86fa5d32318d2b61232ad
tree96c9e332f9ef8b8404db37bb1da7e5ed677628e2
parentd8fb3065ca1430b5cdead2e2fa855fbc8f5044ad
mgr/cephadm: 'ceph orch client-keyring ...' commands to manage keyring files

Teach cephadm to manage keyring files on cluster hosts.  These keys must
already exist in the mon auth database--cephadm does not create them if
they don't exist (and will issue warnings to the log if they do not).

A ceph.conf is pushed implicitly along with the keyring file.

Each keyring added will be pushed to the hosts described by the placement
spec with the appropriate ownership and mode.  If the ownership, mode, or
path are modified, the files are rewritten or removed as need.

If the client-keyring entry is removed, the keyring files are removed.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit b7e4f6017875dfbe6dc914136c7de64c8c71254e)
doc/cephadm/install.rst
doc/cephadm/operations.rst
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/utils.py