summaryrefslogtreecommitdiffstats
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 14:24:44 +0000
commitc235345ecd59df797fc428b9ae58f478ea6e3308 (patch)
tree0aea4903f7d5595c42683d0c050eebabcc06620d
parent322884cd6007db93ef69ac0faeaefec9f32c010c (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> (cherry picked from commit 246928006daf99de2317dc8d171c2b0735a3c605)
-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