Merge "Remove Floating IP DNS record upon associated port deletion" into stable/rocky

This commit is contained in:
Zuul 2020-02-24 18:05:36 +00:00 committed by Gerrit Code Review
commit 31c99f4d55
2 changed files with 8 additions and 0 deletions

View File

@ -1663,6 +1663,9 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase,
'context': context,
'router_ids': router_ids,
}
# Process DNS record removal after committing the transaction
if self._is_dns_integration_supported:
self._process_dns_floatingip_delete(context, fip.to_dict())
registry.notify(resources.FLOATING_IP, events.AFTER_UPDATE, self,
**assoc_result)
return router_ids

View File

@ -0,0 +1,5 @@
---
fixes:
- |
[`bug 1812168 <https://bugs.launchpad.net/neutron/+bug/1812168>`_]
Remove Floating IP DNS record upon associated port deletion.