diff --git a/charms_ceph/utils.py b/charms_ceph/utils.py index 85e6249..94cc29d 100644 --- a/charms_ceph/utils.py +++ b/charms_ceph/utils.py @@ -1183,6 +1183,7 @@ osd_upgrade_caps = collections.OrderedDict([ rbd_mirror_caps = collections.OrderedDict([ ('mon', ['allow profile rbd-mirror-peer', + 'allow profile rbd-mirror', 'allow command "service dump"', 'allow command "service status"' ]), diff --git a/unit_tests/test_utils.py b/unit_tests/test_utils.py index 78dd7a1..74df244 100644 --- a/unit_tests/test_utils.py +++ b/unit_tests/test_utils.py @@ -1128,6 +1128,7 @@ class CephTestCase(unittest.TestCase): name='someid', caps=collections.OrderedDict([ ('mon', ['allow profile rbd-mirror-peer', + 'allow profile rbd-mirror', 'allow command "service dump"', 'allow command "service status"']), ('osd', ['profile rbd']),