Subnet delete triggers dhcp port deletion but asynchronously,
therefore in the condition described in the bug report we may
get a conflict when deleting the segment too fast after the subnet.
Here we follow the example of how we auto-delete ports in net delete.
Please also find a fullstack test in Related-Change below.
Reviewed: https:/ /review. opendev. org/729250 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=da45bbbff4e 10e3d924ac3d85c 9f382623708b11
Committed: https:/
Submitter: Zuul
Branch: master
commit da45bbbff4e10e3 d924ac3d85c9f38 2623708b11
Author: Bence Romsics <email address hidden>
Date: Tue May 19 13:21:52 2020 +0200
Auto-delete dhcp ports on segment delete
Subnet delete triggers dhcp port deletion but asynchronously,
therefore in the condition described in the bug report we may
get a conflict when deleting the segment too fast after the subnet.
Here we follow the example of how we auto-delete ports in net delete.
Please also find a fullstack test in Related-Change below.
Change-Id: Iba02f5a2211b18 c2deb9097daad6b e5e7d21faf8 /review. opendev. org/728904
Closes-Bug: #1878632
Related-Change: https:/