]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: remove magic labels
authorSage Weil <sage@redhat.com>
Sun, 8 Mar 2020 17:00:45 +0000 (12:00 -0500)
committerSage Weil <sage@redhat.com>
Sun, 8 Mar 2020 17:00:45 +0000 (12:00 -0500)
commit387813ab5f3154a91e82a0fcad082932aaa2a7f8
tree887ae2eadd2d6a343619e2c288dc2048fd20ec9e
parentb38771f45fc7a3d77f1bea5a8046aec71d855461
mgr/cephadm: remove magic labels

Remove the magic label behavior.  It makes the code confusing, it
makes the overall behavior hard to explain, and it makes the PlacementSpec
meaning different than what Rook is doing.

Instead, if you want mons on hosts with label 'mon', then say 'label:mon'.

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