]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: revamp ceph.conf distribution scheduling 36286/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Mon, 27 Jul 2020 12:27:12 +0000 (14:27 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 28 Jul 2020 10:27:07 +0000 (12:27 +0200)
commitaa4c3b2a4e9a37f0f92f50d3bafbbd63dfb6fefa
tree64268afe5e9086340fa02f4a1a19081a8e320c7c
parent537412cc96be40bc4ab920eb5625f7d1338f4569
mgr/cephadm: revamp ceph.conf distribution scheduling

Having an in-memeory list doesn't work properly: Especially
when loading the mgr module, we didn't knwo if we should
deploy confs or not.

Now we only distribute ceph.confs, if there is a new mon_map.
We also store that info now in the config store

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/fixtures.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/tests/__init__.py