IBM Common Service Operator fails to initialize resources
The IBM Common Service Operator does not create any resource, including the Operand Deployment Lifecycle Manager subscription.
Symptom
The IBM Common Service Operator log shows the following information:
E0618 13:13:29.959214 1 main.go:136] InitResources failed: unable to retrieve the complete list of server APIs: webhook.certmanager.k8s.io/v1beta1: the server is currently unable to handle the request
Cause
The cert-manager
webhook is blocking the IBM Common Service Operator from fetching the API services. The cert-manager
webhook service probably failed.
Resolving the problem
Delete the cert-manager
webhook API service.
-
Delete the webhook API service.
oc delete apiservice v1beta1.webhook.certmanager.k8s.io
-
Get the IBM Common Service Operator pod.
oc get pod --all-namespaces | grep ibm-common-service-operator
-
Delete the
ibm-common-service-operator
pod to trigger a new installation.oc -n <IBM Common Service Operator pod namespace> delete pod <IBM Common Service Operator pod name>