]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Set mon crush locations based on service spec
authorAdam King <adking@redhat.com>
Mon, 28 Nov 2022 16:59:59 +0000 (11:59 -0500)
committerAdam King <adking@redhat.com>
Sat, 20 May 2023 16:31:07 +0000 (12:31 -0400)
commit3a4183bec0270ad0b5f0a90b7e2ba500259972d6
tree1e427b3eb9d3b5e4ae16b46597a759a53ac6feaa
parent56063846e448b4b067b71321093c45ed4534397a
mgr/cephadm: Set mon crush locations based on service spec

The part of this that added the --set-crush-location flag
when deploying the mon was handled in another commit. This
piece is to finish the functionality by having cephadm set
the location through commands to handle when multiple
bucket=loc pairs are specified for a single monitor

Fixes: https://tracker.ceph.com/issues/58101
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 2672a719067bdc71486240e99d98e42678681d44)
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/tests/test_services.py