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:
Luciano Lo Giudice
2025-06-13 18:11:10 -03:00
parent 64f3c1b12b
commit 1a66fb4a01
2 changed files with 2 additions and 0 deletions

View File

@ -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"'
]),

View File

@ -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']),