race condition in network noop driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
New
|
Undecided
|
Unassigned |
Bug Description
There's a race condition in the network noop driver that prevents the multivip tests (https:/
There are some tricks in the noop driver for associating subnets with networks.
Basically, a call to get_subnet(
def get_network(self, network_id)
sets 'current_network' to network_id
def get_subnet(self, subnet_id)
associates subnet_id to the 'current_network'
it works fine when using tempest with one thread.
But the behavior is undefined when using multiple threads, two threads may call get_network at the same time, then any calls to get_subnet return a subnet that may be associated to the network of another test.