Add OctaviaEventStreamerDriver and change default

octavia::health_manager::event_streamer_driver is forcely set to
'queue_event_streamer' with no option to change it. The event streamer
specifies which driver to use for syncing Octavia and Neutron LBaaS
databases. It is highly recommended to disable if one doesn't need to
sync the database or is running Octavia in standalone mode by setting
event_streamer_driver to noop_event_streamer.

Change-Id: I400ce9a059aba195cdd987ba51360ef3d7f258f3
Closes-Bug: #1787608
This commit is contained in:
Carlos Goncalves 2018-08-17 17:32:19 +02:00
parent 85abf46ada
commit e066722d27
2 changed files with 16 additions and 1 deletions

View File

@ -48,6 +48,13 @@ parameters:
description: Name of the octavia management network interface using description: Name of the octavia management network interface using
for communication between octavia worker/health-manager for communication between octavia worker/health-manager
with the amphora machine. with the amphora machine.
OctaviaEventStreamerDriver:
type: string
default: "noop_event_streamer"
description: Name of the event streamer driver to use for syncing Octavia
and Neutron LBaaS databases. It is highly recommended to
disable if one doesn't need to sync the database or is running
Octavia in standalone mode by setting to noop_event_streamer.
resources: resources:
@ -71,7 +78,7 @@ outputs:
map_merge: map_merge:
- get_attr: [OctaviaBase, role_data, config_settings] - get_attr: [OctaviaBase, role_data, config_settings]
- octavia::health_manager::heartbeat_key: {get_param: OctaviaHeartbeatKey} - octavia::health_manager::heartbeat_key: {get_param: OctaviaHeartbeatKey}
octavia::health_manager::event_streamer_driver: 'queue_event_streamer' octavia::health_manager::event_streamer_driver: {get_param: OctaviaEventStreamerDriver}
tripleo.octavia_api.firewall_rules: tripleo.octavia_api.firewall_rules:
'200 octavia health manager interface': '200 octavia health manager interface':
proto: udp proto: udp

View File

@ -0,0 +1,8 @@
---
features:
- Add `OctaviaEventStreamDriver` parameter to specify which driver to use for
syncing Octavia and Neutron LBaaS databases.
upgrade:
- The default Octavia event_streamer_driver has changed from
`queue_event_streamer` to `noop_event_streamer`.
See https://bugs.launchpad.net/tripleo/+bug/1787608