yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75236
[Bug 1797084] Re: Stale namespaces when fallback tunnels are present
Reviewed: https://review.openstack.org/609324
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8e60531d11401c2c509a1255b49f89bc2bf81a74
Submitter: Zuul
Branch: master
commit 8e60531d11401c2c509a1255b49f89bc2bf81a74
Author: Daniel Alvarez <dalvarez@xxxxxxxxxx>
Date: Wed Oct 10 10:25:17 2018 +0200
Exclude fallback tunnel devices from netns cleanup
When a namespace gets created, if the fb_tunnels_only_for_init_net
sysctl configuration is set to 0, the fallback tunnels will be
automatically created if the corresponding tunnel is present
in the initial network namespace. Source [0].
This is being observed in some systems where namespaces are not
getting cleaned up due to the presence of such devices as
ip_lib.namespace_is_empty() is returning False.
This patch is adding such devices as per the kernel documentation
to the list of excluded devices by default.
[0] https://www.kernel.org/doc/Documentation/sysctl/net.txt
Closes-Bug: #1797084
Change-Id: I94415a0da5367e2d98d792a5eb4ba3919b838326
Signed-off-by: Daniel Alvarez <dalvarez@xxxxxxxxxx>
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1797084
Title:
Stale namespaces when fallback tunnels are present
Status in networking-ovn:
New
Status in neutron:
Fix Released
Bug description:
When a network namespace is created, if the sysctl
fb_tunnels_only_for_init_net option is set to 0 (by default), fallback
tunnel devices will be automatically created if the initial namespace
had those in.
This leads to neutron ip_lib detecting namespaces as 'not empty' thus
unable to clean them up.
We need to add these devices so that they are taken into account when
determining if a namespace is empty or not.
More info at: https://www.kernel.org/doc/Documentation/sysctl/net.txt
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-ovn/+bug/1797084/+subscriptions
References