From d9a43277e5266e9d25061a4c16f0384529b46da4 Mon Sep 17 00:00:00 2001 From: Pranali Deore Date: Wed, 23 Jan 2019 14:45:58 +0530 Subject: [PATCH] Adding support of glance cinder store settings Currently TripleO is completely unaware of the 4 glance settings when cinder backend of glance is enabled. To make the Image-Volume in the internal project accessible from the Image service, the below parameters need to be set. - cinder_store_auth_address - cinder_store_project_name - cinder_store_user_name - cinder_store_password Closes-Bug: #1809104 Depends-on: Ib19958577cdc4b829601018114ee0f564778c4da Change-Id: I15f9c286798b74529a7b4b09d7e9353eb715f5b1 --- deployment/glance/glance-api-container-puppet.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deployment/glance/glance-api-container-puppet.yaml b/deployment/glance/glance-api-container-puppet.yaml index 4b328c7c65..8d0a5c3c3d 100644 --- a/deployment/glance/glance-api-container-puppet.yaml +++ b/deployment/glance/glance-api-container-puppet.yaml @@ -379,6 +379,14 @@ outputs: - glance_workers_unset - {} - glance::api::workers: {get_param: GlanceWorkers} + - + if: + - cinder_backend_enabled + - glance::backend::cinder::cinder_store_auth_address: {get_param: [EndpointMap, KeystoneV3Internal, uri]} + glance::backend::cinder::cinder_store_project_name: 'service' + glance::backend::cinder::cinder_store_user_name: service:glance + glance::backend::cinder::cinder_store_password: {get_param: GlancePassword} + - {} - if: - glance_netapp_nfs_enabled