d92425dfe8
This reverts commit I8f0e5405f3e2d6e35418c73f610ac6b779dd75e5 Revert the temporary changes, when problem is fixed in devstack. https://bugs.launchpad.net/devstack/+bug/1629133 Change-Id: I0b51e748043d785ca18dda8d7be744bf67feeaeb
11 lines
488 B
Plaintext
11 lines
488 B
Plaintext
enable_service ironic ir-api ir-cond
|
|
|
|
# NOTE(vsaienko) mtu calculation has been changed recently to 1450
|
|
# https://github.com/openstack/neutron/commit/51a697
|
|
# and caused https://bugs.launchpad.net/ironic/+bug/1631875
|
|
# Get the smallest local MTU
|
|
local_mtu=$(ip link show | sed -ne 's/.*mtu \([0-9]\+\).*/\1/p' | sort -n | head -1)
|
|
# 50 bytes is overhead for vxlan (which is greater than GRE
|
|
# allowing us to use either overlay option with this MTU.
|
|
PUBLIC_BRIDGE_MTU=$((local_mtu - 50))
|