From: Alexandru Avadanii Date: Wed, 18 Oct 2017 22:57:22 +0000 (+0200) Subject: [baremetal] maas state: Retry sync_all on failure X-Git-Tag: opnfv-5.0.RC1~9 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F45639%2F1;p=fuel.git [baremetal] maas state: Retry sync_all on failure Change-Id: Ib4aa3f2cb4fc7129d502b4332cd7fedd83a0e1fe Signed-off-by: Alexandru Avadanii (cherry picked from commit 51f374b055999fbc121b624424c21ee45d061538) --- diff --git a/mcp/config/states/maas b/mcp/config/states/maas index d6ef5a607..a6bac897d 100755 --- a/mcp/config/states/maas +++ b/mcp/config/states/maas @@ -78,4 +78,4 @@ salt -C 'mas01*' pillar.item\ maas:region:admin:username \ maas:region:admin:password -salt -C '* and not cfg01* and not mas01*' saltutil.sync_all +wait_for 10 "salt -C '* and not cfg01* and not mas01*' saltutil.sync_all"