When trying to delete a port that is in use, Horizon shows the message "Failed to delete subnet <id>".
Using the command-line, Neutron shows the following error:
409-{u'NeutronError': {u'message': u'Port <id> has owner network:router_interface and therefore cannot be deleted directly via the port API.', u'type': u'L3PortInUse', u'detail': u''}}
We should fix the message. It looks like it's just a typo: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/networks/ports/tables.py#L41
To reproduce:
- Create a network and subnet
- Create a router
- Go to the router's detail and add an interface to the previously created subnet
- In the admin dashboard, go to Networks -> <that new network> -> Ports and try to delete the router
Fix proposed to branch: master /review. openstack. org/58781
Review: https:/