yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78267
[Bug 1822199] Re: neutron-vpn-netns-wrapper not invoked with --rootwrap_config parameter
Reviewed: https://review.opendev.org/648726
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=7e9922858fc36cb890b59232d72cf6e7bcb5957c
Submitter: Zuul
Branch: master
commit 7e9922858fc36cb890b59232d72cf6e7bcb5957c
Author: Stephen Ma <sma@xxxxxxxx>
Date: Fri Mar 29 09:31:03 2019 -0700
Execute neutron-vpn-netns-wrapper with rootwrap_config argument
When neutron uses neutron-rootwrap as the root_helper, add
the --rootwrap_config parameter to neutron-vpn-netns-wrapper
execution to support environments where rootwrap.conf is not
in the default location.
Closes-Bug: #1822199
Change-Id: I0a345d1b1815560dc4dd35fa5c9a34055fc9fb08
** 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/1822199
Title:
neutron-vpn-netns-wrapper not invoked with --rootwrap_config parameter
Status in neutron:
Fix Released
Bug description:
The neutron-vpn-netns-wrapper always assumes the rootwrap.conf lives
in the default location of /etc/neutron/ because it is not executed
with the --rootwrap_config parameter. If rootwrap.conf is not in the
default location, then execution will fail with a message like:
2019-03-27 18:06:49.176 13642 INFO neutron.common.config [-] /opt/stack/service/neutron/venv/bin/neutron-vpn-netns-wrapper version 13.0.3.dev77
2019-03-27 18:06:49.177 13642 ERROR neutron_vpnaas.services.vpn.common.netns_wrapper [-] Incorrect configuration file: /etc/neutron/rootwrap.conf: NoOptionError: No option 'filters_path' in section: 'DEFAULT'
; Stderr:
In this case, rootwrap.conf is actually in the non-default directory /opt/stack/service/neutron/etc/.
So all neutron-vpn-netns-wrapper execution should include the
--rootwrap_config=<rootwrap_conf_path> argument.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1822199/+subscriptions
References