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-02a423f2c68f', network_id='8e209f39-12c8-4d87-95aa-8bca74c4a207, device_owner='network:router_interface_distributed')'
ERROR:root:2017-01-27 17:57:49,012:Can't deal with Ports: OpenStackCloudException("Error deleting port 4eedd709-5f89-4284-83c7-02a423f2c68f: Port 4eedd709-5f89-4284-83c7-02a423f2c68f 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-975bacd79fb7']",)
ERROR:root:2017-01-27 17:57:47,006:Can't deal with Routers: OpenStackCloudException("Error deleting router a29af1f7-944c-4308-b4a5-b64cd1948f5c: Router a29af1f7-944c-4308-b4a5-b64cd1948f5c still has ports\nNeutron server returns request_ids: ['req-b678979b-5f68-4804-8eeb-994f5df1ee44']",)
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']",)