Hi,
When trying to provision persistent storage dynamically, below errors was
caught,
Events:
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().
https://github.com/openshift/origin/blob/85eb37b34f0657631592356d020cef5a58470f8e/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs_util.go
Is there any solution to work around this issue?
Or Did I miss anything?
Thanks,
Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users