Skip to content

Commit f14caa1

Browse files
ching-kuoyoctozepto
authored andcommitted
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 (cherry picked from commit 1077a9a)
1 parent 09ea240 commit f14caa1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ansible/roles/octavia/templates/octavia.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ enabled_provider_agents = {{ octavia_provider_agents }}
2828
{% if neutron_plugin_agent == 'ovn' %}
2929
[ovn]
3030
ovn_nb_connection = {{ ovn_nb_connection }}
31+
ovn_sb_connection = {{ ovn_sb_connection }}
3132
{% endif %}
3233

3334
[haproxy_amphora]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes Octavia's "Connection refused" errors by adding ``ovn_sb_connection``
5+
to ``octavia.conf``.
6+
`LP#195011 <https://launchpad.net/bugs/195011>`__

0 commit comments

Comments
 (0)