]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix placement with label and host pattern 55587/head
authorAdam King <adking@redhat.com>
Wed, 14 Feb 2024 16:28:11 +0000 (11:28 -0500)
committerAdam King <adking@redhat.com>
Fri, 1 Mar 2024 16:55:29 +0000 (11:55 -0500)
commit106f34ba31c82dd87f4c3f9ad82d8ace81e6c689
tree8a4b0f85ff98451396768c40023544dc11d41245
parenta5b9d64c5647f9346f4f3f3c170a0621682be656
mgr/cephadm: fix placement with label and host pattern

Previously, when both the label and host pattern were
provided, only the label was actually used for the placement

Fixes: https://tracker.ceph.com/issues/64428
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/schedule.py
src/pybind/mgr/cephadm/tests/test_scheduling.py
src/python-common/ceph/deployment/service_spec.py