[Bug 1420572] [NEW] race between neutron-ovs-cleanup and nova-compute

Launchpad Bug Tracker 1420572 at bugs.launchpad.net
Thu Feb 19 13:08:29 UTC 2015


You have been subscribed to a public bug:

There is a race when both neutron-ovs-cleanup and nova-compute trying to
do operations on the qvb*** and qvo*** devices. Below is a scenario I
recently met,

1. nova-compute was started and creating the veth_pair for VM instances
running on the host -
https://github.com/openstack/nova/blob/stable/icehouse/nova/network/linux_net.py#L1298

2. neutron-ovs-cleanup was kicked off and deleted all the ports.

3. when nova-compute tried to set the MTU at
https://github.com/openstack/nova/blob/stable/icehouse/nova/network/linux_net.py#L1280
, Stderr: u'Cannot find device "qvo***"\n' was reported. Because the
device that was just created was deleted again by neutron-ovs-cleanup.

As they both operate on the same resources, there needs a way to
synchronize the operations the two processes do on those resources.

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: cts
-- 
race between neutron-ovs-cleanup and nova-compute
https://bugs.launchpad.net/bugs/1420572
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu.



More information about the Ubuntu-server-bugs mailing list