Fix creation of ovs bridges

This patch fixes the creation of the openvswitch
bridge by fixing an ansible task that was rewritten
to use an ansible module, but unfortunately, its loop
was implemented incorrectly.

Closes-Bug: #2056332
Change-Id: Ia55a36c0f9b122b72d757ca973e7d8f76ae84344
This commit is contained in:
Michal Arbet 2024-03-06 16:15:42 +01:00
parent 59da07920b
commit 8c760d38a0
2 changed files with 8 additions and 3 deletions

View File

@ -25,10 +25,9 @@
user: root
module_name: openvswitch_bridge
module_args:
bridge: "{{ item.0 }}"
bridge: "{{ item }}"
fail_mode: standalone
loop:
- "{{ neutron_bridge_name.split(',') }}"
loop: "{{ neutron_bridge_name.split(',') }}"
when:
- inventory_hostname in groups["network"]
or (inventory_hostname in groups["compute"] and computes_need_external_bridge | bool )

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue with ``openvswitch`` bridge creation when
``neutron_bridge_name`` was specified as two bridges.
`LP#2056332 <https://bugs.launchpad.net/kolla-ansible/+bug/2056332>`__