From 7ef35b15fae3d603926378991f444ca5613d8174 Mon Sep 17 00:00:00 2001 From: zhengguoyong Date: Wed, 11 Nov 2015 10:42:57 +0800 Subject: [PATCH] When check pod exist on node, if pod is not running, it will return false, add log it. --- cmd/integration/integration.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/integration/integration.go b/cmd/integration/integration.go index 7ae3a367ef8..8857a3f29cb 100644 --- a/cmd/integration/integration.go +++ b/cmd/integration/integration.go @@ -308,6 +308,7 @@ func podsOnNodes(c *client.Client, podNamespace string, labelSelector labels.Sel return false, nil } if pod.Status.Phase != api.PodRunning { + glog.Infof("Pod %q is not running, status: %v", podString, pod.Status.Phase) return false, nil } }