Pods are failing to communicate when network policy is applied

Solution Verified - Updated -

Issue

  • Pods are unable to communicate when network policy is applied.
  • Connection timed out when a network policy is applied to enable pod-to-pod communication between projects.
$ oc exec -it ovs-2zk7q -n openshift-sdn -- curl -kv telnet://10.0.0.1:9411
* About to connect() to 10.0.0.1 port 9411 (#0)
*   Trying 10.0.0.1...
* Connection timed out
* Failed connect to 10.0.0.1:9411; Connection timed out
* Closing connection 0
curl: (7) Failed connect to 10.0.0.1:9411; Connection timed out
command terminated with exit code 7
  • Pod communication fails when migrated from ovs-multitenant plugin to ovs-networkpolicy plugin.

Environment

  • Red Hat Openshift Container Platform (OCP)
    • 3.9
    • 3.10
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content