ospurge doesn't remove DVR router interfaces
Bug #1552336 reported by
Jonas
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ospurge |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When DVR is enabled in Neutron (router_distributed = True), ospurge doesn't remove the router interfaces and as a consequence fails to remove the routers.
The reason as far as I can see is in line 213 in client.py. Rather than:
if port["device_
it should look something like
if port["device_
To post a comment you must log in.
The proposed fix is otherwise ok, but it has a little bug of the second item of dictionary missing "network:" prefix. It should be:
if port["device_ owner"] in ("network: router_ interface" , "network: router_ interface_ distributed" )