Revert "Generate ovn-chassis-mac-mappings on ovn-controller group"

This reverts commit 8bf8656dba.

Reason for revert: Setting ovn-chassis-mac-mappings on network nodes 
is causing mac flooding [1] [2] for traffic between external ports, 
and very slow troughput in consequence.
OVN HA Chassis priorities between gateways should probably be managed
by Neutron [3]

[1] https://mail.openvswitch.org/pipermail/ovs-discuss/2020-September/050691.html
[2] https://mail.openvswitch.org/pipermail/ovs-discuss/2022-May/051837.html
[3] https://mail.openvswitch.org/pipermail/ovs-discuss/2022-October/052068.html

Change-Id: Ia3b279d7e2c08464fda1a5dc41518296f559e93f
This commit is contained in:
Bartosz Bezak 2022-11-23 13:16:59 +00:00
parent 8bf8656dba
commit 826fd12a11
2 changed files with 1 additions and 10 deletions

View File

@ -34,6 +34,6 @@
- { name: ovn-remote-probe-interval, value: "{{ ovn_remote_probe_interval }}" }
- { name: ovn-openflow-probe-interval, value: "{{ ovn_openflow_probe_interval }}" }
- { name: ovn-bridge-mappings, value: "{{ ovn_mappings }}", state: "{{ 'present' if (inventory_hostname in groups['ovn-controller-network'] or computes_need_external_bridge | bool) else 'absent' }}" }
- { name: ovn-chassis-mac-mappings, value: "{{ ovn_macs }}", state: "{{ 'present' if inventory_hostname in groups['ovn-controller'] else 'absent' }}" }
- { name: ovn-chassis-mac-mappings, value: "{{ ovn_macs }}", state: "{{ 'present' if inventory_hostname in groups['ovn-controller-compute'] else 'absent' }}" }
- { name: ovn-cms-options, value: "{{ ovn_cms_opts }}", state: "{{ 'present' if ovn_cms_opts != '' else 'absent' }}" }
when: inventory_hostname in groups.get('ovn-controller', [])

View File

@ -1,9 +0,0 @@
---
fixes:
- |
Fixes ``ovn-chassis-mac-mappings`` missing on network nodes.
Previously ``ovn-chassis-mac-mappings`` has been added only to
``ovn-controller-compute`` group. However external ports are being
scheduled on network nodes. Adding ``ovn-chassis-mac-mappings``
on whole ``ovn-controller`` group fixes the bug.
`LP#1995078 <https://launchpad.net/bugs/1995078>`__