kolla-ansible/ansible/roles/openvswitch/tasks
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
..
check-containers.yml Rename kolla_docker to kolla_container 2023-11-15 13:54:57 +01:00
check.yml Split Openvswitch into own role 2017-04-11 16:15:35 -07:00
config_validate.yml Integrate oslo-config-validator 2022-12-21 17:19:09 +00:00
config-host.yml Add support of podman deployment 2023-10-20 17:51:52 +02:00
config.yml Adds a wrapper script to run ovs-vsctl commands in the container 2022-11-15 10:16:02 +00:00
deploy-containers.yml Add a job that *only* deploys updated containers 2019-09-26 17:51:14 +01:00
deploy.yml Performance: optimize genconfig 2020-10-12 19:30:06 +02:00
main.yml Revert "Performance: Use import_tasks in the main plays" 2020-12-14 10:36:55 +00:00
post-config.yml openvswitch: Set fail_mode to standalone for external bridges 2024-02-07 13:34:50 +00:00
precheck.yml Fix prechecks in check mode 2023-01-12 14:27:36 +00:00
pull.yml Refactor and optimise image pulling 2021-08-10 11:57:54 +00:00
reconfigure.yml Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
stop.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
upgrade.yml Performance: optimize genconfig 2020-10-12 19:30:06 +02:00