From bafa2401873d1eecd998a01d060353f62082ea19 Mon Sep 17 00:00:00 2001 From: Dawn Chen Date: Tue, 17 Feb 2015 13:28:15 -0800 Subject: [PATCH] Add debugging information for #4472 --- pkg/kubelet/kubelet.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index f9c0cc5f918..1507115c72c 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -1234,6 +1234,9 @@ func (kl *Kubelet) cleanupOrphanedVolumes(pods []api.BoundPod, running []*docker currentVolumes := kl.getPodVolumesFromDisk() runningSet := util.StringSet{} for ix := range running { + if len(running[ix].Name) == 0 { + glog.V(2).Infof("Found running container ix=%d with info: %+v", ix, running[ix]) + } _, uid, _, _ := dockertools.ParseDockerName(running[ix].Name) runningSet.Insert(string(uid)) }