[openstack-dev] [Neutron] Route cannot be deleted
Sayali Lunkad
sayali.92720 at gmail.com
Sat Aug 2 07:56:59 UTC 2014
Hi,
I am facing trouble deleting a router from my openstack deployment.
I have tried the following commands on the *controller node* and pasted the
output.
*neutron router-interface-delete* 2f16d846-b6aa-43a3-adbe-7f91a1389b7f
962b8364-a2b4-46cc-95be-28cbab62b8c2
409-{u'NeutronError': {u'message': u'Router interface for subnet
962b8364-a2b4-46cc-95be-28cbab62b8c2 on router
2f16d846-b6aa-43a3-adbe-7f91a1389b7f cannot be deleted, as it is required
by one or more routes.', u'type': u'RouterInterfaceInUseByRoute',
u'detail': u''}}
*neutron port-delete* ec1aac66-481d-488e-860b-53b88d950ac7
409-{u'NeutronError': {u'message': u'Port
ec1aac66-481d-488e-860b-53b88d950ac7 has owner network:router_interface and
therefore cannot be deleted directly via the port API.', u'type':
u'L3PortInUse', u'detail': u''}}
*neutron router-delete* 2f16d846-b6aa-43a3-adbe-7f91a1389b7f
409-{u'NeutronError': {u'message': u'Router
2f16d846-b6aa-43a3-adbe-7f91a1389b7f still has active ports', u'type':
u'RouterInUse', u'detail': u''}}
*neutron l3-agent-router-remove* 7a977e23-767f-418e-8429-651c4232548c
2f16d846-b6aa-43a3-adbe-7f91a1389b7f
This removes the router from the l3 agent and attaches it to another one as
seen below.
*neutron l3-agent-list-hosting-router*
2f16d846-b6aa-43a3-adbe-7f91a1389b7f
+--------------------------------------+----------------------+----------------+-------+
| id | host |
admin_state_up | alive |
+--------------------------------------+----------------------+----------------+-------+
| 96e1371a-be03-42ed-8141-3b0027d3a82f | alln01-1-csx-net-004 |
True | :-) |
+--------------------------------------+----------------------+----------------+-------+
I have also run the commands below on the *network node* which worked fine.
*ip netns delete* qrouter-2f16d846-b6aa-43a3-adbe-7f91a1389b7f
*ovs-vsctl del-port* br-int qr-ec1aac66-48
Could someone please tell me what can be done to delete the router or is
this some bug I am hitting.
Thanks,
Sayali.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140802/da4b44e8/attachment.html>
More information about the OpenStack-dev
mailing list