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

This also picks up the zaza-openstack-tests fix for test share creation
resulting in 'no valid host'.

Closes-Bug: #1952763
Closes-Bug: #1962204
Depends-On: https://review.opendev.org/c/openstack/charm-manila/+/833847
Change-Id: I6ad5047fff2f3109a9efe1f03a786ce0412b4161
This commit is contained in:
Corey Bryant 2022-02-25 21:59:32 +00:00
parent 5630512867
commit 496bfd569b
1 changed files with 1 additions and 0 deletions

View File

@ -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\", "