Description of problem: Try to create pod with network policy plugin env, there are lots of warnings about podip is not set in node log. Oct 13 18:00:05 ose-node2.bmeng.local atomic-openshift-node[28733]: W1013 18:00:05.042864 28733 networkpolicy.go:451] PodIP is not set for pod "u1p1/test-rc-rx7xd" Oct 13 18:00:05 ose-node2.bmeng.local atomic-openshift-node[28733]: W1013 18:00:05.089130 28733 networkpolicy.go:451] PodIP is not set for pod "u1p1/test-rc-rx7xd" Oct 13 18:00:05 ose-node2.bmeng.local atomic-openshift-node[28733]: W1013 18:00:05.140096 28733 networkpolicy.go:451] PodIP is not set for pod "u1p1/test-rc-rx7xd" Oct 13 18:00:05 ose-node2.bmeng.local atomic-openshift-node[28733]: W1013 18:00:05.154872 28733 networkpolicy.go:451] PodIP is not set for pod "u1p1/test-rc-8zb30" Oct 13 18:00:05 ose-node2.bmeng.local atomic-openshift-node[28733]: W1013 18:00:05.166079 28733 networkpolicy.go:451] PodIP is not set for pod "u1p1/test-rc-8zb30" Oct 13 18:00:05 ose-node2.bmeng.local atomic-openshift-node[28733]: W1013 18:00:05.248377 28733 networkpolicy.go:451] PodIP is not set for pod "u1p1/test-rc-8zb30" Version-Release number of selected component (if applicable): v3.7.0-0.150.0 How reproducible: always Steps to Reproduce: 1. Setup multi node env with network policy plugin 2. Try to create pod on the env 3. Check the node log during the pod creation Actual results: There are lots of warnings about the podip is not set. Expected results: To avoid the warning, we should either check the pod status later when the pod is already running or reduce the frequency if we have to check before pod running. Additional info:
https://github.com/openshift/origin/pull/16933
Tested on ocp build v3.7.0-0.190.0 The message will not be shown under loglevel 2 and will not be shown as wanring.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3188