diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-04-18 16:30:17 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-04-18 15:47:24 +0000 |
commit | 93e6e36b5a80dacc48b43da45a7606a2a115fa49 (patch) | |
tree | 25ba43030914b9fcb6b3aa15015cd73467291228 /mcp | |
parent | 744d997ccdea187f8217af4cd12e27e2ac5fa3f1 (diff) |
[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 <Alexandru.Avadanii@enea.com>
(cherry picked from commit 67b7248e3cc8550ebd757ebb48e2536770f073f8)
Diffstat (limited to 'mcp')
-rwxr-xr-x | mcp/config/states/baremetal_init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |