"kubeContainerRuntime.findAndRemoveDeletedPods returned error %v.",
getPodsErr)
continue
}
runningPodsFetched=true
dswp.timeOfLastGetPodStatus=time.Now()
}
runningContainers:=false
for_,runningPod:=rangerunningPods{
ifrunningPod.ID==volumeToMount.Pod.UID{
iflen(runningPod.Containers)>0{
runningContainers=true
}
break
}
}
ifrunningContainers{
glog.V(5).Infof(
"Pod %q has been removed from pod manager. However, it still has one or more containers in the non-exited state. Therefore it will not be removed from volume manager.",
format.Pod(volumeToMount.Pod))
continue
}
glog.V(5).Infof(
"Removing volume %q (volSpec=%q) for pod %q from desired state.",