Comment 20 for bug 2060163

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (unmaintained/zed)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/920621
Committed: https://opendev.org/openstack/neutron/commit/ece6a9a7acab20d5a39f54784427258d54b72cfd
Submitter: "Zuul (22348)"
Branch: unmaintained/zed

commit ece6a9a7acab20d5a39f54784427258d54b72cfd
Author: yatinkarel <email address hidden>
Date: Tue May 28 13:11:58 2024 +0530

    [stable only] Do not fail on missing logical router ports

    set_gateway_mtu runs for all the gateway ports for a network
    and if one of the ports get's deleted in meanwhile
    whole transaction fails.

    To handle this we need to add if_exists=True to the transaction
    but for that it needs to be supported in ovsdbapp. It's fixed
    in ovsdbapp with [1] but would require to bump ovsdbapp
    minimal version in requirements.txt which we normally don't
    do for stable branches.

    So using "update_lrouter_port" instead as that have the
    required option available. Before [2] that was only used
    but during the switch if_exists part was missed.

    [1] https://review.opendev.org/q/I56685478214aae7b6d3a2a3187297ad4eb1869a3
    [2] https://review.opendev.org/c/openstack/neutron/+/762695

    Closes-Bug: #2065701
    Related-Bug: #2060163
    Change-Id: I447990509cdea9830228d3bc92a97062cc57a472
    (cherry picked from commit 5bdd0efb3970a52c60043f166bc728778ac3f395)
    Conflicts:
            neutron/tests/unit/fake_resources.py