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:
parent
5bf79186be
commit
767e9ceccf
@ -102,6 +102,9 @@ neutron_dns_domain: "openstacklocal."
|
|||||||
neutron_dhcp_config:
|
neutron_dhcp_config:
|
||||||
log-facility: "/var/log/neutron/neutron-dnsmasq.log"
|
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)
|
### Tunable Overrides (Sorted alphabetically)
|
||||||
###
|
###
|
||||||
|
5
releasenotes/notes/lbaasv2-options-ae992286abfa689f.yaml
Normal file
5
releasenotes/notes/lbaasv2-options-ae992286abfa689f.yaml
Normal 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.
|
@ -29,7 +29,7 @@ device_driver = {{ neutron_lbaasv2_device_driver }}
|
|||||||
# loadbalancer_state_path = $state_path/lbaas
|
# loadbalancer_state_path = $state_path/lbaas
|
||||||
|
|
||||||
# The user group
|
# 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
|
# 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.
|
# the ARP cache in the Router. Set it below or equal to 0 to disable this feature.
|
||||||
|
@ -30,6 +30,7 @@ neutron_distro_packages:
|
|||||||
- iptables
|
- iptables
|
||||||
- iputils
|
- iputils
|
||||||
- keepalived
|
- keepalived
|
||||||
|
- net-tools
|
||||||
- radvd
|
- radvd
|
||||||
- which
|
- which
|
||||||
|
|
||||||
@ -49,3 +50,4 @@ neutron_remove_distro_packages: []
|
|||||||
|
|
||||||
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
|
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
|
||||||
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
|
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
|
||||||
|
_neutron_lbaasv2_user_group: haproxy
|
||||||
|
@ -41,6 +41,7 @@ neutron_distro_packages:
|
|||||||
- iptables
|
- iptables
|
||||||
- iputils
|
- iputils
|
||||||
- keepalived
|
- keepalived
|
||||||
|
- net-tools
|
||||||
- radvd
|
- radvd
|
||||||
- which
|
- which
|
||||||
|
|
||||||
@ -60,3 +61,4 @@ neutron_remove_distro_packages: []
|
|||||||
|
|
||||||
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
|
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
|
||||||
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
|
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
|
||||||
|
_neutron_lbaasv2_user_group: nogroup
|
||||||
|
@ -38,6 +38,7 @@ neutron_distro_packages:
|
|||||||
- ipset
|
- ipset
|
||||||
- iptables
|
- iptables
|
||||||
- iputils-arping
|
- iputils-arping
|
||||||
|
- net-tools
|
||||||
- keepalived
|
- keepalived
|
||||||
- radvd
|
- radvd
|
||||||
|
|
||||||
@ -58,3 +59,4 @@ neutron_remove_distro_packages:
|
|||||||
|
|
||||||
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
|
neutron_lbaasv2_initscript_path: "/etc/init/neutron-lbaasv2-agent.conf"
|
||||||
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
|
neutron_lbaasv2_agent_servicename: "neutron-lbaasv2-agent"
|
||||||
|
_neutron_lbaasv2_user_group: nogroup
|
||||||
|
Loading…
Reference in New Issue
Block a user