Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

"No network settings" warning for pods not in running state #110

Closed
jdef opened this issue Dec 18, 2014 · 3 comments
Closed

"No network settings" warning for pods not in running state #110

jdef opened this issue Dec 18, 2014 · 3 comments

Comments

@jdef
Copy link

jdef commented Dec 18, 2014

Periodically this warning appears in the k8s apiserver logs:

W1217 20:14:02.332606   22621 rest.go:238] No network settings: api.ContainerStatus{State:api.ContainerState{Waiting:(*api.ContainerStateWaiting)(0xc208314fc0), Running:(*api.ContainerStateRunning)(nil), Termination:(*api.ContainerStateTerminated)(nil)}, RestartCount:0, PodIP:"", Image:"kubernetes/pause:latest"}
W1217 20:21:30.153627   22621 rest.go:238] No network settings: api.ContainerStatus{State:api.ContainerState{Waiting:(*api.ContainerStateWaiting)(0xc208678420), Running:(*api.ContainerStateRunning)(nil), Termination:(*api.ContainerStateTerminated)(nil)}, RestartCount:0, PodIP:"", Image:"kubernetes/pause:latest"}
W1217 21:24:30.065444   22621 rest.go:238] No network settings: api.ContainerStatus{State:api.ContainerState{Waiting:(*api.ContainerStateWaiting)(0xc208790610), Running:(*api.ContainerStateRunning)(nil), Termination:(*api.ContainerStateTerminated)(nil)}, RestartCount:0, PodIP:"", Image:"kubernetes/pause:latest"}

It's seems clear that since the net container is still in a Pending state that it's completely valid to not have yet been assigned a PodIP. So k8s really shouldn't be logging warnings here.

@jdef
Copy link
Author

jdef commented Dec 18, 2014

patched in #102

@jdef
Copy link
Author

jdef commented Dec 18, 2014

Data point: it took about 45 min of running my looping replication controller resizer to start generating these.

@jdef
Copy link
Author

jdef commented Jan 22, 2015

implicitly resolved in #124

@jdef jdef closed this as completed Jan 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant