Merge "bugfix: updated permissions of ceph user created to allow rbd profile"

This commit is contained in:
Zuul 2024-03-05 18:15:02 +00:00 committed by Gerrit Code Review
commit af916d970b
3 changed files with 6 additions and 5 deletions

View File

@ -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:

View File

@ -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

View File

@ -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
...