Comment 4 for bug 1404743

Revision history for this message
Wei Hu (huwei-xtu) wrote : Re: test_load_balancer_basic fails with ssh timeout

My patch failed to pass jenkins by this issue.
Failure case: tempest.scenario.test_load_balancer_basic.TestLoadBalancerBasic.test_load_balancer_basic[compute,network].
Consolo-log: http://logs.openstack.org/99/144399/6/check/check-tempest-dsvm-neutron-full/05caba4/console.html.
And from the log informations. I think this can be result by cirros can not get an ip address. See cirros console-log(ifconfig -a).

2015-01-05 04:27:07.992 | === system information ===
2015-01-05 04:27:07.992 | Platform: OpenStack Foundation OpenStack Nova
2015-01-05 04:27:07.992 | Container: none
2015-01-05 04:27:07.992 | Arch: x86_64
2015-01-05 04:27:07.992 | CPU(s): 1 @ 2593.733 MHz
2015-01-05 04:27:07.992 | Cores/Sockets/Threads: 1/1/1
2015-01-05 04:27:07.992 | Virt-type: AMD-V
2015-01-05 04:27:07.992 | RAM Size: 49MB
2015-01-05 04:27:07.993 | Disks:
2015-01-05 04:27:07.993 | NAME MAJ:MIN SIZE LABEL MOUNTPOINT
2015-01-05 04:27:07.993 | vda 253:0 25165824 cirros-rootfs /
2015-01-05 04:27:07.993 | sr0 11:0 419840 config-2
2015-01-05 04:27:07.993 | === sshd host keys ===
2015-01-05 04:27:07.993 | -----BEGIN SSH HOST KEY KEYS-----
2015-01-05 04:27:07.993 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgmrXHV1aEK2K+fy6cdj/OAw1SBDNZEJt0QwelbXK+nfTYPdtkzUTiWrifbDOtvZXcFUXkCj+uiH8EjlTkd1MOxcDwobz+auNy9O3DTB3RDzwFQ0EkWST1LTgRh8bWcPK5zFNOxdxAT2/l+j5Q0NLx/dDG1JV0KvjpGCUPLZMIHDaeXs= root@server1
2015-01-05 04:27:07.993 | ssh-dss AAAAB3NzaC1kc3MAAACBAK9X11hJOjTfL0yhKqZjqtkNAb//Nil96drqY8iHE7YYCMaXoWIfI8FcE8BKWFTIJQApPP+62y2ocEgeooZkpHOxiA9hAaixaJBjVYHt7++lpojlMmDYPzU+v6UH/BN9epHLKR78FKHyjgfoIVAeKvJB2iAUztFR72j+rcP62IMPAAAAFQCNWnIeBJF8zFcXKsrdTbP6ziCkdQAAAIAZcSyBWIZ+bQ76Wt0CDTo9CjA9WC0A+Cvu1IxvyUlsgUZAwOS9e7BlLg7rMSJMh9S2td3ormSf0LAafF7vucDxNCx3AaR1ZrWmOUqzMl4krgxQGBazobwZFg3xLogwPCRB6Gfqu9ihO6IbX1P2CWD2b4WjpUeSjTfkMJz7pyooGgAAAIA7Dv6NWRs1pHSgRdrjho86wLKZv/8A+4/q75R8nrjkFDZOMsvfQPmwwVN5zAI4CMS0KXdx0+eq/vauT6F6Uf66J2RWlvCwZvF/oBHIDNLx/4Oi1btixfOSekp+BPZVBSqV3BSvGkRdT6C5VMTgSwA4QSZefuy9SBlq7kOssTaPMg== root@server1
2015-01-05 04:27:07.993 | -----END SSH HOST KEY KEYS-----
2015-01-05 04:27:07.994 | === network info ===
2015-01-05 04:27:07.994 | if-info: lo,up,127.0.0.1,8,::1
2015-01-05 04:27:07.994 | if-info: eth0,up,,8,fe80::f816:3eff:fe5a:b2a
2015-01-05 04:27:07.994 | === datasource: configdrive local ===
2015-01-05 04:27:07.994 | instance-id: 6d7a1f8f-2b76-42d9-8d01-1512e6e3c9cf
2015-01-05 04:27:07.994 | name: server1
2015-01-05 04:27:07.994 | availability-zone: nova
2015-01-05 04:27:07.994 | local-hostname: server1.novalocal
2015-01-05 04:27:07.994 | launch-index: 0
2015-01-05 04:27:07.994 | === cirros: current=0.3.2 uptime=195.93 ===
2015-01-05 04:27:07.994 | route: fscanf
2015-01-05 04:27:07.994 | === pinging gateway failed, debugging connection ===
2015-01-05 04:27:07.995 | ############ debug start ##############
2015-01-05 04:27:07.995 | ### /etc/init.d/sshd start
2015-01-05 04:27:07.995 | Starting dropbear sshd: OK
2015-01-05 04:27:07.995 | route: fscanf
2015-01-05 04:27:07.995 | ### ifconfig -a
2015-01-05 04:27:07.995 | eth0 Link encap:Ethernet HWaddr FA:16:3E:5A:0B:2A
2015-01-05 04:27:07.995 | inet6 addr: fe80::f816:3eff:fe5a:b2a/64 Scope:Link
2015-01-05 04:27:07.995 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
2015-01-05 04:27:07.995 | RX packets:136 errors:0 dropped:0 overruns:0 frame:0
2015-01-05 04:27:07.995 | TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
2015-01-05 04:27:07.995 | collisions:0 txqueuelen:1000
2015-01-05 04:27:07.995 | RX bytes:7284 (7.1 KiB) TX bytes:1114 (1.0 KiB)
2015-01-05 04:27:07.996 |
2015-01-05 04:27:07.996 | lo Link encap:Local Loopback
2015-01-05 04:27:07.996 | inet addr:127.0.0.1 Mask:255.0.0.0
2015-01-05 04:27:07.996 | inet6 addr: ::1/128 Scope:Host
2015-01-05 04:27:07.996 | UP LOOPBACK RUNNING MTU:16436 Metric:1
2015-01-05 04:27:07.996 | RX packets:12 errors:0 dropped:0 overruns:0 frame:0
2015-01-05 04:27:07.996 | TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
2015-01-05 04:27:07.996 | collisions:0 txqueuelen:0
2015-01-05 04:27:07.996 | RX bytes:1020 (1020.0 B) TX bytes:1020 (1020.0 B)
2015-01-05 04:27:07.996 |
2015-01-05 04:27:07.996 | ### route -n
2015-01-05 04:27:07.996 | Kernel IP routing table
2015-01-05 04:27:07.997 | Destination Gateway Genmask Flags Metric Ref Use Iface
2015-01-05 04:27:07.997 | route: fscanf
2015-01-05 04:27:07.997 | ### cat /etc/resolv.conf
2015-01-05 04:27:07.997 | cat: can't open '/etc/resolv.conf': No such file or directory
2015-01-05 04:27:07.997 | ### gateway not found
2015-01-05 04:27:07.997 | /sbin/cirros-status: line 1: can't open /etc/resolv.conf: no such file
2015-01-05 04:27:07.997 | ### pinging nameservers
2015-01-05 04:27:07.997 | ### uname -a
2015-01-05 04:27:07.997 | Linux server1 3.2.0-60-virtual #91-Ubuntu SMP Wed Feb 19 04:13:28 UTC 2014 x86_64 GNU/Linux