Browse Source

Configure IPV4_ADDRS_SAFE_TO_USE in devstack gate hooks

Set IPV4_ADDRS_SAFE_TO_USE to the same value used by devstack-vm-gate.sh
to avoid the devstack job failing with the following messaage:

'Could not determine host ip address. See local.conf for suggestions on
setting HOST_IP.'

This fix should be considered temporary until we
switch to using devstack-vm-gate.sh

Change-Id: I18924cd7d526874fcf2ac2e9caf0a42c457fc6a3
Partial-Bug: 1693689
changes/05/505805/1
Sumit Naiksatam 4 years ago
parent
commit
b745102205
  1. 3
      gbpservice/tests/contrib/gate_aim_hook.sh
  2. 3
      gbpservice/tests/contrib/gate_hook.sh
  3. 3
      gbpservice/tests/contrib/gate_nfp_hook.sh

3
gbpservice/tests/contrib/gate_aim_hook.sh

@ -8,6 +8,9 @@ set -x
trap prepare_logs ERR
# temporary fix for bug 1693689
export IPV4_ADDRS_SAFE_TO_USE=${DEVSTACK_GATE_IPV4_ADDRS_SAFE_TO_USE:-${DEVSTACK_GATE_FIXED_RANGE:-10.1.0.0/20}}
prepare_gbp_aim_devstack
FORCE=yes $TOP_DIR/stack.sh

3
gbpservice/tests/contrib/gate_hook.sh

@ -8,6 +8,9 @@ set -x
trap prepare_logs ERR
# temporary fix for bug 1693689
export IPV4_ADDRS_SAFE_TO_USE=${DEVSTACK_GATE_IPV4_ADDRS_SAFE_TO_USE:-${DEVSTACK_GATE_FIXED_RANGE:-10.1.0.0/20}}
prepare_gbp_devstack
FORCE=yes $TOP_DIR/stack.sh

3
gbpservice/tests/contrib/gate_nfp_hook.sh

@ -11,6 +11,9 @@ set -x
trap prepare_logs ERR
# temporary fix for bug 1693689
export IPV4_ADDRS_SAFE_TO_USE=${DEVSTACK_GATE_IPV4_ADDRS_SAFE_TO_USE:-${DEVSTACK_GATE_FIXED_RANGE:-10.1.0.0/20}}
prepare_gbp_devstack
prepare_nfp_devstack
FORCE=yes $TOP_DIR/stack.sh

Loading…
Cancel
Save