Comment 8 for bug 1556549

Revision history for this message
Rahul Sharma (rahulsharmaait) wrote :

I can reproduce this easily on devstack.

ubuntu@devstack:~/devstack$ git branch -a
* master
  remotes/origin/HEAD -> origin/master

Here is the script to make openvswitch to fail:-


for i in `seq 1 350`;
    /usr/bin/ovsdb-client monitor Interface name,ofport,external_ids --format=json &

Once it spawns more than 330 ovsdb-client processes, openvswitch starts failing. Now, if you try to launch an instance, it errors out after some time with "no valid host" error. Even if you terminate the instance, you can see a leftover pair with two ends as qvo and qvb respectively. The more instances you launch, you will end up more number of veth pairs on your compute node.

root@devstack:/home/ubuntu# ifconfig | grep qvo
qvo4f07f296-d2 Link encap:Ethernet HWaddr 1e:bc:17:e4:3c:b8

Reboot of compute node is the only solution to get rid of those pairs, or removing them manually but it would be good if those stale entries are not left after the instance has failed and its removed.

Can you please let me know your views on the same?