Skip to content

MountVolume.SetUp failed for volume "pvc-5db7ec30-91d7-49a9-92eb-28019bc6f05a" : rpc error: code = Internal desc = mount bind fail.  #8

@dyrnq

Description

@dyrnq
Name:             test-nginx-65c6d4bf48-nsn7v
Namespace:        default
Priority:         0
Service Account:  default
Node:             m204/192.168.6.204
Start Time:       Fri, 13 Jan 2023 09:43:45 +0800
Labels:           app=test-nginx
                  pod-template-hash=65c6d4bf48
Annotations:      <none>
Status:           Pending
IP:               
IPs:              <none>
Controlled By:    ReplicaSet/test-nginx-65c6d4bf48
Containers:
  nginx:
    Container ID:   
    Image:          nginx:latest
    Image ID:       
    Port:           80/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /usr/share/nginx/html from maven-cache (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-wn54s (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  my-volume:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:     
    SizeLimit:  <unset>
  maven-cache:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  maven-cache
    ReadOnly:   false
  kube-api-access-wn54s:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason       Age    From               Message
  ----     ------       ----   ----               -------
  Normal   Scheduled    3m11s  default-scheduler  Successfully assigned default/test-nginx-65c6d4bf48-nsn7v to m204
  Warning  FailedMount  98s    kubelet            MountVolume.SetUp failed for volume "pvc-5db7ec30-91d7-49a9-92eb-28019bc6f05a" : rpc error: code = Internal desc = mount bind fail. stagingTargetPath:/var/lib/kubelet/plugins/kubernetes.io/csi/csi.cubefs.com/25d95a4317311a75df8c06f904a95e38c2456b6244b295da5feea65607cbd4e9/globalmount, targetPath:/var/lib/kubelet/pods/6c41c418-3b15-467a-afdb-36a9da6c1505/volumes/kubernetes.io~csi/pvc-5db7ec30-91d7-49a9-92eb-28019bc6f05a/mount error:mount --bind /var/lib/kubelet/plugins/kubernetes.io/csi/csi.cubefs.com/25d95a4317311a75df8c06f904a95e38c2456b6244b295da5feea65607cbd4e9/globalmount to /var/lib/kubelet/pods/6c41c418-3b15-467a-afdb-36a9da6c1505/volumes/kubernetes.io~csi/pvc-5db7ec30-91d7-49a9-92eb-28019bc6f05a/mount fail: exit status 32
  Warning  FailedMount  68s    kubelet            Unable to attach or mount volumes: unmounted volumes=[maven-cache], unattached volumes=[kube-api-access-wn54s maven-cache]: timed out waiting for the condition

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions