Commit 34df1716 authored by Dawn Chen's avatar Dawn Chen

Debugging message for debugging #4500

parent 6af6de30
...@@ -239,7 +239,9 @@ func podsOnMinions(c *client.Client, pods api.PodList) wait.ConditionFunc { ...@@ -239,7 +239,9 @@ func podsOnMinions(c *client.Client, pods api.PodList) wait.ConditionFunc {
return func() (bool, error) { return func() (bool, error) {
for i := range pods.Items { for i := range pods.Items {
host, id, namespace := pods.Items[i].Status.Host, pods.Items[i].Name, pods.Items[i].Namespace 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 { if len(host) == 0 {
glog.Infof("Pod %s.%s is not bound to a host yet", id, namespace)
return false, nil return false, nil
} }
if _, err := podInfo.GetPodStatus(host, namespace, id); err != nil { if _, err := podInfo.GetPodStatus(host, namespace, id); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment