Comment 15 for bug 2039550

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/898715
Committed: https://opendev.org/openstack/neutron/commit/a4c03671f2b8784cb6bec227ddbd56a16fffbcf1
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit a4c03671f2b8784cb6bec227ddbd56a16fffbcf1
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Oct 14 18:37:43 2023 +0000

    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 71a7abb498fded6d8d60453074efdef9657f416e)