Delete the last port of an OpenStack router

When trying to delete an OpenStack subnet and the associated router, the command neutron router-delete complains because of the port allocated for the gateway and the port of the gateway cannot be removed with neutron port-delete because it is owned by the router. The solution is to clear the owner of the port with something like:

neutron port-update --device-owner clear 7f9685cb-794d-4847

and then delete the router. This is on Icehouse as provided by Enter Cloud Suite.

This entry was posted in openstack. Bookmark the permalink.

2 Responses to Delete the last port of an OpenStack router

  1. Pingback: OpenStack Community Weekly Newsletter (June 19 – 26) | The OpenStack Blog

  2. Pingback: OpenStack Community Weekly Newsletter (June 19 – 26) - GREENSTACK

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>