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-6.0.0~306 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F45637%2F1;p=fuel.git [baremetal] maas state: Retry sync_all on failure Change-Id: Ib4aa3f2cb4fc7129d502b4332cd7fedd83a0e1fe Signed-off-by: Alexandru Avadanii --- 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"