kubernetes gluster 卷无法挂载,错误为“无法从服务器获取‘卷文件’”

kubernetes gluster 卷无法挂载,错误为“无法从服务器获取‘卷文件’”

我们在容器引擎上的 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
  • gluster 3.9

答案1

因为我在网上找不到其他东西,所以就保留了这个。原来是我错过了几块砖无法上网。按照这里的答案操作后,又恢复了:Gluster 砖块处于离线状态并且日志中有错误

相关内容