Browse Source

devstack gate hook for fullstack job, fix IPV4_ADDRS_SAFE_TO_USE

Set IPV4_ADDRS_SAFE_TO_USE to the same value used by devstack-vm-gate.sh
to avoid issues in cloudcity.

This is temporary until we use devstack-vm-gate.sh
(see Ib2a4f1f258d39dcba370fe37799c56ad0e5ca8fd).

Change-Id: I77ad056a0a1ec0e4d0282ae3dbb002641635f043
Partial-Bug: 1693689
changes/67/502067/2
Thomas Morin 4 years ago
committed by Thomas Morin
parent
commit
8919a92225
  1. 5
      devstack/gate_hook.sh

5
devstack/gate_hook.sh

@ -110,8 +110,11 @@ case $VENV in
# Make the workspace owned by the stack user
sudo chown -R $STACK_USER:$STACK_USER $BASE
# 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}}
# deploy devstack as per local.conf
cd $DEVSTACK_PATH && sudo -H -u $GATE_STACK_USER ./stack.sh
cd $DEVSTACK_PATH && sudo -E -H -u $GATE_STACK_USER ./stack.sh
;;
"tempest")

Loading…
Cancel
Save