virtualenv "/tmp/v/openstack"
# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
source "/tmp/v/openstack/bin/activate"
-pip install --upgrade pip
+pip install --upgrade "pip<10.0.0" setuptools
pip install --upgrade python-openstackclient python-heatclient
-pip install --upgrade pipdeptree
-pipdeptree
+pip freeze
cd /builder/openstack-hot || exit 1
CREATE_FAILED)
reason=$(openstack stack show "$STACK_NAME" -f value -c stack_status_reason)
echo "ERROR: Failed to initialize infrastructure. Reason: $reason"
+ openstack stack resource list -n 25 "$STACK_NAME"
echo "Deleting stack and possibly retrying to create..."
openstack stack delete --yes "$STACK_NAME"