Add workaround for PROD-16979
Change-Id: Ie4cc403222a693bcb23ab9f1234182bd96a961da
diff --git a/tcp_tests/templates/virtual-mcp-pike-dvr-ceph-rgw/ceph.yaml b/tcp_tests/templates/virtual-mcp-pike-dvr-ceph-rgw/ceph.yaml
index e702f3e..3c772ec 100644
--- a/tcp_tests/templates/virtual-mcp-pike-dvr-ceph-rgw/ceph.yaml
+++ b/tcp_tests/templates/virtual-mcp-pike-dvr-ceph-rgw/ceph.yaml
@@ -110,6 +110,15 @@
retry: {count: 1, delay: 10}
skip_fail: false
+{% for ssh in config.underlay.ssh %}
+- description: Restart salt-minion as workaround of PROD-16970
+ cmd: |
+ service salt-minion restart; # For case if salt-minion was already installed
+ node_name: {{ ssh['node_name'] }}
+ retry: {count: 1, delay: 1}
+ skip_fail: false
+{% endfor %}
+
- description: Connect ceph to glance
cmd: |
salt -C 'I@ceph:common and I@glance:server' state.sls ceph.common,ceph.setup.keyring,glance;
diff --git a/tcp_tests/templates/virtual-mcp-pike-ovs-ceph/ceph.yaml b/tcp_tests/templates/virtual-mcp-pike-ovs-ceph/ceph.yaml
index a0ff1b1..94bce47 100644
--- a/tcp_tests/templates/virtual-mcp-pike-ovs-ceph/ceph.yaml
+++ b/tcp_tests/templates/virtual-mcp-pike-ovs-ceph/ceph.yaml
@@ -113,6 +113,15 @@
retry: {count: 1, delay: 10}
skip_fail: false
+{% for ssh in config.underlay.ssh %}
+- description: Restart salt-minion as workaround of PROD-16970
+ cmd: |
+ service salt-minion restart; # For case if salt-minion was already installed
+ node_name: {{ ssh['node_name'] }}
+ retry: {count: 1, delay: 1}
+ skip_fail: false
+{% endfor %}
+
- description: Connect ceph to glance
cmd: |
salt -C 'I@ceph:common and I@glance:server' state.sls ceph.common,ceph.setup.keyring,glance;