An extra permission for rbd mirror on focal

Adding mon allow r for rbd mirror clients to fix failure to query
mirror pool status.

Change-Id: I63d9f137556b8aef379ee54ea977094722dbf032
Partial-Bug: #1879464
This commit is contained in:
Liam Young 2020-05-19 09:40:36 +00:00
parent 3261c5aa5d
commit 7686d4b584
2 changed files with 2 additions and 2 deletions

View File

@ -1139,7 +1139,7 @@ osd_upgrade_caps = collections.OrderedDict([
])
rbd_mirror_caps = collections.OrderedDict([
('mon', ['profile rbd']),
('mon', ['profile rbd; allow r']),
('osd', ['profile rbd']),
('mgr', ['allow r']),
])

View File

@ -973,7 +973,7 @@ class CephTestCase(unittest.TestCase):
_get_named_key.assert_called_once_with(
name='someid',
caps=collections.OrderedDict([
('mon', ['profile rbd']),
('mon', ['profile rbd; allow r']),
('osd', ['profile rbd']),
('mgr', ['allow r']),
])