From 954ba63a31339ffd01efed342a9a2eb4c58de094 Mon Sep 17 00:00:00 2001 From: Santhosh Fernandes Date: Thu, 10 Aug 2017 22:54:15 +0530 Subject: [PATCH] Option to enable provisioning status to be sync with neutron db Change-Id: Ie6df85deea079f3303f0d72989f05e14b037ed7f --- defaults/main.yml | 3 +++ templates/octavia.conf.j2 | 2 ++ 2 files changed, 5 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 18b26898..194bf5b5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -273,6 +273,9 @@ octavia_task_flow_max_workers: 5 # your queue is crashing (Octavia will stream events to the neutron DB) octavia_event_streamer: True +# Enable provisioning status sync with neutron db +octavia_sync_provisioning_status: False + # this controls if Octavia should add an anti-affinity hint to make sure # two amphora are not placed pn the same host (the most common setup of # ant affinity features in Nova). diff --git a/templates/octavia.conf.j2 b/templates/octavia.conf.j2 index a8b203b9..0f869935 100644 --- a/templates/octavia.conf.j2 +++ b/templates/octavia.conf.j2 @@ -55,6 +55,8 @@ heartbeat_key = {{ octavia_health_hmac_key }} # queue_event_streamer, # noop_event_streamer event_streamer_driver = {% if octavia_event_streamer|bool %}queue_event_streamer{% else %}noop_event_streamer{% endif %} +# Enable provisioning status sync with neutron db +sync_provisioning_status = {{ octavia_sync_provisioning_status }} [keystone_authtoken] insecure = {{ keystone_service_internaluri_insecure | bool }}