Add 'prefer-chassis-as-gw=true' config to ovn-chassis

Since Caracal release OVN chassis without this option set, don't
configure external ports preventing North/South traffic. There is
an open LP#2071391 [1], which describes this problem and links to
the Caracal release notes for details [2].

Without this patch, Zaza functional tests fail because after
migrating ML2 to OVN, there is no connectivity to instances via
FIPs.

[1] https://bugs.launchpad.net/charm-ovn-chassis/+bug/2071391
[2] https://docs.openstack.org/releasenotes/neutron/2024.1.html#new-features

Change-Id: I3d7595bf21c98b481565e33776c2c104ad25c33c
Signed-off-by: Marcin Wilk <marcin.wilk@canonical.com>
This commit is contained in:
Marcin Wilk 2024-10-05 19:26:06 +02:00
parent 63465640fe
commit 230a5397ed

View File

@ -150,6 +150,7 @@ applications:
options: options:
# start new units paused to allow unit by unit OVS to OVN migration # start new units paused to allow unit by unit OVS to OVN migration
new-units-paused: true new-units-paused: true
prefer-chassis-as-gw: true
channel: latest/edge channel: latest/edge
relations: relations:
- - 'neutron-api:amqp' - - 'neutron-api:amqp'