Debugging message for debugging #4500

This commit is contained in:
Dawn Chen 2015-02-18 13:20:42 -08:00
parent 6af6de30a8
commit 34df171693

View File

@ -239,7 +239,9 @@ func podsOnMinions(c *client.Client, pods api.PodList) wait.ConditionFunc {
return func() (bool, error) {
for i := range pods.Items {
host, id, namespace := pods.Items[i].Status.Host, pods.Items[i].Name, pods.Items[i].Namespace
glog.Infof("Check whether pod %s.%s exists on node %q", id, namespace, host)
if len(host) == 0 {
glog.Infof("Pod %s.%s is not bound to a host yet", id, namespace)
return false, nil
}
if _, err := podInfo.GetPodStatus(host, namespace, id); err != nil {