Merge "bugfix: updated permissions of ceph user created to allow rbd profile"
This commit is contained in:
commit
af916d970b
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v3.0.3
|
||||
description: OpenStack-Helm Gnocchi
|
||||
name: gnocchi
|
||||
version: 0.1.12
|
||||
version: 0.1.13
|
||||
home: https://gnocchi.xyz/
|
||||
icon: https://gnocchi.xyz/_static/gnocchi-logo.png
|
||||
sources:
|
||||
|
@ -37,14 +37,14 @@ if USERINFO=$(ceph auth get client.${RBD_POOL_USER}); then
|
||||
echo "Cephx user client.${RBD_POOL_USER} already exist."
|
||||
echo "Update its cephx caps"
|
||||
ceph auth caps client.${RBD_POOL_USER} \
|
||||
mon "profile r" \
|
||||
osd "profile rwx pool=${RBD_POOL_NAME}" \
|
||||
mon "profile rbd" \
|
||||
osd "profile rbd pool=${RBD_POOL_NAME}" \
|
||||
mgr "allow r"
|
||||
ceph auth get client.${RBD_POOL_USER} -o ${KEYRING}
|
||||
else
|
||||
ceph auth get-or-create client.${RBD_POOL_USER} \
|
||||
mon "profile r" \
|
||||
osd "profile rwx pool=${RBD_POOL_NAME}" \
|
||||
mon "profile rbd" \
|
||||
osd "profile rbd pool=${RBD_POOL_NAME}" \
|
||||
mgr "allow r" \
|
||||
-o ${KEYRING}
|
||||
fi
|
||||
|
@ -13,4 +13,5 @@ gnocchi:
|
||||
- 0.1.10 Update Ceph to 17.2.6
|
||||
- 0.1.11 Update Rook to 1.12.5 and Ceph to 18.2.0
|
||||
- 0.1.12 Update Ceph images to Jammy and Reef 18.2.1
|
||||
- 0.1.13 Bugfix Ceph user creation for RBD access
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user