Pod stuck in init state as volume failed to attached with error "UpdateNodeStatusForNode failed while attempting to report volume as attached" err="failed to patch status : Unauthorized"

Solution Verified - Updated -

Issue

  • Pod stuck in init state due to volumeattachment error.

    <namespace>        2h31m      Warning  FailedMount           pod/<pod-name>                            Unable to attach or mount volumes:unmounted volumes=[conatiner1], unattached volumes=[kube-api-access-xxx]: timed out waiting for the condition
    

Environment

  • Red Hat OpenShift Container Platform(RHOCP)
    • 4.x
  • Vmware Vsphere

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