Config privsep in the metering agent

Enable privsep to execute ip netns or other commands.

Change-Id: I4e20a1e92c0d154b76615437efe5eced4e0cc6bd
Closes-Bug: #1786213
(cherry picked from commit 40d92d40ec)
This commit is contained in:
Dongcan Ye 2018-08-09 10:05:36 +00:00 committed by Dongcan Ye
parent 24aee13540
commit 811cb63b21
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ def main():
config.register_agent_state_opts_helper(conf)
common_config.init(sys.argv[1:])
config.setup_logging()
config.setup_privsep()
server = neutron_service.Service.create(
binary='neutron-metering-agent',
topic=topics.METERING_AGENT,