yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80643
[Bug 1812168] Re: Neutron doesn't delete Designate entry when port is deleted
Reviewed: https://review.opendev.org/691640
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4379310846078c45df140071688f740cd900c1d6
Submitter: Zuul
Branch: master
commit 4379310846078c45df140071688f740cd900c1d6
Author: Salvatore Orlando <sorlando@xxxxxxxxxx>
Date: Mon Oct 28 09:06:33 2019 +0000
Remove Floating IP DNS record upon associated port deletion
Port deletion triggers disassociate_floatingips. This patch ensures
that method not only clears the port association for a Floating IP,
but also removes any DNS record associated with it.
Change-Id: Ia6202610c09811f240af35e2523126447bf02ca5
Closes-Bug: #1812168
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1812168
Title:
Neutron doesn't delete Designate entry when port is deleted
Status in neutron:
Fix Released
Bug description:
When a port with a FIP and DNS association is deleted, Neutron
integration is not deleting the DNS entry from Designate.
To reproduce use the following flow:
# Create a Designate zone and associate with a tenant network
openstack zone create --email admin@xxxxxxxxxxx example.org.
neutron net-create net1 --dns-domain example.org.
neutron subnet-create --name sub1 net1 192.168.1.0/24
# Create a router, and attach tenant network to a public network
neutron router-create rtr
neutron router-interface-add rtr sub1
neutron router-interface-add rtr sub2
neutron router-gateway-set rtr public
# Create a port, associate with a FIP
PORT_ID=$(neutron port-create --name testport --dns-name testport net1 | awk '/ id /{print $4}')
neutron floatingip-create --port-id $PORT_ID public
# Entry should be seen in Designate recordset
openstack recordset list example.org.
# Delete port
neutron port-delete $PORT_ID
# Entry is expected to be deleted from Designate recordset. Yet it isn't
openstack recordset list example.org.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1812168/+subscriptions
References