unable to load root certificates: unable to parse bytes as PEM block in kube-apiserver in OCP 4
Issue
Projectsare stuck interminatingstate:
openshift-debug-node-b5cg4rgjfd Terminating
openshift-debug-node-rtkbgb9w6x Terminating
kube-apiserveris streaming the below errors frequently:
2022-04-07T00:26:02.688753906Z E0407 00:26:02.687954 17 customresource_handler.go:324] unable to load root certificates: unable to parse bytes as PEM block
2022-04-07T00:26:03.752402270Z E0407 00:26:03.752284 17 customresource_handler.go:324] unable to load root certificates: unable to parse bytes as PEM block
- The
kube-controller-managerlogs show deletion of namespace<namespace>-deploymentfailed
2022-05-18T17:18:59.909159201Z E0518 17:18:59.909100 1 namespace_controller.go:162] deletion of namespace <NAMESPACE>-deployment failed: Internal error occurred: error resolving resource
- The
gitlab-runner-operatorClusterServiceVersionis showing errors in it's status condition:
message: 'install strategy failed: Internal error occurred: failed calling webhook
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.