Add retry to grafana client
Change-Id: Ia108adfb9fbf55a4256a9055d80a6a8cf95a8409
Reviewed-on: https://review.gerrithub.io/369559
Reviewed-by: Tatyanka Leontovich <tleontovich@mirantis.com>
Tested-by: Tatyanka Leontovich <tleontovich@mirantis.com>
diff --git a/tcp_tests/templates/virtual-mcp11-k8s-calico/sl.yaml b/tcp_tests/templates/virtual-mcp11-k8s-calico/sl.yaml
index a6ef9d0..f77f60e 100644
--- a/tcp_tests/templates/virtual-mcp11-k8s-calico/sl.yaml
+++ b/tcp_tests/templates/virtual-mcp11-k8s-calico/sl.yaml
@@ -143,9 +143,9 @@
skip_fail: false
- description: Configure Grafana dashboards and datasources
- cmd: sleep10; salt -C 'I@grafana:client' state.sls grafana.client
+ cmd: sleep 30; salt -C 'I@grafana:client' state.sls grafana.client
node_name: {{ HOSTNAME_CFG01 }}
- retry: {count: 1, delay: 10}
+ retry: {count: 2, delay: 10}
skip_fail: false
- description: Run salt minion to create cert files
diff --git a/tcp_tests/templates/virtual-mcp11-k8s-contrail/sl.yaml b/tcp_tests/templates/virtual-mcp11-k8s-contrail/sl.yaml
index f869c2e..7403a79 100644
--- a/tcp_tests/templates/virtual-mcp11-k8s-contrail/sl.yaml
+++ b/tcp_tests/templates/virtual-mcp11-k8s-contrail/sl.yaml
@@ -143,9 +143,9 @@
skip_fail: false
- description: Configure Grafana dashboards and datasources
- cmd: sleep10; salt -C 'I@grafana:client' state.sls grafana.client
+ cmd: sleep 30; salt -C 'I@grafana:client' state.sls grafana.client
node_name: {{ HOSTNAME_CFG01 }}
- retry: {count: 1, delay: 10}
+ retry: {count: 2, delay: 10}
skip_fail: false
- description: Run salt minion to create cert files