From ba3275e9baca8ea9575aa4abf8543447ab0dfee7 Mon Sep 17 00:00:00 2001 From: Jose Castro Leon Date: Wed, 9 Dec 2020 16:15:27 +0100 Subject: [PATCH] Adds missing caps for mgr in cephfs configuration Adds a missing cap to access mgr and be able to list subvolumegroups and subvolumes in a cephfs volume Change-Id: Ie9849ed875b996cf33aeb296f258ec84c8b720ef Closes-Bug: #1907467 --- doc/source/admin/cephfs_driver.rst | 1 + .../shared-file-systems/drivers/cephfs-native-driver.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/source/admin/cephfs_driver.rst b/doc/source/admin/cephfs_driver.rst index e08ac6eb75..856dd80c30 100644 --- a/doc/source/admin/cephfs_driver.rst +++ b/doc/source/admin/cephfs_driver.rst @@ -148,6 +148,7 @@ to use: ceph auth get-or-create client.manila -o manila.keyring \ mds 'allow *' \ osd 'allow rw' \ + mgr 'allow r' \ mon "$MON_CAPS" diff --git a/doc/source/configuration/shared-file-systems/drivers/cephfs-native-driver.rst b/doc/source/configuration/shared-file-systems/drivers/cephfs-native-driver.rst index 808c726ef8..52a809f72d 100644 --- a/doc/source/configuration/shared-file-systems/drivers/cephfs-native-driver.rst +++ b/doc/source/configuration/shared-file-systems/drivers/cephfs-native-driver.rst @@ -100,6 +100,7 @@ Systems service to use: ceph auth get-or-create client.manila -o manila.keyring \ mds 'allow *' \ osd 'allow rw' \ + mgr 'allow r' \ mon "$MON_CAPS"