File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,14 @@ $(list_gates "$gates")
476476 featureGates:
477477$( list_gates " $gates " )
478478EOF
479- run kind create cluster --name csi-prow --config " ${CSI_PROW_WORK} /kind-config.yaml" --wait 5m --image " $image " || die " 'kind create cluster' failed"
479+ info " kind-config.yaml:"
480+ cat " ${CSI_PROW_WORK} /kind-config.yaml"
481+ if ! run kind create cluster --name csi-prow --config " ${CSI_PROW_WORK} /kind-config.yaml" --wait 5m --image " $image " ; then
482+ warn " Cluster creation failed. Will try again with higher verbosity."
483+ info " Available Docker images:"
484+ docker image ls
485+ run kind --loglevel debug create cluster --name csi-prow --config " ${CSI_PROW_WORK} /kind-config.yaml" --wait 5m --image " $image " || die " cluster creation failed again, giving up"
486+ fi
480487 KUBECONFIG=" $( kind get kubeconfig-path --name=csi-prow) "
481488 export KUBECONFIG
482489}
You can’t perform that action at this time.
0 commit comments