Specify barbican endpoint for glance service 85/64485/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 25 Oct 2018 08:21:34 +0000 (12:21 +0400)
committerDelia Popescu <delia.popescu@enea.com>
Mon, 5 Nov 2018 10:30:02 +0000 (12:30 +0200)
By default castellan key manager gets public endpoint of barbican
service which isn't preferable in terms of cluster ops, so specify
internal endpoint explicitly.

Change-Id: Ie686ceb936132143743af18fcb4960ea15a8b93c
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_control.yml.j2

index 03610a6..edb20e3 100644 (file)
@@ -96,6 +96,8 @@ parameters:
   glance:
     server:
       <<: *db_conn_recycle_time
+      identity:
+        barbican_endpoint: ${barbican:server:host_href}
 {%- if conf.MCP_VCP %}
   heat:
     server:
index 6d09541..999fa79 100644 (file)
@@ -114,6 +114,8 @@ parameters:
       workers: 1
       barbican:
         enabled: ${_param:barbican_integration_enabled}
+      identity:
+        barbican_endpoint: ${barbican:server:host_href}
   cinder:
     controller:
       barbican: