Race condition in privileged._run_iproute_xxx() functions
Bug #1763329 reported by
Slawek Kaplonski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Slawek Kaplonski |
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://
Changed in neutron: | |
assignee: | nobody → Slawek Kaplonski (slaweq) |
tags: | added: fullstack functional-tests |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/560862
Review: https:/