summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Angel Ajo <majopela@redhat.com>2018-06-12 14:02:58 +0200
committerMiguel Angel Ajo <majopela@redhat.com>2018-06-12 15:07:07 +0200
commit5106dfe5217b5274305ab565e23dbd1548c1f756 (patch)
tree3e66a4203e0d711f353e2bf262e1cbf19770a2b7
parent100491cec72ecf694cc8cbd6cd17b66a191a5bd7 (diff)
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
Notes
Notes (review): Code-Review+2: Jakub Libosvar <jlibosva-redhat@email.cz> Code-Review+2: Brian Haley <haleyb.dev@gmail.com> Code-Review+2: Slawek Kaplonski <skaplons@redhat.com> Workflow+1: Slawek Kaplonski <skaplons@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 12 Jun 2018 21:41:19 +0000 Reviewed-on: https://review.openstack.org/574703 Project: openstack/neutron Branch: refs/heads/master
-rw-r--r--neutron/cmd/netns_cleanup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/neutron/cmd/netns_cleanup.py b/neutron/cmd/netns_cleanup.py
index d65e438..ff33ee9 100644
--- a/neutron/cmd/netns_cleanup.py
+++ b/neutron/cmd/netns_cleanup.py
@@ -286,4 +286,5 @@ def main():
286 conf = setup_conf() 286 conf = setup_conf()
287 conf() 287 conf()
288 config.setup_logging() 288 config.setup_logging()
289 agent_config.setup_privsep()
289 cleanup_network_namespaces(conf) 290 cleanup_network_namespaces(conf)