Add temporary WR until PROD-13167 become fixes
Current installed verion of python-pymysql (0.7.2) has an issue with time,
as result event if time on nodes are ok, there can be situation taht
cinder-manage show that it is different. As result we've got the situation,
that volume become cleaned before it should be.
Upstream issue https://bugs.launchpad.net/cinder/+bug/1641312
So we need to install version 0.7.6 until it's fixed officially
Change-Id: I00cf611b7b07cf45f658c5a5eff60ab5eae169b7
Related: PROD-13167
Reviewed-on: https://review.gerrithub.io/370980
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Tatyanka Leontovich <tleontovich@mirantis.com>
diff --git a/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml b/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml
index 25a5106..5e60832 100644
--- a/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml
+++ b/tcp_tests/templates/virtual-mcp-ocata-dvr/openstack.yaml
@@ -267,7 +267,21 @@
retry: {count: 1, delay: 30}
skip_fail: false
-# Configure cinder-volume salt-call
+- description: sync time
+ cmd: salt --hard-crash --state-output=mixed --state-verbose=False '*' cmd.run
+ 'service ntp stop; ntpd -gq; service ntp start'
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 1, delay: 30}
+ skip_fail: false
+
+- description: Temp workaround of PROD-13167
+ cmd: salt --hard-crash --state-output=mixed --state-verbose=False '*' cmd.run
+ 'apt-get install python-pymysql -y'
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 1, delay: 30}
+ skip_fail: false
+
+# Configure cinder-volume salt-call PROD-13167
- description: Set disks 01
cmd: salt-call cmd.run 'echo -e "nn\np\n\n\n\nw" | fdisk /dev/vdb'
node_name: {{ HOSTNAME_CTL01 }}