yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #95456
[Bug 2101140] [NEW] [OVN] Make LSP up/down events processing resilient to IDL disconnections
Public bug reported:
The port binding phase is part of the VM spawning process. Regardless of
the backend used (ML2/OVN, ML2/OVS), it needs to detect the port created
and inform to the Neutron API. At this point, the Neutron API will
consider the port as UP and will inform to Nova (vif-plugged-event);
Nova will send the port binding request after this event.
In ML2/OVN it is possible that the OVN databases are configured in a
OVSDB RAFT cluster. If by any circumstance the RAFT leader changes, the
active IDL connections to OVN NB and SB databases will temporarily
disconnect and reconnect again. During this time gap, if the
``LogicalSwitchPortUpdateUpEvent`` arrives, it won't be processed.
When the IDL reconnects, it will send all the registers tagged as
CREATED, including the missed Logical_Switch_Port event setting to UP
this port.
The goal of this bug is to make this event resilient to IDL
disconnections and prevent timeouts during a VM creation.
[1]https://docs.ovn.org/en/latest/tutorials/ovn-ovsdb-relay.html
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2101140
Title:
[OVN] Make LSP up/down events processing resilient to IDL
disconnections
Status in neutron:
New
Bug description:
The port binding phase is part of the VM spawning process. Regardless
of the backend used (ML2/OVN, ML2/OVS), it needs to detect the port
created and inform to the Neutron API. At this point, the Neutron API
will consider the port as UP and will inform to Nova (vif-plugged-
event); Nova will send the port binding request after this event.
In ML2/OVN it is possible that the OVN databases are configured in a
OVSDB RAFT cluster. If by any circumstance the RAFT leader changes,
the active IDL connections to OVN NB and SB databases will temporarily
disconnect and reconnect again. During this time gap, if the
``LogicalSwitchPortUpdateUpEvent`` arrives, it won't be processed.
When the IDL reconnects, it will send all the registers tagged as
CREATED, including the missed Logical_Switch_Port event setting to UP
this port.
The goal of this bug is to make this event resilient to IDL
disconnections and prevent timeouts during a VM creation.
[1]https://docs.ovn.org/en/latest/tutorials/ovn-ovsdb-relay.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2101140/+subscriptions
Follow ups