echo "git checkout ${DEVSTACK_HASH}"
git checkout ${DEVSTACK_HASH}
fi
-echo "workaround: Restore NEUTRON_CREATE_INITIAL_NETWORKS flag"
-if [ "${OPENSTACK_BRANCH}" == "stable/queens" ]; then
- git config --local user.email jenkins@opendaylight.org
- git config --local user.name jenkins
- git fetch https://git.openstack.org/openstack-dev/devstack refs/changes/99/550499/1 && git cherry-pick FETCH_HEAD
-fi
git --no-pager log --pretty=format:'%h %<(13)%ar%<(13)%cr %<(20,trunc)%an%d %s%b' -n20
echo
-echo "workaround: adjust wait from 60s to 1800s (30m)"
-sed -i 's/wait_for_compute 60/wait_for_compute 1800/g' /opt/stack/devstack/lib/nova
-# TODO: modify sleep 1 to sleep 60, search wait_for_compute, then first sleep 1
-# that would just reduce the number of logs in the compute stack.log
echo "workaround: do not upgrade openvswitch"
sudo yum install -y yum-plugin-versionlock
exit 1
fi
- if [ "${OPENSTACK_BRANCH}" == "stable/pike" ]; then
- # upgrading pip, urllib3 and httplib2 so that tempest tests can be run on openstack control node
- # this needs to happen after devstack runs because it seems devstack is pulling in specific versions
- # of these libs that are not working for tempest.
- ${SSH} ${!CONTROLIP} "sudo pip install --upgrade pip"
- ${SSH} ${!CONTROLIP} "sudo pip install urllib3 --upgrade"
- ${SSH} ${!CONTROLIP} "sudo pip install httplib2 --upgrade"
- fi
-
# Gather Compute IPs for the site
for j in `seq 1 ${NUM_COMPUTES_PER_SITE}`; do
COMPUTE_INDEX=$(((i-1) * NUM_COMPUTES_PER_SITE + j))