From 465ee459867bc972fdd6568839db800a12289e05 Mon Sep 17 00:00:00 2001 From: Jianghua Wang Date: Tue, 8 Nov 2016 17:49:45 +0800 Subject: [PATCH] XenAPI: enable root_helper_daemon for XenServer The daemon mode of root helper for XenAPI has been implemented by this change which has been merged to neutron: https://review.openstack.org/#/c/390931/ It will help to import the performance. Let's enable this mode by default in devstack. Change-Id: I52246bef3e4434dfc49446535b122580bc475ac3 --- lib/neutron_plugins/openvswitch_agent | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/neutron_plugins/openvswitch_agent b/lib/neutron_plugins/openvswitch_agent index 76a1a4f3a1..c5c616a7df 100644 --- a/lib/neutron_plugins/openvswitch_agent +++ b/lib/neutron_plugins/openvswitch_agent @@ -81,8 +81,11 @@ function neutron_plugin_configure_plugin_agent { # integration bridge. This is enabled by using a root wrapper # that executes commands on dom0 via a XenAPI plugin. # XenAPI does not support daemon rootwrap now, so set root_helper_daemon empty - iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper "$Q_RR_DOM0_COMMAND" - iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper_daemon "" + iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper "" + iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper_daemon "xenapi_root_helper" + iniset "/$Q_PLUGIN_CONF_FILE.domU" xenapi connection_url "$XENAPI_CONNECTION_URL" + iniset "/$Q_PLUGIN_CONF_FILE.domU" xenapi connection_username "$XENAPI_USER" + iniset "/$Q_PLUGIN_CONF_FILE.domU" xenapi connection_password "$XENAPI_PASSWORD" # Disable minimize polling, so that it can always detect OVS and Port changes # This is a problem of xenserver + neutron, bug has been reported