Failure to delete port when using DVR
Bug #1659910 reported by
sean redmond
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ospurge |
New
|
Undecided
|
Unassigned |
Bug Description
Replicate:
-) Setup neutron to use DRV
-) connect a tenant network to a DRV router
-) Call ospurge to purge the project
You will notice it fails when trying to delete the port connected to the DVR router, if you delete the port manually the rest of the ospurge operation including clearing the gateway and deleting the router work as expected.
I will try and trace this back in the code when time permits to help further.
To post a comment you must log in.
Just to quickly add to the above, It seem to have an issue with the device_owner being detected as 'network: router_ interface_ distributed'
INFO:root: 2017-01- 27 17:57:11,843:Going to delete Port (id='4eedd709- 5f89-4284- 83c7-02a423f2c6 8f', network_ id='8e209f39- 12c8-4d87- 95aa-8bca74c4a2 07, device_ owner=' network: router_ interface_ distributed' )'
ERROR:root: 2017-01- 27 17:57:49,012:Can't deal with Ports: OpenStackCloudE xception( "Error deleting port 4eedd709- 5f89-4284- 83c7-02a423f2c6 8f: Port 4eedd709- 5f89-4284- 83c7-02a423f2c6 8f cannot be deleted directly via the port API: has device owner network: router_ interface_ distributed. \nNeutron server returns request_ids: ['req-79cbfb93- 1db4-46a7- b95c-975bacd79f b7']",)
ERROR:root: 2017-01- 27 17:57:47,006:Can't deal with Routers: OpenStackCloudE xception( "Error deleting router a29af1f7- 944c-4308- b4a5-b64cd1948f 5c: Router a29af1f7- 944c-4308- b4a5-b64cd1948f 5c still has ports\nNeutron server returns request_ids: ['req-b678979b- 5f68-4804- 8eeb-994f5df1ee 44']",)