]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixes 'ovs-agent cannot start on Windows because root_helper opt is not found'
authorAdelina Tuvenie <atuvenie@cloudbasesolutions.com>
Tue, 22 Sep 2015 06:51:42 +0000 (23:51 -0700)
committerKyle Mestery <mestery@mestery.com>
Fri, 2 Oct 2015 16:02:52 +0000 (16:02 +0000)
commitcf1689438079de264dd4a61cccaf2ad8b0bd05b9
treebf9bd915e6f96e9d4853abbfea20f32b06e7814d
parentfa2b18c45ae0e7aefa0a0b454c5b7b4e9a05f63a
Fixes 'ovs-agent cannot start on Windows because root_helper opt is not found'

Change Ie1224f8a1c17268cd7d1c474ed82fdfb8852eaa8 removed
config.register_root_helper() from ovs_neutron_agent:main, thus the agent
cannot start on Windows since root_helper config option is never
registered.

The fix consists in adding config.register_root_helper in the Windows side
utils.

Closes-Bug: #1497930

Change-Id: I6adc3b869c9564cac3ab99174b8fe47584213e59
(cherry picked from commit 074f82d3ec18fd591e9d1805676dfe13bd508510)
neutron/agent/common/utils.py
neutron/agent/linux/utils.py