Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
546d5504
Commit
546d5504
authored
Apr 08, 2019
by
Patrick Ohly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prow.sh: debug failing KinD cluster creation
When KinD fails in a Prow job, we need additional information to understand why it failed.
parent
9b0d9cd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
prow.sh
prow.sh
+11
-1
No files found.
prow.sh
View file @
546d5504
...
@@ -488,7 +488,17 @@ $(list_gates "$gates")
...
@@ -488,7 +488,17 @@ $(list_gates "$gates")
featureGates:
featureGates:
$(
list_gates
"
$gates
"
)
$(
list_gates
"
$gates
"
)
EOF
EOF
run kind create cluster
--name
csi-prow
--config
"
${
CSI_PROW_WORK
}
/kind-config.yaml"
--wait
5m
--image
"
$image
"
||
die
"'kind create cluster' failed"
info
"kind-config.yaml:"
cat
"
${
CSI_PROW_WORK
}
/kind-config.yaml"
if
!
run kind create cluster
--name
csi-prow
--config
"
${
CSI_PROW_WORK
}
/kind-config.yaml"
--wait
5m
--image
"
$image
"
;
then
warn
"Cluster creation failed. Will try again with higher verbosity."
info
"Available Docker images:"
docker image
ls
if
!
run kind
--loglevel
debug create cluster
--retain
--name
csi-prow
--config
"
${
CSI_PROW_WORK
}
/kind-config.yaml"
--wait
5m
--image
"
$image
"
;
then
run kind
export
logs
--name
csi-prow
"
$ARTIFACTS
/kind-cluster"
die
"Cluster creation failed again, giving up. See the 'kind-cluster' artifact directory for additional logs."
fi
fi
KUBECONFIG
=
"
$(
kind get kubeconfig-path
--name
=
csi-prow
)
"
KUBECONFIG
=
"
$(
kind get kubeconfig-path
--name
=
csi-prow
)
"
export
KUBECONFIG
export
KUBECONFIG
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment