K8S-master:
查看gluster-pod和heketi-pod运行状态
查看heketi pod log日志
登陆heketi 容器内部相应回显:
相同操作之后,Gluster-03初始化成功(Gluster-01 02 还是失败)
经过多次试验发现有的时候gluster node 是“Unable to create node: New Node doesn’t have glusterd running” 有的时候是“ Adding device /dev/sdb … Unable to add device: Setup of device /dev/sdb failed (already initialized or contains data?): error dialing backend: dial tcp: lookup gluster-02 on 8.8.8.8:53: no such host”
请老师帮我看看。已经创建了serviceaccount 和Role