]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: get rbd-mirror daemon-id when checking for strays 37397/head
authorAdam King <adking@redhat.com>
Wed, 23 Sep 2020 16:52:37 +0000 (12:52 -0400)
committerAdam King <adking@redhat.com>
Fri, 25 Sep 2020 17:45:56 +0000 (13:45 -0400)
commit83d878f3d94a31c03ce94788236bd584c878a89c
tree7d9db4ae998175f2e3e5e29218e66b7a91ea486e
parente089ff759f0683b24f26f4d000d95088eb69c75f
mgr/cephadm: get rbd-mirror daemon-id when checking for strays

Currently, list_servers() gets the rbd-mirror service-id instead
of the daemon-id so the daemon is marked as stray. This PR uses
that service-id to find the daemon-id and uses that to check if
the daemon is stray.

Fixes: https://tracker.ceph.com/issues/47639
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/module.py