c4b39e7b09
Instead, use the common_settings file to source all the variables we need at the early stages of devstack setup and during the upgrade itself. This also fixes an issue with the networking-generic-switch upgrade script, which is run from the old release instead of the new one. It depends on a patch from an older release, as grenade is setup using settings from an older release, we need common_setting to be populated there. Change-Id: I0d6d3e9e60785bb9b6a10c8c7a07867a5b2a5e6e Depends-On: I34fb68c150b753824bd2687a1f522ac87771a5e3
17 lines
704 B
Plaintext
17 lines
704 B
Plaintext
enable_service ironic ir-api ir-cond
|
|
|
|
source $DEST/ironic/devstack/common_settings
|
|
|
|
# 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))
|
|
|
|
# NOTE(vdrok): we don't use the multicell setup because it won't let the
|
|
# reschedules happen. We hit them quite often in multinode job.
|
|
CELLSV2_SETUP="singleconductor"
|