Comment 12 for bug 2039550

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/898717
Committed: https://opendev.org/openstack/neutron/commit/df5cb326ed1a3eb9b6ec10ed3d375551d6c36cb9
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit df5cb326ed1a3eb9b6ec10ed3d375551d6c36cb9
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)
    (cherry picked from commit a4c03671f2b8784cb6bec227ddbd56a16fffbcf1)