Bind relay to local address rather than hostname

The use of local hostname seems to confuse later versions of
ovsdb-server; switch to implicit binding to all local addresses.

Change-Id: Ieb84177d239e02346addf0af3cf1ed1e812dbcb7
This commit is contained in:
James Page 2022-12-06 10:45:20 +00:00
parent a6b38d5f73
commit cc6315fa89
2 changed files with 2 additions and 3 deletions

View File

@ -27,6 +27,6 @@ ovsdb-server \
--log-file=/var/log/ovn/ovn-relay.log \
--pidfile=/var/run/ovn/ovn-relay.pid \
--unixctl=/var/run/ovn/ovn_relay.sock \
--remote=pssl:6642:{{ ovsdb_cms.local_hostname }} relay:OVN_Southbound:$REMOTES
--remote=pssl:6642 relay:OVN_Southbound:$REMOTES
trap stop_svc EXIT

View File

@ -98,8 +98,7 @@ commands = {[testenv:lint]commands}
description = Check code against coding style standards
deps =
black
# flake8==4.0.1 # Pin version until https://github.com/csachs/pyproject-flake8/pull/14 is merged
flake8
flake8<6
flake8-docstrings
flake8-copyright
flake8-builtins