Pin pip to a version <10.0.0
[releng/builder.git] / jjb / opendaylight-infra-stack.sh
index 0659504abc0fd2b416357dafd047d71e83c93cb9..ee937d966b7020dbaa60b59498883e73594d58ba 100644 (file)
@@ -12,7 +12,7 @@
 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
@@ -48,6 +48,7 @@ for try in $(seq $STACK_RETRIES); do
             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"