nuttcp-t: v7.3.2: Error: connect: No route to host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vmtp |
New
|
Undecided
|
Unassigned |
Bug Description
1)Run VMTP test
# docker run --rm -it -v $PWD:/tmp/vmtp -v $HOME/.ssh:/tmp/ssh berrypatch/vmtp vmtp -d -c /tmp/vmtp/vmtp.cfg -r /tmp/vmtp/
2016-12-03 06:41:56,900 INFO Using http://
2016-12-03 06:41:56,900 INFO VM public key: /tmp/ssh/id_rsa.pub
2016-12-03 06:41:56,900 INFO VM private key: /tmp/ssh/id_rsa
2016-12-03 06:41:57,755 INFO Found image centos7 to launch VM, will continue
/usr/local/
'Providing attr without filter_value to get_urls() is '
2016-12-03 06:41:57,994 INFO Using external network: public_net
2016-12-03 06:41:58,200 INFO Created ext router router.
2016-12-03 06:41:58,377 INFO Created internal network: pns-internal-net.
2016-12-03 06:41:58,553 INFO Created internal network: pns-internal-net2.
2016-12-03 06:41:58,881 DEBUG Ext router associated to pns-internal-net
2016-12-03 06:41:59,127 DEBUG Ext router associated to pns-internal-net2
2016-12-03 06:41:59,349 INFO OpenStack agent: Open vSwitch agent
2016-12-03 06:41:59,349 INFO OpenStack network type: vlan
2016-12-03 06:42:00,067 INFO [TestServer1] Creating server VM...
2016-12-03 06:42:00,068 DEBUG [TestServer1] Starting on zone test_kvm:
2016-12-03 06:42:00,722 DEBUG [TestServer1] VM status=BUILD, retrying 1 of 50...
2016-12-03 06:42:03,204 DEBUG [TestServer1] VM status=BUILD, retrying 2 of 50...
2016-12-03 06:42:05,402 DEBUG [TestServer1] VM status=BUILD, retrying 3 of 50...
2016-12-03 06:42:07,505 DEBUG [TestServer1] VM status=BUILD, retrying 4 of 50...
2016-12-03 06:42:09,612 DEBUG [TestServer1] VM status=BUILD, retrying 5 of 50...
2016-12-03 06:42:11,735 DEBUG [TestServer1] VM status=BUILD, retrying 6 of 50...
2016-12-03 06:42:13,888 DEBUG [TestServer1] VM status=BUILD, retrying 7 of 50...
2016-12-03 06:42:15,991 DEBUG [TestServer1] VM status=BUILD, retrying 8 of 50...
2016-12-03 06:42:18,103 DEBUG [TestServer1] VM status=BUILD, retrying 9 of 50...
2016-12-03 06:42:20,207 DEBUG [TestServer1] VM status=BUILD, retrying 10 of 50...
2016-12-03 06:42:22,383 DEBUG [TestServer1] VM status=BUILD, retrying 11 of 50...
2016-12-03 06:42:24,488 DEBUG [TestServer1] VM status=BUILD, retrying 12 of 50...
2016-12-03 06:42:26,606 DEBUG [TestServer1] VM status=BUILD, retrying 13 of 50...
2016-12-03 06:42:28,715 DEBUG [TestServer1] VM status=BUILD, retrying 14 of 50...
2016-12-03 06:42:30,819 DEBUG [TestServer1] VM status=BUILD, retrying 15 of 50...
2016-12-03 06:42:32,932 DEBUG [TestServer1] VM status=BUILD, retrying 16 of 50...
2016-12-03 06:42:35,087 DEBUG [TestServer1] VM status=BUILD, retrying 17 of 50...
2016-12-03 06:42:37,193 DEBUG [TestServer1] VM status=BUILD, retrying 18 of 50...
2016-12-03 06:42:39,312 DEBUG [TestServer1] VM status=BUILD, retrying 19 of 50...
2016-12-03 06:42:41,418 DEBUG [TestServer1] VM status=BUILD, retrying 20 of 50...
2016-12-03 06:42:43,522 DEBUG [TestServer1] VM status=BUILD, retrying 21 of 50...
2016-12-03 06:42:45,652 DEBUG [TestServer1] VM status=BUILD, retrying 22 of 50...
2016-12-03 06:42:47,759 DEBUG [TestServer1] VM status=BUILD, retrying 23 of 50...
2016-12-03 06:42:49,867 DEBUG [TestServer1] VM status=BUILD, retrying 24 of 50...
2016-12-03 06:42:51,974 DEBUG [TestServer1] VM status=BUILD, retrying 25 of 50...
2016-12-03 06:42:54,080 DEBUG [TestServer1] VM status=BUILD, retrying 26 of 50...
2016-12-03 06:42:56,187 DEBUG [TestServer1] VM status=BUILD, retrying 27 of 50...
2016-12-03 06:42:58,296 DEBUG [TestServer1] VM status=BUILD, retrying 28 of 50...
2016-12-03 06:43:00,404 DEBUG [TestServer1] VM status=BUILD, retrying 29 of 50...
2016-12-03 06:43:02,537 DEBUG [TestServer1] VM status=BUILD, retrying 30 of 50...
2016-12-03 06:43:04,644 DEBUG [TestServer1] VM status=BUILD, retrying 31 of 50...
2016-12-03 06:43:06,851 DEBUG [TestServer1] VM status=BUILD, retrying 32 of 50...
2016-12-03 06:43:08,957 DEBUG [TestServer1] VM status=BUILD, retrying 33 of 50...
2016-12-03 06:43:11,062 DEBUG [TestServer1] VM status=BUILD, retrying 34 of 50...
2016-12-03 06:43:13,168 DEBUG [TestServer1] VM status=BUILD, retrying 35 of 50...
2016-12-03 06:43:15,278 DEBUG [TestServer1] VM status=BUILD, retrying 36 of 50...
2016-12-03 06:43:17,382 DEBUG [TestServer1] VM status=BUILD, retrying 37 of 50...
2016-12-03 06:43:19,490 DEBUG [TestServer1] VM status=BUILD, retrying 38 of 50...
2016-12-03 06:43:21,597 DEBUG [TestServer1] VM status=BUILD, retrying 39 of 50...
2016-12-03 06:43:23,853 INFO [TestServer1] Associating floating IP 172.16.71.xxx
2016-12-03 06:43:24,499 INFO [TestServer1] Internal network IP: 10.0.0.2
2016-12-03 06:43:24,499 INFO [TestServer1] SSH IP: 172.16.71.xxx
2016-12-03 06:43:24,499 INFO [TestServer1] Setup SSH for root@172.16.71.xxx
2016-12-03 06:44:01,364 INFO [TestServer1] Installing nuttcp-7.3.2...
2016-12-03 06:44:01,419 DEBUG [TestServer1] Copying nuttcp-7.3.2 to target...
2016-12-03 06:44:01,725 DEBUG [TestServer1] Starting nuttcp-7.3.2 server...
2016-12-03 06:44:01,812 DEBUG [TestServer1]
2016-12-03 06:44:01,896 INFO [TestClient1] Creating client VM...
2016-12-03 06:44:01,897 DEBUG [TestClient1] Starting on zone test_kvm:
2016-12-03 06:44:03,131 DEBUG [TestClient1] VM status=BUILD, retrying 1 of 50...
2016-12-03 06:44:05,240 DEBUG [TestClient1] VM status=BUILD, retrying 2 of 50...
2016-12-03 06:44:07,347 DEBUG [TestClient1] VM status=BUILD, retrying 3 of 50...
2016-12-03 06:44:09,451 DEBUG [TestClient1] VM status=BUILD, retrying 4 of 50...
2016-12-03 06:44:11,663 DEBUG [TestClient1] VM status=BUILD, retrying 5 of 50...
2016-12-03 06:44:13,771 DEBUG [TestClient1] VM status=BUILD, retrying 6 of 50...
2016-12-03 06:44:15,974 DEBUG [TestClient1] VM status=BUILD, retrying 7 of 50...
2016-12-03 06:44:18,077 DEBUG [TestClient1] VM status=BUILD, retrying 8 of 50...
2016-12-03 06:44:20,188 DEBUG [TestClient1] VM status=BUILD, retrying 9 of 50...
2016-12-03 06:44:22,293 DEBUG [TestClient1] VM status=BUILD, retrying 10 of 50...
2016-12-03 06:44:24,396 DEBUG [TestClient1] VM status=BUILD, retrying 11 of 50...
2016-12-03 06:44:26,500 DEBUG [TestClient1] VM status=BUILD, retrying 12 of 50...
2016-12-03 06:44:28,611 DEBUG [TestClient1] VM status=BUILD, retrying 13 of 50...
2016-12-03 06:44:30,715 DEBUG [TestClient1] VM status=BUILD, retrying 14 of 50...
2016-12-03 06:44:32,822 DEBUG [TestClient1] VM status=BUILD, retrying 15 of 50...
2016-12-03 06:44:34,925 DEBUG [TestClient1] VM status=BUILD, retrying 16 of 50...
2016-12-03 06:44:37,032 DEBUG [TestClient1] VM status=BUILD, retrying 17 of 50...
2016-12-03 06:44:39,136 DEBUG [TestClient1] VM status=BUILD, retrying 18 of 50...
2016-12-03 06:44:41,252 DEBUG [TestClient1] VM status=BUILD, retrying 19 of 50...
2016-12-03 06:44:43,359 DEBUG [TestClient1] VM status=BUILD, retrying 20 of 50...
2016-12-03 06:44:45,466 DEBUG [TestClient1] VM status=BUILD, retrying 21 of 50...
2016-12-03 06:44:47,570 DEBUG [TestClient1] VM status=BUILD, retrying 22 of 50...
2016-12-03 06:44:49,815 DEBUG [TestClient1] VM status=BUILD, retrying 23 of 50...
2016-12-03 06:44:51,920 DEBUG [TestClient1] VM status=BUILD, retrying 24 of 50...
2016-12-03 06:44:54,027 DEBUG [TestClient1] VM status=BUILD, retrying 25 of 50...
2016-12-03 06:44:56,133 DEBUG [TestClient1] VM status=BUILD, retrying 26 of 50...
2016-12-03 06:44:58,243 DEBUG [TestClient1] VM status=BUILD, retrying 27 of 50...
2016-12-03 06:45:00,401 DEBUG [TestClient1] VM status=BUILD, retrying 28 of 50...
2016-12-03 06:45:02,503 DEBUG [TestClient1] VM status=BUILD, retrying 29 of 50...
2016-12-03 06:45:04,630 DEBUG [TestClient1] VM status=BUILD, retrying 30 of 50...
2016-12-03 06:45:06,733 DEBUG [TestClient1] VM status=BUILD, retrying 31 of 50...
2016-12-03 06:45:08,938 DEBUG [TestClient1] VM status=BUILD, retrying 32 of 50...
2016-12-03 06:45:11,047 DEBUG [TestClient1] VM status=BUILD, retrying 33 of 50...
2016-12-03 06:45:13,151 DEBUG [TestClient1] VM status=BUILD, retrying 34 of 50...
2016-12-03 06:45:15,260 DEBUG [TestClient1] VM status=BUILD, retrying 35 of 50...
2016-12-03 06:45:17,372 DEBUG [TestClient1] VM status=BUILD, retrying 36 of 50...
2016-12-03 06:45:19,480 DEBUG [TestClient1] VM status=BUILD, retrying 37 of 50...
2016-12-03 06:45:21,583 DEBUG [TestClient1] VM status=BUILD, retrying 38 of 50...
2016-12-03 06:45:23,712 DEBUG [TestClient1] VM status=BUILD, retrying 39 of 50...
2016-12-03 06:45:25,824 DEBUG [TestClient1] VM status=BUILD, retrying 40 of 50...
2016-12-03 06:45:28,020 INFO [TestClient1] Associating floating IP 172.16.71.xxx
2016-12-03 06:45:28,592 INFO [TestClient1] Internal network IP: 10.0.0.4
2016-12-03 06:45:28,592 INFO [TestClient1] SSH IP: 172.16.71.xxx
2016-12-03 06:45:28,592 INFO [TestClient1] Setup SSH for root@172.16.71.xxx
2016-12-03 06:46:17,648 INFO [TestClient1] Installing nuttcp-7.3.2...
2016-12-03 06:46:17,701 DEBUG [TestClient1] Copying nuttcp-7.3.2 to target...
2016-12-03 06:46:17,879 INFO =======
2016-12-03 06:46:17,879 INFO Flow 1: VM to VM same network fixed IP (intra-node)
2016-12-03 06:46:17,879 INFO [TestClient1] Measuring TCP Throughput (packet size=65536)...
2016-12-03 06:46:17,879 DEBUG [TestClient1] /tmp/nuttcp-7.3.2 -T10 -l65536 -p5001 -P5002 -fparse 10.0.0.2
2016-12-03 06:46:17,998 INFO [TestClient1] ERROR cmd=/tmp/
2016-12-03 06:46:17,998 INFO [TestClient1] error=nuttcp-t: Info="attemptin
nuttcp-t: Info="will_
nuttcp-t: v7.3.2: Error: connect: No route to host
errno=113
2016-12-03 06:46:18,001 ERROR Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
az_
File "/usr/local/
bidirection
File "/usr/local/
length=
File "/usr/local/
match = re.search(re_tcp, cmd_out)
File "/usr/lib/
return _compile(pattern, flags).
TypeError: expected string or buffer
Hi, Xuchao,
Sometimes when traceback is shown, it doesn't really mean there is a bug... Regard of this, I would say there might be something wrong with your OpenStack.
What VMTP trying to do now is, creating two VMs on the same compute node and same network, and start the nuttcp between this two VM. One thing you could try is, run VMTP with --stop-on-error. Once the error occurs, everything will be remained as is without cleanup. Then you could try to ssh to one of the VM and try to ping and diagnose more on it.
Regards,
Yichen