]> git.apps.os.sepia.ceph.com Git - ceph-ci.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, 27 Apr 2021 13:45:54 +0000 (09:45 -0400)
commitb7e4f6017875dfbe6dc914136c7de64c8c71254e
tree93819ab3e26f868cffc65fed720c89543bd2a788
parent77411e7df313f1488e9636c871973818474f9401
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>
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