Retry install salt-minion if fails
Error to avoid
gpg: requesting key DE57BFBE from hkp server keyserver.ubuntu.com
gpg: no valid OpenPGP data found.
Change-Id: I6e8c2985b6c10c41d4fdb14d16310f2d3ba76a35
Related-Prod:#PROD-34992
diff --git a/tcp_tests/templates/shared-salt.yaml b/tcp_tests/templates/shared-salt.yaml
index 3380ec5..b7aba28 100644
--- a/tcp_tests/templates/shared-salt.yaml
+++ b/tcp_tests/templates/shared-salt.yaml
@@ -814,13 +814,13 @@
# Restart salt-minion if it was already installed
service salt-minion restart
node_name: {{ ssh['node_name'] }}
- retry: {count: 1, delay: 1}
+ retry: {count: 3, delay: 10}
skip_fail: false
{%- else %}
- description: Check SSH connectivity to non-salt-minion node {{ ssh['node_name'] }}
cmd: echo "SSH to $(hostname -f) passed"
node_name: {{ ssh['node_name'] }}
- retry: {count: 1, delay: 1}
+ retry: {count: 3, delay: 10}
skip_fail: false
{%- endif %}