You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The playbook below is a minimal test case for reproduction. The actual problem (that is, how I've spotted it) is that Netplan on Ubuntu creates new OVS bridges with fail-mode explicitly set to "standalone" (https://github.com/canonical/netplan/blob/main/src/openvswitch.c#L355) and all the consecutive runs of the openvswitch_bridge without explicit fail_mode arg would fail.
If OVS bridge was created via netplan prior to running neutron role,
then play would fail, as openvswitch_bridge would try to set fail_mode
to implicit None.
https: //github.com/ansible-collections/openvswitch.openvswitch/issues/86
Change-Id: I307ae755c21c8786e80bb224df89036d90d5e5ec
* Update openstack-ansible-os_neutron from branch 'master'
to bbdd12561f4e5800e6504d14a7810fad8631a42b
- Merge "Set fail_mode explicitly"
- Set fail_mode explicitly
If OVS bridge was created via netplan prior to running neutron role,
then play would fail, as openvswitch_bridge would try to set fail_mode
to implicit None.
https: //github.com/ansible-collections/openvswitch.openvswitch/issues/86
Change-Id: I307ae755c21c8786e80bb224df89036d90d5e5ec
SUMMARY
openvswitch_bridge
module fails with pre-existing OVS bridge, created via netplan.ISSUE TYPE
COMPONENT NAME
openvswitch_bridge
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Target:
STEPS TO REPRODUCE
The playbook below is a minimal test case for reproduction. The actual problem (that is, how I've spotted it) is that Netplan on Ubuntu creates new OVS bridges with
fail-mode
explicitly set to "standalone" (https://github.com/canonical/netplan/blob/main/src/openvswitch.c#L355) and all the consecutive runs of theopenvswitch_bridge
without explicitfail_mode
arg would fail.EXPECTED RESULTS
All the tasks run fine.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: