Fix the gate for infra's new ssh requirement

Fix the gate for infra's new ssh requirement

Change-Id: I8848b2659758e14563c7790737f4e03fed2827db
This commit is contained in:
Serguei Bezverkhi 2017-04-28 08:30:32 -04:00
parent e28a6a9252
commit 01033602ff
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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