Pod failed due to error "Unable to attach or mount volumes: unmounted volumes=[registry-storage]" timed out waiting for the condition for Netapp Trident storage PV.
Issue
- After the cluster upgrade the registry pod fails with
FailedMount
error.
50s Warning FailedMount pod/image-registry-xxxx-yyyy Unable to attach or mount volumes: unmounted volumes=[registry-storage], unattached volumes=[registry-token-swzgd registry-storage registry-tls registry-certificates trusted-ca]: timed out waiting for the condition
- PV is present on the system but still registry pod fails with error as
FailedMount
. - The creation of a new pod with new PV is working fine, but the issue is with all existing pods having old PV reference, as they failed with
FailedMount
error even after PV is present.
Environment
- OpenShift Container Platform 4.x
- NetApp Trident storage.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.