]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: make NodeAssignment return a simple host list
authorSage Weil <sage@redhat.com>
Mon, 2 Mar 2020 16:43:42 +0000 (10:43 -0600)
committerSage Weil <sage@redhat.com>
Mon, 2 Mar 2020 20:23:45 +0000 (14:23 -0600)
commitb60b51d582a97c436cb0142dd1c5b9e86b686a91
tree6d7369631ccc7d3ea5007163ec48a0da8ed59d22
parent505f9a782d82854965917738e4586315974ff886
mgr/cephadm: make NodeAssignment return a simple host list

We shouldn't modify the PlacementSpec in place (or at all).  Instead,
simply return a list of the hosts where we want to locate daemons.

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