Comment 6 for bug 1987135

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

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

commit de9e632e1464173ce474d0a3e2a4c10a49ebc117
Author: Jakub Libosvar <email address hidden>
Date: Fri Aug 19 20:16:09 2022 +0000

    ovn: Don't fail db sync if new IP allocation fails for metadata

    There is a scenario where IP allocation pool is depleted but OVN
    metadata port got removed its IP manually. The DB sync script will
    attempt to allocate a new IP address if DHCP is enabled in the subnet.
    Since the pool has no available IP addresses an exception is raised and
    the whole db sync stops.

    This patch simply catches the exception, logs and error and continues
    syncing other resources.

    Closes-bug: #1987135
    Signed-off-by: Jakub Libosvar <email address hidden>
    Change-Id: Iaa7b0d7ceb244a38fddd7676066683bf2ca72341
    (cherry picked from commit d237a2a83034fab809517a39dddee15995226131)