mirror of
https://github.com/ceph/ceph
synced 2025-02-19 17:08:05 +00:00
rbd: don't treat failure to gather mirror service daemons as a failure
The only negative result is that instance ids cannot be cross-referenced to the matching rbd-mirror daemon service. Fixes: https://tracker.ceph.com/issues/44066 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
41357d242b
commit
1cb9e3b569
@ -1458,10 +1458,7 @@ int execute_status(const po::variables_map &vm,
|
||||
}
|
||||
|
||||
MirrorDaemonServiceInfo daemon_service_info(io_ctx);
|
||||
r = daemon_service_info.init();
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
daemon_service_info.init();
|
||||
|
||||
MirrorHealth mirror_daemon_health = daemon_service_info.get_daemon_health();
|
||||
auto mirror_services = daemon_service_info.get_mirror_services();
|
||||
|
Loading…
Reference in New Issue
Block a user