[virtual] Apply nova controller state twice 63/47663/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 14:24:44 +0000 (14:24 +0000)
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)

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