Getting "error: open /var/run/secrets/kubernetes.io/serviceaccount/token: permission denied" error and pods are failing to schedule on node(s).

Solution In Progress - Updated -

Issue

  • Deploy pod is failing to schedule any pod on a specific node(s), its logs shows the error:
error: open /var/run/secrets/kubernetes.io/serviceaccount/token: permission denied
  • Generic secrets mounted as volumes in the deployment config gives the permission denied error, new pods are getting stuck in ContainerCreating or Crashloopbackoff state.

Environment

  • Red Hat OpenShift Container Platform
    • 3.11

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