floating IP creation can now leave orphaned floating IP ports
Bug #1648098 reported by
Kevin Benton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
Do to changes in the floating IP logic in https:/
These ports will not be visible to the tenant since they are on the external network. They are identifiable with a device_id of 'PENDING'.
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | Kevin Benton (kevinbenton) → Brian Haley (brian-haley) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/397499 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=6948467b770 df68cb96877f3e0 e710650ad63fd4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6948467b770df68 cb96877f3e0e710 650ad63fd4
Author: Kevin Benton <email address hidden>
Date: Mon Nov 14 19:05:16 2016 -0800
Add janitor to cleanup orphaned fip ports
This adds a janitor worker to the L3 DB module that
will run every 5 minutes looking for floating IP ports
with the device_id of 'PENDING'. If it finds any, it
will keep track of the port ID to see if any stay in
'PENDING' with the next iteration.
If the device ID is still PENDING after 5 minutes, it
means one of two things has happened. Either the server
died after creating the floating IP port, but before
creating the floating IP itself; or, it died after creating
the floating IP port and the floating IP record, but before
updating the device_id of the floating IP port to the
floating IP ID.
The janitor handles both cases by deleting the floating IP
port if it has no associated floating IP and by updating
the floating IP port device ID if it does have an associated
floating IP.
Related-Bug: #1540844 c54513ca7d20cca f3c74180593
Closes-Bug: #1648098
Change-Id: I684a822553a5a0