aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/baremetal_init
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-06-08 19:46:12 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-06-08 19:46:38 +0200
commite47bff27a1ce085dc27d25059eb408a49b811eb9 (patch)
treedbcd649c4b87d955f0f4622e51c392330b08a0f7 /mcp/config/states/baremetal_init
parent5bef2b99e26c798eb0a5deb3010662eeb941344b (diff)
[state] Stop expecting linux.network failures
Now that the `linux.network` state applies cleanly on all nodes, stop expecting failures to prevent false-positive passes. Change-Id: I8a283474e12b85deb95815e4e7a0af4a74d143ac Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config/states/baremetal_init')
-rwxr-xr-xmcp/config/states/baremetal_init4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp/config/states/baremetal_init b/mcp/config/states/baremetal_init
index 891eae365..91a3c1ec0 100755
--- a/mcp/config/states/baremetal_init
+++ b/mcp/config/states/baremetal_init
@@ -22,13 +22,13 @@ salt -C 'kvm* or cmp*' file.replace $debian_ip_source \
pattern="^\s{8}__salt__\['pkg.install'\]\('vlan'\)" \
repl="\n if not __salt__['pkg.version']('vlan'):\n __salt__['pkg.install']('vlan')"
-salt -C 'kvm*' pkg.install bridge-utils
+salt -C 'kvm* or cmp*' pkg.install bridge-utils
salt -C 'kvm*' state.apply linux.network,linux.system.kernel
salt -C 'kvm* or cmp*' state.apply salt.minion
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
+wait_for 5.0 "salt -C 'cmp*' state.apply linux.network"
wait_for 30.0 "salt -C 'kvm* or cmp*' test.ping"
# disable dhcp offered routes on compute nodes