bmingithub 看起来有两个问题: 1 . secret要base64的,应该填123456的base64后的,MTIzNDU2 volumetype: replicate:2 要根据你的集群情况填写,replicate:2表示2个glusterfs节点。 你可以就不急着重装,直接把原先的sc删掉,然后新建sc(因为sc的parameter不能edit),然后创建一个pvc试试看 先把sc的参数调正确了。
tzghost 我的glusterfs是4个节点,但是删除sc,改成4后,PVC的状态就是Pending volumetype: replicate:2 后,PVC就正常BOUND 在glusterfs这边能正常看到状态 secret不是base64的话,PVC也能正常BOUND吗?bmingithub Cauchy
tzghost bmingithub 配置成replicate:2了,但看日志还是如下 [2020-09-03 08:15:30.037401] E [glusterfsd.c:828:gf_remember_backup_volfile_server] 0-glusterfs: failed to set volfile server: File exists 节点: glusterFS: 4个节点 master: 3个节点 work:3个节点 系统版本:CentOS Linux release 7.7
tzghost 查找了相关的资料,看起来这个问题比较常见,不过没找到合适的解决方案。我用的是glusterfs 7.7,你们测试用的是哪个版本,有没有遇到过这个问题?bmingithub @Cauchy https://github.com/gluster/gluster-kubernetes/issues/641 https://stackoverflow.com/questions/60683873/0-glusterfs-failed-to-set-volfile-server-file-exists