From 5106dfe5217b5274305ab565e23dbd1548c1f756 Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Date: Tue, 12 Jun 2018 14:02:58 +0200 Subject: [PATCH] Configure privsep helper in neutron-netns-cleanup This closes a bug that makes netns-cleanup crash when trying to invoke privsep helper, because the rootwrap config isn't correctly passed down to the privsep helper library. Closes-Bug: #1776468 Change-Id: I8258a44a9e2542ec222ebac72c4b889858ab2fc2 --- neutron/cmd/netns_cleanup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron/cmd/netns_cleanup.py b/neutron/cmd/netns_cleanup.py index d65e438dfe2..ff33ee9eceb 100644 --- a/neutron/cmd/netns_cleanup.py +++ b/neutron/cmd/netns_cleanup.py @@ -286,4 +286,5 @@ def main(): conf = setup_conf() conf() config.setup_logging() + agent_config.setup_privsep() cleanup_network_namespaces(conf)