Add necessary caps for RBD mirror
This PR adds missing caps needed for the RBD mirror charm. Change-Id: Ica8caa97db5d46279ee4f01e8d1a052b0a55a5df Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
This commit is contained in:
@ -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"'
|
||||
]),
|
||||
|
@ -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']),
|
||||
|
Reference in New Issue
Block a user