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:
parent
e28a6a9252
commit
01033602ff
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue