Merge "glance: allow configuring the rbd app name"

This commit is contained in:
Zuul 2019-05-29 21:08:38 +00:00 committed by Gerrit Code Review
commit 7c93354aa0
3 changed files with 6 additions and 1 deletions

View File

@ -50,7 +50,7 @@ elif [ "x$STORAGE_BACKEND" == "xrbd" ]; then
ceph osd pool set "$1" size "${RBD_POOL_REPLICATION}"
ceph osd pool set "$1" crush_rule "${RBD_POOL_CRUSH_RULE}"
}
ensure_pool "${RBD_POOL_NAME}" "${RBD_POOL_CHUNK_SIZE}" "glance-image"
ensure_pool "${RBD_POOL_NAME}" "${RBD_POOL_CHUNK_SIZE}" "${RBD_POOL_APP_NAME}"
if USERINFO=$(ceph auth get "client.${RBD_POOL_USER}"); then
echo "Cephx user client.${RBD_POOL_USER} already exist."

View File

@ -104,6 +104,8 @@ spec:
{{- if eq .Values.storage "rbd" }}
- name: RBD_POOL_NAME
value: {{ .Values.conf.glance.glance_store.rbd_store_pool | quote }}
- name: RBD_POOL_APP_NAME
value: {{ .Values.conf.software.rbd.rbd_store_pool_app_name | quote }}
- name: RBD_POOL_USER
value: {{ .Values.conf.glance.glance_store.rbd_store_user | quote }}
- name: RBD_POOL_REPLICATION

View File

@ -121,6 +121,9 @@ network_policy:
- {}
conf:
software:
rbd:
rbd_store_pool_app_name: glance-image
rally_tests:
run_tempest: false
tests: