diff --git a/src/pybind/mgr/dashboard/controllers/rbd_mirroring.py b/src/pybind/mgr/dashboard/controllers/rbd_mirroring.py index b2c0527cc72ff..c0d3f1f5d2376 100644 --- a/src/pybind/mgr/dashboard/controllers/rbd_mirroring.py +++ b/src/pybind/mgr/dashboard/controllers/rbd_mirroring.py @@ -614,7 +614,7 @@ def status(self): # using dashboard. if not orch_status['available']: return status - if not CephService.get_service_list('rbd-mirror') or not CephService.get_pool_list('rbd'): + if not CephService.get_service_list('rbd-mirror') and not CephService.get_pool_list('rbd'): status['available'] = False status['message'] = 'RBD mirroring is not configured' # type: ignore return status