How to remove vxlan tunnels after compute node removal
Running Icehouse with control, network, and db/cinder nodes. Using VXLAN. We recently expanded our compute node count from 2 to 20 to test our deployment strategy. We needed to rerun the deployment test, so I removed all but 2 compute nodes by first disabling services on those nodes via 'nova-manage' then removing DB entries for the nodes via the steps here: http://blog.changbin.org/2014/07/removedeletedecommission-compute-node.html (http://blog.changbin.org/2014/07/remo...)
nova-manage service list output no longer shows those nodes, however the vxlan tunnels for those nodes remain when examining the output of ovs-vsctl show from the network node and remaining compute nodes.
Obviously the DB cleanup steps missed cleanup of associated neutron objects. I've read that Icehouse now includes an API to "properly" remove compute nodes, but have found no examples of it's use. Any suggestions?