Log where we pull images from

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas 2022-03-01 09:53:19 -05:00
parent 77f6476d34
commit 22cef5094e
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

View File

@ -213,6 +213,10 @@ function save-logs() {
done
fi
# log where we pull the images from
log-dump-ssh "${node_name}" "sudo ctr -n k8s.io images ls" > "${dir}/images-containerd.log" || true
log-dump-ssh "${node_name}" "sudo docker images --all" > "${dir}/images-docker.log" || true
# Try dumping coverage profiles, if it looks like coverage is enabled in the first place.
if log-dump-ssh "${node_name}" "stat /var/log/kubelet.cov" &> /dev/null; then
if log-dump-ssh "${node_name}" "command -v docker" &> /dev/null; then