Skip to content

Commit 918397c

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 b8f1ab1 commit 918397c

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
@@ -29,6 +29,7 @@ enabled_provider_agents = {{ octavia_provider_agents }}
2929
{% if neutron_plugin_agent == 'ovn' %}
3030
[ovn]
3131
ovn_nb_connection = {{ ovn_nb_connection }}
32+
ovn_sb_connection = {{ ovn_sb_connection }}
3233
{% endif %}
3334

3435
[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)