summaryrefslogtreecommitdiffstats
path: root/plugins/rt_kvm
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2017-11-16 16:22:50 +0800
committerYifei Xue <xueyifei@huawei.com>2017-11-16 17:11:15 +0800
commit76d56a89cb9c3a3e07a4e1c58561f076eeb0298a (patch)
tree0d0c09f3a19000dd4dcbb6a4df9faa93d540ff27 /plugins/rt_kvm
parentc0fb7bb71a92988f4c1504690cb9c3ee1870378b (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>
Diffstat (limited to 'plugins/rt_kvm')
-rw-r--r--plugins/rt_kvm/roles/rt_kvm/tasks/kvm.yml2
1 files changed, 1 insertions, 1 deletions
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