AMQ Broker operator pod not starting, with error "unable to retrieve the complete list of server APIs: external.metrics.k8s.io/v1beta1"

Solution Verified - Updated -

Issue

  • The AMQ broker operator pod does not start, after migrating the Openshift version
  • Because of this, AMQ Broker deployments cannot be added or updated
  • This message can be seen on the AMQ Operator pod's logs
I1214 16:18:12.127091       1 request.go:665] Waited for 1.843370465s due to client-side throttling, not priority and fairness, request: GET:https://172.21.0.1:443/apis/packages.operators.coreos.com/v1?timeout=32s
2023-12-14T16:18:19.478Z    ERROR   setup   failed in detecting openshift   {"error": "unable to retrieve the complete list of server APIs: external.metrics.k8s.io/v1beta1: the server is currently unable to handle the request"}
main.main
    /workspace/app/main.go:187
runtime.main
    /opt/rh/go-toolset-1.17/root/usr/lib/go-toolset-1.17-golang/src/runtime/proc.go:255
  • It also happens with the Service Registry Operator. On the Operator logs, you can see a similar message
I0228 13:04:21.176497 1 request.go:665] Waited for 3.281299213s due to client-side throttling, not priority and fairness, request: GET:https://172.254.0.1:443/apis/snapshot.storage.k8s.io/v1?timeout=32s
ts=2024-02-28T13:04:24.649873855Z level=error msg="could not determine if monitoring resource is installed" error="unable to retrieve the complete list of server APIs: packages.operators.coreos.com/v1: the server is currently unable to handle the request" stacktrace="github.com/Apicurio/apicurio-registry-operator/controllers.NewApicurioRegistryReconciler\n\t/remote-source/app/controllers/apicurioregistry_controller.go:78\nmain.initControllers\n\t/remote-source/app/main.go:59\nmain.main\n\t/remote-source/app/main.go:106\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"
ts=2024-02-28T13:04:24.650131702Z level=error logger=setup msg="unable to create controller" controller=ApicurioRegistry error="unable to retrieve the complete list of server APIs: packages.operators.coreos.com/v1: the server is currently unable to handle the request" stacktrace="main.initControllers\n\t/remote-source/app/main.go:60\nmain.main\n\t/remote-source/app/main.go:106\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"
ts=2024-02-28T13:04:24.650239157Z level=error logger=setup msg="unable to create controllers" error="unable to create ApicurioRegistry controller" stacktrace="main.main\n\t/remote-source/app/main.go:107\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"

Environment

  • Openshift 4.12+
  • A-MQ Broker Operator 7.11.x
  • Service Registry Operator 2.3+

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