From c235345ecd59df797fc428b9ae58f478ea6e3308 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 22 Nov 2017 15:38:05 +0400 Subject: [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 (cherry picked from commit 246928006daf99de2317dc8d171c2b0735a3c605) --- mcp/config/states/openstack | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit 1.2.3-korg