Try limiting MTU to at least 1280

Temporary make metal3-integration non-voting until we merge the fix for
regression https://review.opendev.org/c/openstack/ironic/+/928885.

Change-Id: If8f9907df62019b3cf6d6df7d83d5ff421f6be65
This commit is contained in:
Dmitry Tantsur 2024-09-11 17:37:24 +02:00
parent 072619978e
commit 510f87a033
No known key found for this signature in database
GPG Key ID: 315B2AF9FD216C60
2 changed files with 11 additions and 6 deletions

View File

@ -22,9 +22,12 @@ if [ $local_mtu -gt $PUBLIC_BRIDGE_MTU ]; then
fi
# 50 bytes is overhead for vxlan (which is greater than GRE
# allowing us to use either overlay option with this MTU.
# allowing us to use either overlay option with this MTU).
# However, if traffic is flowing over IPv6 tunnels, then
# The overhead is essentially another 100 bytes. In order to
# The overhead is essentially another 78 bytes. In order to
# handle both cases, lets go ahead and drop the maximum by
# 100 bytes.
PUBLIC_BRIDGE_MTU=${OVERRIDE_PUBLIC_BRIDGE_MTU:-$((local_mtu - 100))}
# 78 bytes, while not going below 1280 to make IPv6 work at all.
PUBLIC_BRIDGE_MTU=${OVERRIDE_PUBLIC_BRIDGE_MTU:-$((local_mtu - 78))}
if [ $PUBLIC_BRIDGE_MTU -lt 1280 ]; then
PUBLIC_BRIDGE_MTU=1280
fi

View File

@ -49,7 +49,9 @@
# NOTE(TheJulia): At present, metal3 doesn't leverage
# stable branches, and as far as we are aware these jobs
# can be removed once this branch is made stable.
- metal3-integration
# FIXME(dtantsur): Re-enable once we merge the fix
# https://review.opendev.org/c/openstack/ironic/+/928885
# - metal3-integration
# Non-voting jobs
- ironic-inspector-tempest:
voting: false
@ -103,7 +105,7 @@
# NOTE(TheJulia): At present, metal3 doesn't leverage
# stable branches, and as far as we are aware these jobs
# can be removed once this branch is made stable.
- metal3-integration
# - metal3-integration
experimental:
jobs:
# TODO(dtantsur): these jobs are useful but currently hopelessly