Why OpenShift Virtualization installation is failing with error "namespaces openshift-virtualization-os-images not found"?

Solution Verified - Updated -

Issue

  • After the installation of OpenShift Virtualization operator, the virtualization tab was not available in the OpenShift console. The kubevirt-console-plugin pod was not available in the openshift-cnv namespace. The hco-operator was continuously logging the below messages:
2023-07-18T12:38:15.157244036Z {"level":"error","ts":1689683895.1571174,"logger":"controller_hyperconverged","msg":"Failed to create object for ImageStream","Request.Namespace":"openshift-cnv","Request.Name":"kubevirt-hyperconverged","error":"namespaces \"openshift-virtualization-os-images\" not found",

Environment

  • OpenShift Virtualization 4.12.
  • OpenShift Virtualization 4.13.

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