Add timeouts to newton models
Change-Id: I18990b3c73eb7b25a3c4260d169b7c5c7772bdb6
Reviewed-on: https://review.gerrithub.io/371452
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/templates/virtual-mcp11-ovs/salt.yaml b/tcp_tests/templates/virtual-mcp11-ovs/salt.yaml
index 0de5e76..fb26a13 100644
--- a/tcp_tests/templates/virtual-mcp11-ovs/salt.yaml
+++ b/tcp_tests/templates/virtual-mcp11-ovs/salt.yaml
@@ -232,7 +232,7 @@
skip_fail: false
- description: Run 'salt.master' formula on cfg01
- cmd: timeout 120 salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@salt:master' state.sls salt.master;
+ cmd: timeout 120 salt --timeout=120 --hard-crash --state-output=mixed --state-verbose=False -C 'I@salt:master' state.sls salt.master;
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 2, delay: 5}
skip_fail: false
@@ -269,7 +269,7 @@
skip_fail: false
- description: Configure minion on master
- cmd: salt --hard-crash --state-output=mixed --state-verbose=False
+ cmd: salt --timeout=60 --hard-crash --state-output=mixed --state-verbose=False
-C 'I@salt:master' state.sls 'salt.minion'
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 3, delay: 10}
@@ -293,7 +293,7 @@
skip_fail: false
- description: Configure salt.minion on other nodes
- cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@linux:system and not cfg01*' state.sls salt.minion
+ cmd: salt --timeout=60 --hard-crash --state-output=mixed --state-verbose=False -C 'I@linux:system and not cfg01*' state.sls salt.minion
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 3, delay: 5}
skip_fail: false