From 01033602ffb7278d4b1947e3fd6c5955fb5f4f96 Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Fri, 28 Apr 2017 08:30:32 -0400 Subject: [PATCH] Fix the gate for infra's new ssh requirement Fix the gate for infra's new ssh requirement Change-Id: I8848b2659758e14563c7790737f4e03fed2827db --- tests/bin/ironic_deploy_tests.sh | 2 +- tools/setup_gate_ceph.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/bin/ironic_deploy_tests.sh b/tests/bin/ironic_deploy_tests.sh index fd088fbe3..ea1d11362 100755 --- a/tests/bin/ironic_deploy_tests.sh +++ b/tests/bin/ironic_deploy_tests.sh @@ -266,6 +266,6 @@ wait_for_vm baremetal-1 vm_id=$(openstack server list | grep baremetal | awk '{print $2}') ip_addr=$(openstack server show $vm_id -f value -c addresses) ip_addr=${ip_addr#*=} -ping -c 20 -i 1 $ip_addr +ping -c 20 -i 2 $ip_addr exit 0 diff --git a/tools/setup_gate_ceph.sh b/tools/setup_gate_ceph.sh index 08236004a..40adfc913 100755 --- a/tools/setup_gate_ceph.sh +++ b/tools/setup_gate_ceph.sh @@ -53,6 +53,7 @@ if [ "x$CONFIG" == "xceph-multi" ]; then cat /etc/nodepool/sub_nodes_private | while read line; do NODES=$((NODES+1)) echo $line + ssh-keyscan $line >> ~/.ssh/known_hosts scp tools/setup_kubernetes.sh $line: scp tests/bin/fix_gate_iptables.sh $line: scp /usr/bin/kubectl $line:kubectl