bugfix: updated permissions of ceph user created to allow rbd profile
Change-Id: I9049e4312aa6cb92a832d5100ba1da995233c48e
This commit is contained in:
parent
0e086e4c12
commit
93e639a4be
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v3.0.3
|
appVersion: v3.0.3
|
||||||
description: OpenStack-Helm Gnocchi
|
description: OpenStack-Helm Gnocchi
|
||||||
name: gnocchi
|
name: gnocchi
|
||||||
version: 0.1.12
|
version: 0.1.13
|
||||||
home: https://gnocchi.xyz/
|
home: https://gnocchi.xyz/
|
||||||
icon: https://gnocchi.xyz/_static/gnocchi-logo.png
|
icon: https://gnocchi.xyz/_static/gnocchi-logo.png
|
||||||
sources:
|
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 "Cephx user client.${RBD_POOL_USER} already exist."
|
||||||
echo "Update its cephx caps"
|
echo "Update its cephx caps"
|
||||||
ceph auth caps client.${RBD_POOL_USER} \
|
ceph auth caps client.${RBD_POOL_USER} \
|
||||||
mon "profile r" \
|
mon "profile rbd" \
|
||||||
osd "profile rwx pool=${RBD_POOL_NAME}" \
|
osd "profile rbd pool=${RBD_POOL_NAME}" \
|
||||||
mgr "allow r"
|
mgr "allow r"
|
||||||
ceph auth get client.${RBD_POOL_USER} -o ${KEYRING}
|
ceph auth get client.${RBD_POOL_USER} -o ${KEYRING}
|
||||||
else
|
else
|
||||||
ceph auth get-or-create client.${RBD_POOL_USER} \
|
ceph auth get-or-create client.${RBD_POOL_USER} \
|
||||||
mon "profile r" \
|
mon "profile rbd" \
|
||||||
osd "profile rwx pool=${RBD_POOL_NAME}" \
|
osd "profile rbd pool=${RBD_POOL_NAME}" \
|
||||||
mgr "allow r" \
|
mgr "allow r" \
|
||||||
-o ${KEYRING}
|
-o ${KEYRING}
|
||||||
fi
|
fi
|
||||||
|
@ -13,4 +13,5 @@ gnocchi:
|
|||||||
- 0.1.10 Update Ceph to 17.2.6
|
- 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.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.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