"OpenAPI spec does not exist" error is shown in "kube-apiserver" Pod

Solution Unverified - Updated -

Issue

  • Errors such as the following are shown every few minutes in the kube-apiserver Pod:

    2021-08-26T07:37:46.127493020Z E0826 07:37:46.127370      18 controller.go:116] loading OpenAPI spec for "v1.admission.hive.openshift.io" failed with: OpenAPI spec does not exist
    2021-08-26T07:37:46.161285273Z E0826 07:37:46.161069      18 controller.go:116] loading OpenAPI spec for "v1.admission.cluster.open-cluster-management.io" failed with: OpenAPI spec does not exist
    2021-08-26T07:37:46.173517122Z E0826 07:37:46.173393      18 controller.go:116] loading OpenAPI spec for "v1.admission.work.open-cluster-management.io" failed with: OpenAPI spec does not exist
    
  • The errors appear after installing Red Hat Advanced Cluster Management (RHACM) on the OpenShift Container Platform cluster.

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.7
  • Red Hat Advanced Cluster Management (RHACM) 2.3.1

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