Merge "Update CephX client.openstack keyring to use 'profile rbd'"

This commit is contained in:
Zuul 2018-06-18 21:36:25 +00:00 committed by Gerrit Code Review
commit a3d5dd0fb5
1 changed files with 3 additions and 3 deletions

View File

@ -254,14 +254,14 @@ resources:
key: {get_param: CephClientKey}
caps:
mgr: "allow *"
mon: "allow r"
mon: "profile rbd"
osd:
str_replace:
template: 'allow class-read object_prefix rbd_children, allow rwx pool=CEPH_CLIENT_POOLS'
template: 'profile rbd pool=CEPH_CLIENT_POOLS'
params:
CEPH_CLIENT_POOLS:
list_join:
- ', allow rwx pool='
- ', profile rbd pool='
- list_concat_unique:
- - {get_param: CinderRbdPoolName}
- {get_param: CinderBackupRbdPoolName}