Commit 9fa12e3c authored by Avesh Agarwal's avatar Avesh Agarwal

Fix confusing log messages:

The status of Pod kibana-logging-v1-j99la is Running, waiting for it to be either Running or Failed
parent f765f5e5
...@@ -677,7 +677,7 @@ func WaitForPodsRunningReady(c *client.Client, ns string, minPods int32, timeout ...@@ -677,7 +677,7 @@ func WaitForPodsRunningReady(c *client.Client, ns string, minPods int32, timeout
} }
} else { } else {
if pod.Status.Phase != api.PodFailed { if pod.Status.Phase != api.PodFailed {
Logf("The status of Pod %s is %s, waiting for it to be either Running or Failed", pod.ObjectMeta.Name, pod.Status.Phase) Logf("The status of Pod %s is %s (Ready = false), waiting for it to be either Running (with Ready = true) or Failed", pod.ObjectMeta.Name, pod.Status.Phase)
badPods = append(badPods, pod) badPods = append(badPods, pod)
} else if !hasReplicationControllersForPod(rcList, pod) { } else if !hasReplicationControllersForPod(rcList, pod) {
Logf("Pod %s is Failed, but it's not controlled by a ReplicationController", pod.ObjectMeta.Name) Logf("Pod %s is Failed, but it's not controlled by a ReplicationController", pod.ObjectMeta.Name)
......
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