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

This commit is contained in:
Zuul 2022-11-23 16:57:17 +00:00 committed by Gerrit Code Review
commit 093e28aba1
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>`__