Fix LBaaSv2 config and package requirements

The LBaaSv2 (not Octavia) requires the net-utils(tools) package to
function. Additionally the user_group needs to be set to an OS specific
value. This change adds a default allowing the user to override the new
option `neutron_lbaasv2_user_group` as needed but the default will be
inherited from the os specific variable file.

Change-Id: Ic4b9461e369f1db94dfcfc3cebae034b3d38bb09
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-01-15 15:39:21 -06:00 committed by Major Hayden
parent 5bf79186be
commit 767e9ceccf
6 changed files with 15 additions and 1 deletions

View File

@ -102,6 +102,9 @@ neutron_dns_domain: "openstacklocal."
neutron_dhcp_config:
log-facility: "/var/log/neutron/neutron-dnsmasq.log"
# Set the neutron lbaasv2 user group, defaults from os specific vars
neutron_lbaasv2_user_group: "{{ _neutron_lbaasv2_user_group }}"
###
### Tunable Overrides (Sorted alphabetically)
###

View File

@ -0,0 +1,5 @@
---
features:
- An option has been added allowing the user to define the `user_group`
LBaaSv2 uses. The new option is ``neutron_lbaasv2_user_group`` and
is set within the OS specific value by default.

View File

@ -29,7 +29,7 @@ device_driver = {{ neutron_lbaasv2_device_driver }}
# loadbalancer_state_path = $state_path/lbaas
# The user group
user_group = nogroup
user_group = {{ neutron_lbaasv2_user_group }}
# When delete and re-add the same vip, send this many gratuitous ARPs to flush
# the ARP cache in the Router. Set it below or equal to 0 to disable this feature.

View File

@ -30,6 +30,7 @@ neutron_distro_packages:
- iptables
- iputils
- keepalived
- net-tools
- radvd
- which
@ -49,3 +50,4 @@ neutron_remove_distro_packages: []
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
_neutron_lbaasv2_user_group: haproxy

View File

@ -41,6 +41,7 @@ neutron_distro_packages:
- iptables
- iputils
- keepalived
- net-tools
- radvd
- which
@ -60,3 +61,4 @@ neutron_remove_distro_packages: []
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
_neutron_lbaasv2_user_group: nogroup

View File

@ -38,6 +38,7 @@ neutron_distro_packages:
- ipset
- iptables
- iputils-arping
- net-tools
- keepalived
- radvd
@ -58,3 +59,4 @@ neutron_remove_distro_packages:
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
_neutron_lbaasv2_user_group: nogroup