IBM Common Service Operator fails to initialize resources

This version of documentation is no longer updated. For the latest information, see the following links:
- Continuous Delivery (CD) documentation
- Support Cycle-2 (SC-2) documentation

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.

  1. Delete the webhook API service.

     oc delete apiservice v1beta1.webhook.certmanager.k8s.io
    
  2. Get the IBM Common Service Operator pod.

     oc get pod --all-namespaces | grep ibm-common-service-operator
    
  3. 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>