Merge "ovn: configure ovn in ovsdb only on ovn-controller hosts"

This commit is contained in:
Zuul 2021-12-21 18:46:39 +00:00 committed by Gerrit Code Review
commit b9d39af030
2 changed files with 8 additions and 0 deletions

View File

@ -33,3 +33,4 @@
- { 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-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

@ -0,0 +1,7 @@
---
fixes:
- |
Only run ``configure ovn in ovsdb`` task on ovn-controller hosts
The task will fail on hosts (like controller nodes) without
tunnel interface
`LP#1953367 <https://bugs.launchpad.net/kolla-ansible/+bug/1953367>`__