SSH timed out in three tempest tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
We recently set up a CI environment for out INFINIDAT volume driver for cinder.
We have two slaves running the test suite, and on each one the following tests fail consistently:
tempest.
tempest.
tempest.
As you can see in the logs (see link below), they all fail due to SSH timed out:
06:17:14 Captured traceback:
06:17:14 ~~~~~~~~~~~~~~~~~~~
06:17:14 Traceback (most recent call last):
06:17:14 File "tempest/test.py", line 100, in wrapper
06:17:14 return f(self, *func_args, **func_kwargs)
06:17:14 File "tempest/
06:17:14 floating_ip['ip'], private_
06:17:14 File "tempest/
06:17:14 linux_client.
06:17:14 File "tempest/
06:17:14 six.reraise(
06:17:14 File "tempest/
06:17:14 return function(self, *args, **kwargs)
06:17:14 File "tempest/
06:17:14 self.ssh_
06:17:14 File "tempest/
06:17:14 connection = self._get_
06:17:14 File "tempest/
06:17:14 password=
06:17:14 tempest.
06:17:15 User: cirros, Password: None
Down the log you can see that the virtual machine is up and running but the networking doesn't work:
06:17:15 === network info ===
06:17:15 if-info: lo,up,127.
06:17:15 if-info: eth0,up,
06:17:15 ip-route:default via 10.1.0.1 dev eth0
06:17:15 ip-route:
06:17:15 ip-route:
06:17:15 === datasource: None None ===
06:17:15 === cirros: current=0.3.4 uptime=101.89 ===
06:17:15 === pinging gateway failed, debugging connection ===
06:17:15 ############ debug start ##############
06:17:15 ### /etc/init.d/sshd start
06:17:15 Starting dropbear sshd: OK
06:17:15 ### ifconfig -a
06:17:15 eth0 Link encap:Ethernet HWaddr FA:16:3E:A6:D5:A0
06:17:15 inet addr:10.1.0.6 Bcast:10.1.0.15 Mask:255.
06:17:15 inet6 addr: fe80::f816:
06:17:15 UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1
06:17:15 RX packets:22 errors:0 dropped:0 overruns:0 frame:0
06:17:15 TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
06:17:15 collisions:0 txqueuelen:1000
06:17:15 RX bytes:2587 (2.5 KiB) TX bytes:3875 (3.7 KiB)
06:17:15
06:17:15 lo Link encap:Local Loopback
06:17:15 inet addr:127.0.0.1 Mask:255.0.0.0
06:17:15 inet6 addr: ::1/128 Scope:Host
06:17:15 UP LOOPBACK RUNNING MTU:16436 Metric:1
06:17:15 RX packets:41 errors:0 dropped:0 overruns:0 frame:0
06:17:15 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
06:17:15 collisions:0 txqueuelen:0
06:17:15 RX bytes:3632 (3.5 KiB) TX bytes:3632 (3.5 KiB)
06:17:15
06:17:15 ### route -n
06:17:15 Kernel IP routing table
06:17:15 Destination Gateway Genmask Flags Metric Ref Use Iface
06:17:15 0.0.0.0 10.1.0.1 0.0.0.0 UG 0 0 0 eth0
06:17:15 10.1.0.0 0.0.0.0 255.255.255.240 U 0 0 0 eth0
06:17:15 169.254.169.254 10.1.0.1 255.255.255.255 UGH 0 0 0 eth0
06:17:15 ### cat /etc/resolv.conf
06:17:15 search openstacklocal
06:17:15 nameserver 10.1.0.2
06:17:15 ### ping -c 5 10.1.0.1
06:17:15 PING 10.1.0.1 (10.1.0.1): 56 data bytes
06:17:15
06:17:15 --- 10.1.0.1 ping statistics ---
06:17:15 5 packets transmitted, 0 packets received, 100% packet loss
06:17:15 ### pinging nameservers
06:17:15 #### ping -c 5 10.1.0.2
06:17:15 PING 10.1.0.2 (10.1.0.2): 56 data bytes
06:17:15 64 bytes from 10.1.0.2: seq=0 ttl=64 time=6.330 ms
06:17:15 64 bytes from 10.1.0.2: seq=1 ttl=64 time=1.443 ms
06:17:15 64 bytes from 10.1.0.2: seq=2 ttl=64 time=0.930 ms
06:17:15 64 bytes from 10.1.0.2: seq=3 ttl=64 time=1.107 ms
06:17:15 64 bytes from 10.1.0.2: seq=4 ttl=64 time=1.034 ms
06:17:15
06:17:15 --- 10.1.0.2 ping statistics ---
06:17:15 5 packets transmitted, 5 packets received, 0% packet loss
06:17:15 round-trip min/avg/max = 0.930/2.168/6.330 ms
Any ideas on how to troubleshoot this? what am I missing?
Any help would be appreciated.
http://
http://
From tempest log I can see that tempest is not able to connect to the IP of your VM at all: openstack- ci-logs. aws.infinidat. com/77/ 396477/ 7/check/ dsvm-tempest- infinibox- fc/665df78/ logs/tempest. txt.gz# _2016-11- 29_06_17_ 14_767
http://
From neutron logs it looks as if something is wrong with you floating IP setup: http:// openstack- ci-logs. aws.infinidat. com/77/ 396477/ 7/check/ dsvm-tempest- infinibox- fc/665df78/ logs/screen- q-l3.txt. gz?level= ERROR#_ 2016-11- 29_05_12_ 26_073.
I would ask the neutron folks for more advice. Marking this as incomplete for now.