Comment 37 for bug 1961740

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/904827
Committed: https://opendev.org/openstack/neutron/commit/758970a3d7dce1e1de10741df38a5b69e12ca9fc
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 758970a3d7dce1e1de10741df38a5b69e12ca9fc
Author: Slawek Kaplonski <email address hidden>
Date: Wed Sep 7 12:07:38 2022 +0200

    Reset device namespace when adding to the namespace fails

    In case when during adding device to the namespace, device will be "shy"
    and will disappear for a moment and NetworkInterfaceNotFound exception
    will be raised, we need to reset device.namespace to be None.
    Otherwise, in the next attempt of adding interface to namespace, when it
    will be added back to ovs (and will be in global scope), Neutron will
    already look for it in the "namespace" and that will always be failing.

    Closes-bug: #1961740
    Change-Id: Ie9331c72c44084b0a382598c3359214cce2f2ebd
    (cherry picked from commit 76578393ab401a33084921c4355af8e82c5d02ee)