aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/openstack
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-11-22 15:38:05 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-11-22 15:53:48 +0400
commit246928006daf99de2317dc8d171c2b0735a3c605 (patch)
tree353ca8cc391cf7c48f1c041ca7d497f9e2476fd4 /mcp/config/states/openstack
parent77609e7fcebc76f4e10a133354787ad5086c0450 (diff)
[virtual] Apply nova controller state twice
In order to complete broken database sync run nova state on controller one more time. Change-Id: I761f26667ebb531b848a62e096f3d79f588d9f24 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states/openstack')
-rwxr-xr-xmcp/config/states/openstack4
1 files changed, 4 insertions, 0 deletions
diff --git a/mcp/config/states/openstack b/mcp/config/states/openstack
index 19cd41703..369e16504 100755
--- a/mcp/config/states/openstack
+++ b/mcp/config/states/openstack
@@ -26,7 +26,11 @@ salt -I 'keystone:server' state.sls keystone.client
salt -I 'keystone:server' cmd.run ". /root/keystonercv3; openstack service list"
salt -I 'glance:server' state.sls glance
+
+# apply nova state twice to complete broken db sync
+salt -I 'nova:controller' state.sls nova
salt -I 'nova:controller' state.sls nova
+
salt -I 'heat:server' state.sls heat
salt -I 'cinder:controller' state.sls cinder