The package-server-manager pod is failing with securityContext errors while upgrading OpenShift from 4.11 to 4.12

Solution Verified - Updated -

Issue

  • OpenShift upgrade is stuck as the package-server-manager pod is not up with the following errors:

    deployment openshift-operator-lifecycle-manager/package-server-manager has a replica failure FailedCreate: pods "package-server-manager-12a3b4cd5e-1x2y3" is forbidden: violates PodSecurity "restricted:v1.24": seLinuxOptions (pod set forbidden securityContext.seLinuxOptions: type "spc_t"; user may not be set; role may not be set)
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • Upgrade from 4.11 to 4.12
  • Datadog
  • Custom SCC

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