neutron/releasenotes/notes/port_bulk_creation_no_ipamallocation_leftovers-9d72cc5f616f51e4.yaml
Rodolfo Alonso Hernandez 717eb38991 Remove any IPAM allocation if port bulk creation fails
During the port bulk creation, if an IPAM allocation fails (for
example, if the IP address is outside of the subnet CIDR), the
other IPAM allocations already created are deleted before raising
the exception.

Conflicts:
  neutron/tests/unit/plugins/ml2/test_plugin.py

Closes-Bug: #2039550
Change-Id: I7fd6e38016d099c03f80874bfa1fb8bdaff8bd2c
(cherry picked from commit 71a7abb498)
(cherry picked from commit a4c03671f2)
2023-10-15 22:33:30 +00:00

8 lines
300 B
YAML

---
fixes:
- |
During the port bulk creation, if an IPAM allocation fails (for example, if
the IP address is outside of the subnet CIDR), the other IPAM allocations
already created are deleted before raising the exception. Fixes bug
`2039550 <https://launchpad.net/bugs/2039550>`_.