[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Mount failed with dynamic provisioned persistent storage glusterfs


When trying to provision persistent storage dynamically, below errors was caught,

  FirstSeen    LastSeen    Count    From                SubObjectPath    Type        Reason        Message
  ---------    --------    -----    ----                -------------    --------    ------        -------
  5m        5m        1    default-scheduler                Normal        Scheduled    Successfully assigned nginx-3783656783-wv69l to host-10-1-241-54
  5m        1m        10    kubelet, host-10-1-241-54            Warning        FailedMount    MountVolume.SetUp failed for volume "kubernetes.io/glusterfs/ece1a4c4-a364-11e7-9b9b-fa163e3e1b52-pvc-777b1c98-a361-11e7-9b9b-fa163e3e1b52" (spec.Name: "pvc-777b1c98-a361-11e7-9b9b-fa163e3e1b52") pod "ece1a4c4-a364-11e7-9b9b-fa163e3e1b52" (UID: "ece1a4c4-a364-11e7-9b9b-fa163e3e1b52") with: glusterfs: mount failed: exit status 1 the following error information was pulled from the glusterfs log to help diagnose this issue: glusterfs: could not open log file for pod: nginx-3783656783-wv69l
  3m        1m        2    kubelet, host-10-1-241-54            Warning        FailedMount    Unable to mount volumes for pod "nginx-3783656783-wv69l_ai-demo(ece1a4c4-a364-11e7-9b9b-fa163e3e1b52)": timeout expired waiting for volumes to attach/mount for pod "ai-demo"/"nginx-3783656783-wv69l". list of unattached/unmounted volumes=[html]

If I do not use dynamic provision, it works well.

It seemed that above error was thrown by function readGlusterLog().


Is there any solution to work around this issue?

Or Did I miss anything?


Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]