]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: fix placement of new daemons (mds,rgw,rbd-m)
authorSebastian Wagner <sebastian.wagner@suse.com>
Tue, 11 Feb 2020 11:59:47 +0000 (12:59 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 11 Feb 2020 16:55:08 +0000 (17:55 +0100)
commit281236dca049ed85a4ffa95a8b79f9d2d60bcc59
treeed7544b7ed8aa472bacc2d4b7a0b8f52b0987946
parent9bba57d3e80ac983c7b69b3118a797567bc2557c
mgr/cephadm: fix placement of new daemons (mds,rgw,rbd-m)

* Don't modify spec.count, as this is irritating to me.
* Place daemons on unused hosts
* Reduced code duplication

Fixes: https://tracker.ceph.com/issues/44019
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_cephadm.py