Add timeout and delay time to fix the reboot problem 77/47477/1
authorYifei Xue <xueyifei@huawei.com>
Thu, 16 Nov 2017 08:22:50 +0000 (16:22 +0800)
committerYifei Xue <xueyifei@huawei.com>
Mon, 20 Nov 2017 06:14:45 +0000 (06:14 +0000)
of rt_kvm scenario

JIRA: -

The rt_kvm scenario deployment always fails on Huawei Pod2 while
running reboot task. However it's fine on Huawei Pod1. We think
it may be caused by the performance of Pod1. Pod1 truely has a lower
performance than Pod2. So we add timeout and delay time to verify
our idea.

Change-Id: I56acc88354abcdd4ba72c7d24980033871972688
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
(cherry picked from commit 76d56a89cb9c3a3e07a4e1c58561f076eeb0298a)

plugins/dpdk/roles/ins_dpdk/tasks/hugepages.yml
plugins/rt_kvm/roles/rt_kvm/tasks/kvm.yml

index 3f41cf0..d68fc03 100644 (file)
@@ -41,5 +41,5 @@
 - name: Wait for reboot
   local_action:
     module: wait_for
-      host={{ ansible_eth0.ipv4.address }} port=22 delay=1 timeout=300
+      host={{ ansible_eth0.ipv4.address }} port=22 delay=10 timeout=1200
   when: check_result.rc == 1
index 5d3ca7b..289ab19 100644 (file)
@@ -37,4 +37,4 @@
 - name: wait for reboot
   local_action:
     module: wait_for
-      host={{ ansible_eth0.ipv4.address }} port=22 delay=1 timeout=600
+      host={{ ansible_eth0.ipv4.address }} port=22 delay=10 timeout=1200