You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running a Pod on Windows Node, the Pod is always in NetworkNotReady state, although OVS has allocated the OpenFlow port.
After checking the antrea-agent logs, we found these logs output,
E1226 20:18:52.087141 2604 pod_configuration.go:611] "Failed install OpenFlow entries for OVS port interface" err="pod's OpenFlow port is not ready yet" name="vsphere--67de56"
I1226 20:18:52.087141 2604 event.go:389] "Event occurred" object="vmware-system-csi/vsphere-csi-node-windows-jqrxt" fieldPath="" kind="Pod" apiVersion="v1" type="Warning" reason="NetworkNotReady" message="Pod network forwarding rules not installed"
Trying to configure antrea-agent with a more detail logs, we could found that, OVS has sent an OpenFlow PortStatus message with an incorrect state OFPUTIL_PS_LINK_DOWN (Desc.State value is 1),
After checking with OVS code, the root cause is supposed to be a Windows OVS issue that ovs doesn't in time update ifp_flags after an OpenFlow port is installed.
To Reproduce
Repeatedly create and delete Pods on a Windows Node. Several times later, the Pod is in NetworkNotReady state.
Expected
The Pod should always finally become NetworkReady state no matter how many times to restart it.
Actual behavior
Several times later, the Pod is observed in NetworkNotReady state.
Versions:
Antrea: 2.2+
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
After running a Pod on Windows Node, the Pod is always in
NetworkNotReady
state, although OVS has allocated the OpenFlow port.After checking the antrea-agent logs, we found these logs output,
Trying to configure antrea-agent with a more detail logs, we could found that, OVS has sent an OpenFlow PortStatus message with an incorrect state
OFPUTIL_PS_LINK_DOWN
(Desc.State value is 1),While antrea-agent is expecting a live state as the precondition to install OpenFlow entries for a Pod.https://github.com/antrea-io/antrea/blob/main/pkg/agent/cniserver/pod_configuration.go#L681 . Below is a sample of the OpenFlow PortStatus messages that antrea-agent expects to receive if OVS is working as desired.
After checking with OVS code, the root cause is supposed to be a Windows OVS issue that ovs doesn't in time update ifp_flags after an OpenFlow port is installed.
To Reproduce
Repeatedly create and delete Pods on a Windows Node. Several times later, the Pod is in
NetworkNotReady
state.Expected
The Pod should always finally become
NetworkReady
state no matter how many times to restart it.Actual behavior
Several times later, the Pod is observed in
NetworkNotReady
state.Versions:
Antrea: 2.2+
Additional context
The text was updated successfully, but these errors were encountered: