From 8619a83855179ea1033202331a960dd0d5d62976 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Fri, 25 Feb 2022 21:59:32 +0000 Subject: [PATCH] Add ceph mgr capabilities Without this change, manila's cephfs driver results in manilaclient.common.apiclient.exceptions.Forbidden: Access was denied to this resource. (HTTP 403) when running rados commands. http://docs.ceph.com/en/latest/mgr/administrator/#client-authentication Closes-Bug: #1952763 Closes-Bug: #1962204 Change-Id: I6ad5047fff2f3109a9efe1f03a786ce0412b4161 (cherry picked from commit 496bfd569b000bdaa7d16b61afdb069ec959c076) --- src/lib/charm/openstack/manila_ganesha.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/charm/openstack/manila_ganesha.py b/src/lib/charm/openstack/manila_ganesha.py index 88a72e0..d8a3f6d 100644 --- a/src/lib/charm/openstack/manila_ganesha.py +++ b/src/lib/charm/openstack/manila_ganesha.py @@ -50,6 +50,7 @@ GANESHA_CONF = '/etc/ganesha/ganesha.conf' CEPH_CAPABILITIES = [ "mds", "allow *", + "mgr", "allow *", "osd", "allow rw", "mon", "allow r, " "allow command \"auth del\", "