summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-11-03 14:59:20 +0400
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-03 17:16:18 +0000
commitd4fb448ec6fcc5421cc8e61ac59abd82fed65bbe (patch)
treecd48a5b23d51bdcfd1f70b799c8442f18b81b6e3 /mcp
parentb434464fee83f0edbb1b5204edc71998f9b7aa09 (diff)
Enable glance v1 api for orchestra tests
Change-Id: Ia896c3f9fcd96dd498eef6d1f83d46e29df0cd6b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit c2925b6d13a20468845f8af1b54665cbac8b9bef)
Diffstat (limited to 'mcp')
-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