From: Alexandru Avadanii Date: Tue, 22 Aug 2017 00:19:34 +0000 (+0200) Subject: states: maas: Retry applying VCP VMs linux state X-Git-Tag: opnfv-5.0.RC1~124 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F39833%2F2;p=fuel.git states: maas: Retry applying VCP VMs linux state Running a heavy state like `linux` on all nodes (including VCP VMs) might time out the first time on slower systems. Change-Id: I21a3ad380afafa833f59e14da86aff92e254e9c7 Signed-off-by: Alexandru Avadanii --- diff --git a/mcp/config/states/maas b/mcp/config/states/maas index 73deb48c0..fa5e44659 100755 --- a/mcp/config/states/maas +++ b/mcp/config/states/maas @@ -69,4 +69,4 @@ done salt -C '* and not cfg01* and not mas01*' saltutil.sync_all salt -C '* and not cfg01* and not mas01*' state.apply salt -salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp +wait_for "salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp"