Comment 12 for bug 1917487

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/823962
Committed: https://opendev.org/openstack/neutron/commit/abe24c27056020f47f14d2bb40ea0f27bede90cc
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit abe24c27056020f47f14d2bb40ea0f27bede90cc
Author: Slawek Kaplonski <email address hidden>
Date: Mon Jan 10 11:56:58 2022 +0100

    Fix privileged create_netns function

    In the patch [1] create_netns function from the Neutron's
    privileged ip_lib module was changed in the way that it was
    implemented in the same way like original pyroute2's create_netns
    function.
    Unfortunately during backporing that patch to stable/ussuri and
    stable/train branches, we probably made mistake and instead of
    calling pyroute2's private function _netns() we still called
    public function netns() (which we tried to "reimplement" really).

    So this patch updates it and changes to use private _netns() function
    from pyroute2, in the same way like it is done in the branches newer
    than stable/ussuri.

    [1] https://review.opendev.org/c/openstack/neutron/+/778735

    Related-Bug: #1917487
    Change-Id: Id25ca8a67b52393a1c24c9d659189adc9c16a011