Public bug reported:

In fullstack tests there is many times error with creating e.g. "host-xxxx" 
namespace. Error message tells that such namespace already exists and test is 
failing because of that.
It looks that this is kind of race condition when ip.netns.exists() method 
return false but few miliseconds later namespace already exists and 
ip.netns.add() method fails.
It is in method ensure_namespace() in 
https://github.com/openstack/neutron/blob/master/neutron/agent/linux/ip_lib.py#L204

** Affects: neutron
     Importance: Undecided
     Assignee: Slawek Kaplonski (slaweq)
         Status: In Progress


** Tags: fullstack

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1717582

Title:
  fullstack job failing to create namespace because it's already exists

Status in neutron:
  In Progress

Bug description:
  In fullstack tests there is many times error with creating e.g. "host-xxxx" 
namespace. Error message tells that such namespace already exists and test is 
failing because of that.
  It looks that this is kind of race condition when ip.netns.exists() method 
return false but few miliseconds later namespace already exists and 
ip.netns.add() method fails.
  It is in method ensure_namespace() in 
https://github.com/openstack/neutron/blob/master/neutron/agent/linux/ip_lib.py#L204

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1717582/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to