Neutron doesn't delete Designate entry when port is deleted

Bug #1812168 reported by Kobi Samoray on 2019-01-17
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Miguel Lavalle

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 <email address hidden>
neutron net-create net1 --dns-domain
neutron subnet-create --name sub1 net1

# 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

# Delete port
neutron port-delete $PORT_ID

# Entry is expected to be deleted from Designate recordset. Yet it isn't
openstack recordset list

Changed in neutron:
importance: Undecided → High
tags: added: designate dns
Miguel Lavalle (minsel) on 2019-01-24
Changed in neutron:
assignee: nobody → Miguel Lavalle (minsel)
Dr. Jens Harbott (j-harbott) wrote :

@Miguel: Are you actively working on this? Otherwise maybe better unassign yourself?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers