]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: use _apply_service for mgrs
authorSage Weil <sage@redhat.com>
Sun, 23 Feb 2020 19:17:34 +0000 (13:17 -0600)
committerSage Weil <sage@redhat.com>
Mon, 24 Feb 2020 16:46:10 +0000 (10:46 -0600)
commit5053ed61bf29e13ec9b497890eebe69406f0a66b
tree2e428553aff954dbf05e1b44a2893f08075b596c
parentf5fca6be7242738d9c905eca651273329494729d
mgr/cephadm: use _apply_service for mgrs

Note that we are losing some of the special logic about removing standby
mgrs only.  This should be added back *after* we fix up the scheduler
to be more intelligent about choosing hosts that already host daemons,
and make removal pick hosts that aren't selected (by label, or by
scheduler, etc.).

A few bugs to track this:
 https://tracker.ceph.com/issues/44167
 https://tracker.ceph.com/issues/44252 (prefer standby mgrs *and* mdss)

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py