[virtual] Apply nova controller state twice 59/47659/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 22 Nov 2017 11:38:05 +0000 (15:38 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 22 Nov 2017 11:53:48 +0000 (15:53 +0400)
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>
mcp/config/states/openstack

index 19cd417..369e165 100755 (executable)
@@ -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