summaryrefslogtreecommitdiffstats
path: root/mcp/config
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-08 02:09:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-08 02:09:37 +0000
commite74a9a603b67084ab9e602a8ab7d4fc938ebf63a (patch)
tree6a843c183c6e198c94857ec61445d55009d851aa /mcp/config
parent07baf599c51cbd42ef14632284537ec4fe126b8a (diff)
parentd4fb448ec6fcc5421cc8e61ac59abd82fed65bbe (diff)
Merge "Enable glance v1 api for orchestra tests" into stable/euphrates
Diffstat (limited to 'mcp/config')
-rwxr-xr-xmcp/config/states/openstack_ha4
1 files changed, 4 insertions, 0 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index 9237cc00b..e816a9dcc 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -70,3 +70,7 @@ clstr_vip_addr=$(salt -C 'I@nginx:server and *01*' --out=yaml \
salt -C 'I@nginx:server and *01*' cp.push \
"/etc/ssl/certs/${clstr_vip_addr}-with-chain.crt" upload_path='certs/os_cacert'
cd /etc/ssl/certs && ln -sf /var/cache/salt/master/minions/prx01.*/files/certs/os_cacert
+
+# glance v1 api is required by orchestra tests
+salt -I 'glance:server' ini.set_option /etc/glance/glance-api.conf '{DEFAULT: {enable_v1_api: True}}'
+salt -I 'glance:server' service.restart glance-api