"Policy" CRD missing on RHACM managed cluster

Solution Verified - Updated -

Issue

  • On a cluster managed by RHACM (Red Hat Advanced Cluster Management), a klusterlet-addon-policyctrl-framework Pod in the open-clister-management-agent-addon namespace is crashing due to the following error message:

    {"level":"error","ts":1652700484.9912724,"logger":"cmd","msg":"Manager exited non-zero","error":"no matches for kind \"Policy\" in version \"policy.open-cluster-management.io/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/remote-source/deps/gomod/pkg/mod/github.com/go-logr/zapr@v0.4.0/zapr.go:132\nmain.main\n\t/remote-source/app/cmd/manager/main.go:194\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:255"}
    
  • On a managed cluster, the Policy ClusterResourceDefinition (CRD) is missing. What to do in this case?

Environment

  • Red Hat Advanced Cluster Management (RHACM) 2.4
  • Red Hat OpenShift Container Platform (RHOCP) 4.8

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