aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dpdk/roles/ins_dpdk/tasks
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2017-11-16 16:22:50 +0800
committerYifei Xue <xueyifei@huawei.com>2017-11-20 06:14:45 +0000
commit0ad92ba4a917893aa7897c225214afce955abfcc (patch)
treec0f455e7d4d08eb6827e6b69387a159a9b246ca8 /plugins/dpdk/roles/ins_dpdk/tasks
parente462fcd11d06b54e5bd47cdd764b9163454b1fcf (diff)
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 <xueyifei@huawei.com> (cherry picked from commit 76d56a89cb9c3a3e07a4e1c58561f076eeb0298a)
Diffstat (limited to 'plugins/dpdk/roles/ins_dpdk/tasks')
-rw-r--r--plugins/dpdk/roles/ins_dpdk/tasks/hugepages.yml2
1 files changed, 1 insertions, 1 deletions
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