FreeKB - OpenShift Resolve "FailedMount Unable to attach or mount volumes timed out waiting for the condition"
OpenShift - Resolve "FailedMount Unable to attach or mount volumes timed out waiting for the condition"

Let's say the following is being returned when attempting to start a pod.

Unable to attach or mount volumes: unmounted volumes=[volume001], unattached volumes=[volume001]: timed out waiting for the condition

 

In this example, a time out occurred when attempting to mount the volume named "volume001" to the pod. The oc describe command can be used to gather additional information about the volume. Notice in this example that volume001 is a Persistent Volume Claim (pvc).

Volumes:
  volume001:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  claim001
    ReadOnly:   false

 

The oc get pvc command can be used to list the Persistent Volume Claims in the namespace. One simple possibility is that the volume does not exist.

~]$ oc get pvc
NAME     STATUS    VOLUME      CAPACITY   ACCESS MODES   STORAGECLASS               AGE
pvc001   Bound     volume001   4Gi        RWO            glusterfs-registry-block   1y
pvc002   Bound     volume002   4Gi        RWO            glusterfs-registry-block   1y
pvc003   Bound     volume003   4Gi        RWO            glusterfs-registry-block   1y

 

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter ed2be in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |