From 76d56a89cb9c3a3e07a4e1c58561f076eeb0298a Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Thu, 16 Nov 2017 16:22:50 +0800 Subject: Add timeout and delay time to fix the reboot problem 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 --- plugins/dpdk/roles/ins_dpdk/tasks/hugepages.yml | 2 +- plugins/rt_kvm/roles/rt_kvm/tasks/kvm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/dpdk/roles/ins_dpdk/tasks/hugepages.yml b/plugins/dpdk/roles/ins_dpdk/tasks/hugepages.yml index 3f41cf03..d68fc031 100644 --- a/plugins/dpdk/roles/ins_dpdk/tasks/hugepages.yml +++ b/plugins/dpdk/roles/ins_dpdk/tasks/hugepages.yml @@ -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 diff --git a/plugins/rt_kvm/roles/rt_kvm/tasks/kvm.yml b/plugins/rt_kvm/roles/rt_kvm/tasks/kvm.yml index 5d3ca7bc..289ab19d 100644 --- a/plugins/rt_kvm/roles/rt_kvm/tasks/kvm.yml +++ b/plugins/rt_kvm/roles/rt_kvm/tasks/kvm.yml @@ -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 -- cgit 1.2.3-korg