Merge pull request #37248 from mtaufen/serial-port-output
Automatic merge from submit-queue Include serial port output in GCP log-dump This should help us debug reboot failures e.g. https://github.com/kubernetes/kubernetes/issues/33882 Also useful for OOM-kill investigation. /cc @dchen1107
This commit is contained in:
commit
8feec28d6e
@ -97,6 +97,8 @@ function copy-logs-from-node() {
|
|||||||
else
|
else
|
||||||
case "${KUBERNETES_PROVIDER}" in
|
case "${KUBERNETES_PROVIDER}" in
|
||||||
gce|gke|kubemark)
|
gce|gke|kubemark)
|
||||||
|
# get-serial-port-output lets you ask for ports 1-4, but currently (11/21/2016) only port 1 contains useful information
|
||||||
|
gcloud compute instances get-serial-port-output --project "${PROJECT}" --zone "${ZONE}" --port 1 "${node}" > "${dir}/serial-1.log" || true
|
||||||
gcloud compute copy-files --project "${PROJECT}" --zone "${ZONE}" "${node}:${scp_files}" "${dir}" > /dev/null || true
|
gcloud compute copy-files --project "${PROJECT}" --zone "${ZONE}" "${node}:${scp_files}" "${dir}" > /dev/null || true
|
||||||
;;
|
;;
|
||||||
aws)
|
aws)
|
||||||
|
Loading…
Reference in New Issue
Block a user