Public bug reported:

privileged functions like _run_iproute_link() are not atomic as they first get 
device index and then do some other action on such device.
Because of that there can be the case when device existed when its index was 
taken but not exists during second call to make some action on device.
In such case NetlinkError is raised by pyroute2 and it is not properly handled 
in Neutron.

Because of that for example fullstack test in
http://logs.openstack.org/18/558318/7/check/neutron-
fullstack/a6688da/logs/testr_results.html.gz failed

** Affects: neutron
     Importance: Medium
     Assignee: Slawek Kaplonski (slaweq)
         Status: Confirmed

** Changed in: neutron
     Assignee: (unassigned) => Slawek Kaplonski (slaweq)

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

Title:
  Race condition in privileged._run_iproute_xxx() functions

Status in neutron:
  Confirmed

Bug description:
  privileged functions like _run_iproute_link() are not atomic as they first 
get device index and then do some other action on such device.
  Because of that there can be the case when device existed when its index was 
taken but not exists during second call to make some action on device.
  In such case NetlinkError is raised by pyroute2 and it is not properly 
handled in Neutron.

  Because of that for example fullstack test in
  http://logs.openstack.org/18/558318/7/check/neutron-
  fullstack/a6688da/logs/testr_results.html.gz failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1763329/+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