From a2d33ce77ec3125c5b31ca8cdf0e0be798e671ef Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 24 Sep 2018 17:56:23 +0200 Subject: [ha] Fix missing aodh_version param _param:aodh_version was lost during a recent refactor, bring it back. While at it, also make chown in entrypoint.sh recursive to prepare for non-sudo deployments. Fixes: c0de0902 Change-Id: I41b225c4a3f15269aa156a1c33412206beff6ee9 Signed-off-by: Alexandru Avadanii (cherry picked from commit 6bb830d62451e608cca959e5cb00cd383c8cf01d) --- mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2 | 1 + mcp/scripts/docker-compose/files/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'mcp') diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2 index b08837876..7322378eb 100644 --- a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2 @@ -153,6 +153,7 @@ parameters: glusterfs_service_host: ${_param:openstack_control_address} {%- endif %} mysql_admin_user: root + aodh_version: ${_param:openstack_version} barbican_version: ${_param:openstack_version} barbican_service_host: ${_param:openstack_control_address} barbican_integration_enabled: true diff --git a/mcp/scripts/docker-compose/files/entrypoint.sh b/mcp/scripts/docker-compose/files/entrypoint.sh index c7f7f9118..0becb6333 100755 --- a/mcp/scripts/docker-compose/files/entrypoint.sh +++ b/mcp/scripts/docker-compose/files/entrypoint.sh @@ -78,7 +78,7 @@ sed -i -e "s|return 'start/running' in |return 'is running' in |" \ find -L /srv/salt /srv/salt/env/prd/_* -maxdepth 1 -type l -delete # Fix up any permissions after above file shuffling -sudo chown root:root -R /srv/salt +chown root:root -R /srv/salt service ssh start service salt-minion start -- cgit 1.2.3-korg