NoNetworkFound and cannot find a network-attachment-definition istio-cni in RHOCP 4.x

Solution Verified - Updated -

Issue

  • The Istio sidecar is not starting due to a missing istio-cni component and application pods are in ContainerCreating state with the error message below.
cannot find a network-attachment-definition (v2-0-istio-cni) in namespace (namespace name): network-attachment-definitions.k8s.cni.cncf.io "v2-0-istio-cni" not found

Environment

  • Red Hat OpenShift Container Platform
    • 4.6+
  • Red Hat OpenShift ServiceMesh (OSSM)
    • 1.x
    • 2.x

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