ML2 delete_network can loop infinitely if called in transaction
Bug #1551958 reported by
Kevin Benton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Kevin Benton |
Bug Description
Both delete_network and delete_subnet in ML2 use a while True to continuously attempt to delete a network or subnet. This logic is fine assuming its DB lookups are fresh on each iteration to get the latest state. However, it fails when these functions are called inside of another transaction because its lookups will get stale data and continue to loop over that data forever.
Thanks to Armando who spotted it: http://
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/286843
Review: https:/