kolla-ansible/ansible/roles/openvswitch
Michal Nasiadka 5016b3efaf openvswitch: Set fail_mode to standalone for external bridges
That is the ovs-vsctl default but Ansible module is failing in
reconfigure step - and secure breaks external connectivity in
OVN.

From OVS docs:
fail_mode: optional string, either secure or standalone

When  a controller is configured, it is, ordinarily, responsible
for setting up all flows on the switch. Thus, if the  connection
to  the  controller fails, no new network connections can be set
up. If the connection to the controller stays down long  enough,
no  packets can pass through the switch at all. This setting de‐
termines the switch’s response to such a situation.  It  may  be
set to one of the following:

standalone
    If  no  message is received from the controller for three
    times  the  inactivity  probe  interval   (see   inactiv‐
    ity_probe), then Open vSwitch will take over responsibil‐
    ity for setting up flows.  In  this  mode,  Open  vSwitch
    causes  the  bridge  to act like an ordinary MAC-learning
    switch. Open vSwitch will continue to retry connecting to
    the controller in the background and, when the connection
    succeeds, it will discontinue its standalone behavior.

secure 
    Open vSwitch will not set up flows on its  own  when  the
    controller  connection  fails  or when no controllers are
    defined. The bridge will continue to retry connecting  to
    any defined controllers forever.

The default is standalone if the value is unset, but future ver‐
sions of Open vSwitch may change the default.

Change-Id: Ica4dda2914113e8f8349e7227161cb81a02b33ee
2024-02-07 13:34:50 +00:00
..
defaults openvswitch: add external-ids:hostname 2024-02-05 12:43:16 +00:00
handlers Rename kolla_docker to kolla_container 2023-11-15 13:54:57 +01:00
tasks openvswitch: Set fail_mode to standalone for external bridges 2024-02-07 13:34:50 +00:00
templates Fixing kolla_container_engine option 2023-06-19 13:27:20 +02:00
vars Move project_name and kolla_role_name to role vars 2021-12-31 09:26:25 +00:00