Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions doc/source/admin/ovn/l3_scheduler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ this ``Chassis`` and could be transmitting. If the highest ``Gateway_Chassis``
is changed, the ``Logical_Router_Port`` is bound to the new ``Chassis`` and
could break any active sessions.

.. note::

Neutron does not support adding or modifying the ``Gateway_Chassis``
registers with the "ovn-nbctl lrp-set-gateway-chassis" or the
"ovn-nbctl set" commands. Operators should not use these commands to
modify the ``Gateway_Chassis`` registers because Neutron will not be able
to re-schedule the corresponding ``Logical_Router_Port`` properly.

.. end


Availability Zones (AZ) distribution
------------------------------------
Expand Down
15 changes: 15 additions & 0 deletions doc/source/admin/ovn/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ size of geneve header compared to other common tunneling protocols (VXLAN).
If you are using VM's as compute nodes make sure that you either lower the MTU
size on the virtual interface or enable fragmentation on it.

.. _duplicated_ovn_agents:

Duplicated or deleted OVN agents
--------------------------------

Expand Down Expand Up @@ -118,3 +120,16 @@ list will present the corresponding agents with the following message:
administrator should manually delete the orphaned OVN Southbound database
register. Neutron will receive this event and will delete the associated
OVN agents.

Recovering from an OVN Chassis crash
------------------------------------

If the "ovn-controller" process, running on an OVN Chassis host, is killed
without being gracefully stopped or the host running the "ovn-controller"
process crashed, the corresponding "Chassis" and "Chassis_Private" registers
are not deleted. Before restarting the "ovn-controller" or "ovn-controller"
host after the crash, the administrator should follow the procedure described
in the :ref:`Duplicated or deleted OVN agents<duplicated_ovn_agents>` section,
and manually delete stale "Chassis" and "Chassis_Private" registers. Neutron
will be notified of the deletion and will remove the corresponding
"Gateway_Chassis" registers in the OVN Northbound database.
4 changes: 2 additions & 2 deletions neutron/services/ovn_l3/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ def schedule_unhosted_gateways(self, event_from_chassis=None):
try:
ports_impacted.append(utils.get_port_id_from_gwc_row(gwc))
except AttributeError:
# Malformed GWC format.
pass
LOG.warning('Malformed Gateway_Chassis register name '
'format: %s', gwc.name)
port_physnet_dict = {
k: v
for k, v in port_physnet_dict.items()
Expand Down