Comment 5 for bug 1585165

Revision history for this message
Swaminathan Vasudevan (swaminathan-vasudevan) wrote :

Rossella, you are right.
https://github.com/openstack/neutron/blob/master/neutron/db/l3_dvrscheduler_db.py#L420
This is the line were we check for the port-hostbinding has changed or not.

But currently this is being checked only for ports that does not have a device_owner and also only router_remove conditions are checked.

We might have to check if the associated port has floatingips on the original host and if so, that floatingip should be removed.

Probably it should call the 'l3plugin.delete_floatingip()' in order to notify the right host that is hosting the floatingip.