Ask Your Question

can't remove router, spanning tree

asked 2014-11-19 02:25:41 -0500

Yossi Baruch gravatar image

i have 2 networks (private and public), i have 2 routers (both routers are between the two networks),

now all instances created after the creation of the second router have low ping success rate, what should i do to solve the issue? (other then removing all and rebuilding my network...)

edit retag flag offensive close merge delete


What for you need second router ( if private network is the same) ? I would try to have just one.

dbaxps gravatar imagedbaxps ( 2014-11-19 02:29:49 -0500 )edit

i really don't need the extra router, it's actually the cause of the ping loss... i just want to remove the extra router if only i could get the router to detach itself from the private network...

Yossi Baruch gravatar imageYossi Baruch ( 2014-11-19 02:33:23 -0500 )edit

Via dashboard try to remove interface to private network and unset gateway
Try via CLI

neutron router-interface-delete routerX private_subnet
neutron router-gateway-clear routerX
dbaxps gravatar imagedbaxps ( 2014-11-19 03:05:29 -0500 )edit

tried that, getting the same error... i think that i need to remove all floating IPs and then i'll be able to delete the router, this probably means some downtime

Yossi Baruch gravatar imageYossi Baruch ( 2014-11-19 05:11:37 -0500 )edit

Error report should point you to the reason. I am afraid , that if you have VMs routed via routerX, you won't be able remove the routerX until this VMs exist.

dbaxps gravatar imagedbaxps ( 2014-11-19 05:16:19 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-11-20 07:55:30 -0500

Yossi Baruch gravatar image

isn't this a workaround? you can probably do everything from the DB, but will it be good for the environment? i don't like doing those kind of things (from experience) and i think there should be a procedure of openstack to do this...

edit flag offensive delete link more

answered 2014-11-20 05:25:34 -0500

Vinoth gravatar image

You can login into your openstack database and delete the 2nd router manually.

Router table will be shown in neutron database.

It may ask for foreign / primary key dependencies. Walk through the dependencies & delete / solve them too.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-11-19 02:25:41 -0500

Seen: 406 times

Last updated: Nov 20 '14