Glusterfs

kubernetes gluster 卷無法掛載並出現錯誤“無法從伺服器獲取’卷文件’”

  • January 4, 2017

我們正在容器引擎上的 kubernetes 中執行一個 pod,它剛剛在容器創建階段開始失敗,並顯示以下錯誤消息?

有沒有人見過這樣的錯誤?有關如何修復的任何建議?

Mounting command: /home/kubernetes/bin/mounter
Mounting arguments: <one-of-our-gluster-internal-ips>:gluster-volume-0 /var/lib/kubelet/pods/7dd7d1e1-d202-11e6-84b4-42010a80008d/volumes/kubernetes.io~glusterfs/glusterfsvol glusterfs [log-level=ERROR log-file=/var/lib/kubelet/plugins/kubernetes.io/glusterfs/glusterfsvol/certificate-manager-deployment-2775235973-71fyd-glusterfs.log]
Output: Running mount using a rkt fly container
run: group "rkt" not found, will use default gid when rendering images
WARNING: getfattr not found, certain checks will be skipped..
Mount failed. Please check the log file for more details.

the following error information was pulled from the glusterfs log to help diagnose this issue:
[2017-01-03 22:18:42.934340] E [glusterfsd-mgmt.c:1503:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server
[2017-01-03 22:18:42.934393] E [glusterfsd-mgmt.c:1603:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:gluster-volume-0)
  • Kubernetes 1.4.7
  • 光澤 3.9

留下這個,因為我無法在網上找到其他任何東西。事實證明,我錯過了幾塊沒有上線的磚塊。按照這裡的答案並再次得到它:Gluster 磚已離線並且日誌中有錯誤

引用自:https://serverfault.com/questions/824003