From 93e6e36b5a80dacc48b43da45a7606a2a115fa49 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Wed, 18 Apr 2018 16:30:17 +0200 Subject: [baremetal] cmp linux.system: catch 'no response' Catch & retry transient errors / timeouts while applying the `linux.system` state on cmp nodes. Change-Id: Id314b5a29673e0bcaa78611fc787491056830952 Signed-off-by: Alexandru Avadanii (cherry picked from commit 67b7248e3cc8550ebd757ebb48e2536770f073f8) --- mcp/config/states/baremetal_init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp') diff --git a/mcp/config/states/baremetal_init b/mcp/config/states/baremetal_init index a7941e00e..891eae365 100755 --- a/mcp/config/states/baremetal_init +++ b/mcp/config/states/baremetal_init @@ -25,7 +25,7 @@ salt -C 'kvm* or cmp*' file.replace $debian_ip_source \ salt -C 'kvm*' pkg.install bridge-utils salt -C 'kvm*' state.apply linux.network,linux.system.kernel salt -C 'kvm* or cmp*' state.apply salt.minion -salt -C 'cmp*' state.apply linux.system +wait_for 5.0 "salt -C 'cmp*' state.apply linux.system" # wrap distro `route` binary to silence errors when route already exists wait_for 5.0 "salt -C 'kvm* or cmp*' state.apply opnfv.route_wrapper" salt -C 'cmp*' state.apply linux.network || true -- cgit 1.2.3-korg