diff options
author | Luis Tomas Bolivar <ltomasbo@redhat.com> | 2023-03-23 16:45:18 +0100 |
---|---|---|
committer | Luis Tomas Bolivar <ltomasbo@redhat.com> | 2023-03-31 23:10:18 +0200 |
commit | 0ec04dd638da8cc9f4d5ebb21a09ea5ccb05623c (patch) | |
tree | d14a079a56f95a92ce045dd47a56d106dfa9625a /releasenotes | |
parent | b73399fa746d951a99fdf29950a1c0a801e941a2 (diff) | |
download | neutron-0ec04dd638da8cc9f4d5ebb21a09ea5ccb05623c.tar.gz |
Ensure redirect-type=bridged not used for geneve networks
As part of [1] the redirect-type=bridged flag was enabled by default.
However this have the side effect of also decentralizing N/S traffic
for geneve tenant networks, breaking the VM connectivity on them when
it must be centralized, i.e., when no FIPs are associated to the VMs.
This patch differentiates and only enable that flag when the networks
conected through that router gateway port are of VLAN/FLAT type.
In addition, to avoid MTU issues for the VLAN networks if there are
also geneve networks connected to the same router, we re-take the
approach on [2] to ensure the traffic is centralized but not tunneled
[1] https://review.opendev.org/c/openstack/neutron/+/875644
[2] https://review.opendev.org/c/openstack/neutron/+/875676
Closes-Bug: #2012712
Change-Id: I25e5ee2cf8daee52221a640faa7ac09679742707
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/redirect-type-f29e89ca97357fe9.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/releasenotes/notes/redirect-type-f29e89ca97357fe9.yaml b/releasenotes/notes/redirect-type-f29e89ca97357fe9.yaml new file mode 100644 index 0000000000..3d5661b22c --- /dev/null +++ b/releasenotes/notes/redirect-type-f29e89ca97357fe9.yaml @@ -0,0 +1,24 @@ +--- +issues: + - | + The `redirect-type=bridged` option is only used if all the tenant networks + connected to the router are of type VLAN or FLAT. In this case their + traffic will be distributed. However, if there is a mix of VLAN/FLAT and + geneve networks connected to the same router, the redirect-type option is + not set, and therefore the traffic for the VLAN/FLAT networks will also be + centralized but not tunneled. +fixes: + - | + [`bug 2003455 <https://bugs.launchpad.net/neutron/+bug/2003455>`_] + As part of a previous commit + (https://review.opendev.org/c/openstack/neutron/+/875644) the + `redirect-type=bridged` option was set in all the router gateway ports + (cr-lrp ovn ports). However this was breaking the N/S traffic for geneve + tenant networks connected to the provider networks through those routers + with the redirect-type option enabled. To fix this we ensure that the + redirect-type option is only set if all the networks connected to the + router are of VLAN or FLAT type, otherwise we fall back to the default + option. This also means that if there is a mix of VLAN and geneve tenant + networks connected to the same router, the VLAN traffic will be centralized + (but not tunneled). If the traffic for the VLAN/FLAT needs to be + distributed, then it should use a different router. |