Workaround for wrong states dependency in linux formula
Change-Id: I64e08f895760e32b2d51da84fd6a99383524a257
Reviewed-on: https://review.gerrithub.io/363619
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml b/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
index d3e881b..95c17ee 100644
--- a/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
+++ b/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
@@ -270,6 +270,14 @@
retry: {count: 1, delay: 5}
skip_fail: false
+- description: '*Workaround* install bridge-utils before running linux formula'
+ # The formula removes default route and then tries to install the package, fails.
+ cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C '* and not
+ cfg01*' cmd.run 'sudo apt-get install -y bridge-utils'
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 1, delay: 5}
+ skip_fail: false
+
- description: Sync all salt resources for present baremetal nodes
cmd: salt --hard-crash --state-output=mixed --state-verbose=False '*' saltutil.sync_all
node_name: {{ HOSTNAME_CFG01 }}