Specify barbican endpoint for glance service 95/63995/2
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 25 Oct 2018 08:21:34 +0000 (12:21 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 29 Oct 2018 09:10:22 +0000 (13:10 +0400)
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/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch
mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_control.yml.j2

index 7126e7d..5ad57bb 100644 (file)
@@ -33,7 +33,7 @@ index 2c75586..d7d4c49 100644
      ARG RECLASS_BASE="/srv/salt/reclass"
      ENV RECLASS_BASE $RECLASS_BASE
 -    RUN echo "Layer python/salt module prerequisites, formulas" \
-+    RUN echo "Layer python/salt module prerequisites, formulas (26 Oct 2018)" \
++    RUN echo "Layer python/salt module prerequisites, formulas (29 Oct 2018)" \
        && mkdir -p /srv/salt \
        && curl -sSqL https://raw.githubusercontent.com/salt-formulas/salt-formulas-scripts/master/formula-fetch.sh -o /srv/salt/formula-fetch.sh \
        && bash -c 'source /srv/salt/formula-fetch.sh && setupPyEnv && fetchAll' \
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: