Delete the FloatingIP Agent Gateway Port only when External Network is deleted and also delete the port based on Agents decision.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Swaminathan Vasudevan |
Bug Description
FloatingIP Agent Gateway port is created on the nodes to substitute for the Gateway port, since gateway port is currently residing on the Network Node.
So it makes sense for the server to delete the FloatingIP Agent Gateway Port only when the External Gateway Port is deleted for the Router.
This would reduce the complexity in the Server side.
We should introduce an RPC call for the Floatingip Agent Gateway ports to be removed. The Agent should take necessary action to delete the FloatingIP Agent Gateway Port when the "last_fip_count" comes down to 1 in the agent.
So this will be completely maintained by the agent.
This would improve the control plane performance significantly for the Floatingip addition and deletion.
Changed in neutron: | |
assignee: | nobody → Swaminathan Vasudevan (swaminathan-vasudevan) |
status: | New → In Progress |
Changed in neutron: | |
assignee: | Swaminathan Vasudevan (swaminathan-vasudevan) → Lynn (lynn-li) |
Changed in neutron: | |
assignee: | Lynn (lynn-li) → Swaminathan Vasudevan (swaminathan-vasudevan) |
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
milestone: | none → liberty-rc1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-rc1 → 7.0.0 |
Reviewed: https:/ /review. openstack. org/194441 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d5aa1659f56 601d8f4d5e17273 d5ade7a0e202dd
Committed: https:/
Submitter: Jenkins
Branch: master
commit d5aa1659f56601d 8f4d5e17273d5ad e7a0e202dd
Author: Swaminathan Vasudevan <email address hidden>
Date: Mon Jun 22 16:33:32 2015 -0700
Delete FIP agent gateway port with external gw port
FIP agent gateway ports are associated with external
networks and specific host.
Today FIP agent gateway ports are deleted for
every floatingip associate and disassociate. This
introduces race conditions in the port delete and also
un-necessary access to the db.
This patch will delete the FIP agent gateway port when
the last gateway port of the external network is deleted.
The child patch linked to this parent patch will clean
up the FIP agent gateway port delete when associate,
disassociate and delete of floatingip happens.
This should also cover the case when an agent for some
reason was unable to request agent gw port delete.
(agent died).
Related-Bug: #1408855
Related-Bug: #1468007
Related-Bug: #1450982
Change-Id: I6637a771e6a6ce 74e848cb74b7790 43e16a54a84