From: Alexandru Avadanii Date: Wed, 18 Apr 2018 14:30:17 +0000 (+0200) Subject: [baremetal] cmp linux.system: catch 'no response' X-Git-Tag: opnfv-7.0.0~222 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=67b7248e3cc8550ebd757ebb48e2536770f073f8;p=fuel.git [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 --- 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