]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: introduce `CephService` class 36935/head
authorMichael Fritch <mfritch@suse.com>
Tue, 1 Sep 2020 20:39:17 +0000 (14:39 -0600)
committerMichael Fritch <mfritch@suse.com>
Thu, 3 Sep 2020 18:49:53 +0000 (12:49 -0600)
commitc133705892cce3bd9ccd981e8080511bdbc12a0e
tree895a924fa4109f78e556b8712dcd68298ba2e9e9
parent9d2031f01de4542f9a03f1234d5794395ae9162b
mgr/cephadm: introduce `CephService` class

- split the cephx related keyring functions into a `CephService` class
- move _get_config_and_keyring and get_keyring_entity to this new class
- monitoring stack (prom, grafana, etc) have no use for cephx keyrings

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/services/iscsi.py
src/pybind/mgr/cephadm/services/nfs.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/tests/test_services.py