When upgrading OpenShift Logging to 5.7.0, the Operator fails with "CreateContainerConfigError"

Solution Verified - Updated -

Issue

  • When OpenShift Logging is upgraded to OpenShift Logging 5.7.0, the Logging Operator Pod is showing a CreateContainerConfigError with the following error message:

    Warning  Failed          13m (x12 over 15m)  kubelet            Error: container has runAsNonRoot and image will run as root (pod: "cluster-logging-operator-bbf8b954b-stv2l_openshift-logging(92176a5e-0f4f-4675-ae93-4741c065c674)", container: cluster-logging-operator)
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5.7

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