Fix missing root_helper_daemon for cmp, gtw 43/53343/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 8 Mar 2018 21:07:19 +0000 (22:07 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 8 Mar 2018 21:10:06 +0000 (22:10 +0100)
While at it, drop patch now upstream.

JIRA: FUEL-348

Fixes: cf6cd9cd

Change-Id: Ieb4c93e9dc79a4e4dec140433574e042a1a6f2dc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/patches/0001-pike-neutron.server.conf.Debian-Fix-undefined-var.patch [deleted file]
mcp/patches/patches.list
mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_gateway.yml

diff --git a/mcp/patches/0001-pike-neutron.server.conf.Debian-Fix-undefined-var.patch b/mcp/patches/0001-pike-neutron.server.conf.Debian-Fix-undefined-var.patch
deleted file mode 100644 (file)
index d1f7b40..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-: Copyright (c) 2018 Mirantis Inc., Enea AB and others.
-:
-: All rights reserved. This program and the accompanying materials
-: are made available under the terms of the Apache License, Version 2.0
-: which accompanies this distribution, and is available at
-: http://www.apache.org/licenses/LICENSE-2.0
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-Date: Wed, 7 Mar 2018 23:44:32 +0100
-Subject: [PATCH] pike/neutron.server.conf.Debian: Fix undefined var
-
-Fixes: 1ff8865b
-
-Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
----
- neutron/files/pike/neutron-server.conf.Debian | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/neutron/files/pike/neutron-server.conf.Debian b/neutron/files/pike/neutron-server.conf.Debian
-index 94443cf..cc75da5 100644
---- a/neutron/files/pike/neutron-server.conf.Debian
-+++ b/neutron/files/pike/neutron-server.conf.Debian
-@@ -717,7 +717,7 @@ root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
- # needs to execute commands in Dom0 in the hypervisor of XenServer, this item
- # should be set to 'xenapi_root_helper', so that it will keep a XenAPI session
- # to pass commands to Dom0. (string value)
--{%- if neutron.root_helper_daemon|default(True) %}
-+{%- if server.root_helper_daemon|default(True) %}
- root_helper_daemon = sudo neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
- {%- else %}
- #root_helper_daemon = <None>
index efe3821..e0ad1f7 100644 (file)
@@ -5,7 +5,6 @@
 # which accompanies this distribution, and is available at
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
-/usr/share/salt-formulas/env: 0001-pike-neutron.server.conf.Debian-Fix-undefined-var.patch
 /usr/share/salt-formulas/env: 0002-maas-region-skip-credentials-update.patch
 /usr/share/salt-formulas/env: 0003-maas-region-force-artifact-download.patch
 /usr/share/salt-formulas/env: 0004-network.dpdk-Move-ifcfg-br-prv-to-interfaces.u.patch
index bae1c1c..741f9d3 100644 (file)
@@ -65,6 +65,7 @@ parameters:
   neutron:
     gateway:
       vlan_aware_vms: true
+      root_helper_daemon: false
   nova:
     compute:
       disk_cachemodes: file=directsync,block=none
index 61ba1ac..228ffdc 100644 (file)
@@ -35,6 +35,7 @@ parameters:
     compute:
       notification: true
       vlan_aware_vms: true
+      root_helper_daemon: false
       agent_mode: ${_param:neutron_compute_agent_mode}
       message_queue:
         host: ${_param:openstack_control_address}
index 918ab2f..8061bb1 100644 (file)
@@ -17,3 +17,4 @@ parameters:
       notification: true
       agent_mode: ${_param:neutron_gateway_agent_mode}
       vlan_aware_vms: true
+      root_helper_daemon: false