Add ovn_sb_connection to octavia.conf

This commit added ovn_sb_connection to octavia.conf otherwise it will
try to connect to ovn-sb-db using the default address which is
127.0.0.1 while the ovn-sb-db listen on the IP address of the
api_interface.

Closes-Bug: #1950111

Change-Id: I9cb9a0365d00ffd70562b4b3e83493ec09bd52c2
This commit is contained in:
Ching Kuo 2021-12-26 16:57:28 +08:00
parent 97db1b89d7
commit 1077a9a4e7
2 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,7 @@ enabled_provider_agents = {{ octavia_provider_agents }}
{% if neutron_plugin_agent == 'ovn' %}
[ovn]
ovn_nb_connection = {{ ovn_nb_connection }}
ovn_sb_connection = {{ ovn_sb_connection }}
{% endif %}
[haproxy_amphora]

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes Octavia's "Connection refused" errors by adding ``ovn_sb_connection``
to ``octavia.conf``.
`LP#195011 <https://launchpad.net/bugs/195011>`__