UIS产品,超融合。
组网不涉及。
前台启动共享存储池失败。
共享存储池启动失败,需要检查cofs2_shell日志
[root@DZZWWW-SDN-UIS-3030-11 ~]# cd /var/log
[root@DZZWWW-SDN-UIS-3030-11 log]# tailf ocfs2_shell_202109.log
2021-09-10 14:16:53 [DZZWWW-SDN-UIS-3030-11] [1261965] (ocfs2_disk_multi_part_check): INFO:disk /dev/disk/by-path/ip-127.0.0.1:***.***.h3c.onestor:139d6c5d5e024802b4aa446203644737-lun-6 with 360000000000000000e0000006ff8e450 has 0 disk part(s).
2021-09-10 14:16:53 [DZZWWW-SDN-UIS-3030-11] [1261965] (ocfs2_disk_multi_part_check): ERROR:/dev/disk/by-path/pci-0000:ae:05.5-pci-10000:04:00.0-nvme-1 naa get error
2021-09-10 14:16:59 [DZZWWW-SDN-UIS-3030-11] [1261965] (ocfs2_disk_format_check): ERROR:Disk /dev/disk/by-id/dm-name-360000000000000000e0000006ff8e450 had been mounted by other hosts, not need to format it.
2021-09-10 14:17:04 [1288180] ocfs2_mount_check.py/101L: WARNING:Storage pool /etc/libvirt/storage/dzzwshare05.xml mountpoint /vms/dzzwshare05.
2021-09-10 14:17:04 [1288180] ocfs2_mount_check.py/62L: WARNING:Multipath scsi check:/dev/disk/by-id/dm-name-360000000000000000e0000006ff8e450
2021-09-10 14:17:04 [1288180] ocfs2_mount_check.py/141L: WARNING:Check regionpath dir, clustername UISC strUUID F5B6423D6C25444BA266AAECCD8A0F40
2021-09-10 14:17:12 [1288180] util_common_tools.py/209L: ERROR:Command 'ssh -q root@10.12.238.1 -oCOnnectTimeout=120 -oTCPKeepAlive=yes -oServerAliveInterval=60 -oServerAliveCountMax=3 sudo ps -ef | grep "\[o2hb-F5B6423D6C\]"' returned non-zero exit status 1
2021-09-10 14:17:12 [1288180] ocfs2_mount_check.py/520L: ERROR:This lun f5b6423d-6c25-444b-a266-aaeccd8a0f40 is not mounted in host 10.12.238.1, may be mounted in other cluster(cvm)
2021-09-10 14:17:12 [1288180] util_common_tools.py/209L: ERROR:Command 'ssh -q root@10.12.238.4 -oCOnnectTimeout=120 -oTCPKeepAlive=yes -oServerAliveInterval=60 -oServerAliveCountMax=3 sudo ps -ef | grep "\[o2hb-F5B6423D6C\]"' returned non-zero exit status 1
2021-09-10 14:17:12 [1288180] ocfs2_mount_check.py/520L: ERROR:This lun f5b6423d-6c25-444b-a266-aaeccd8a0f40 is not mounted in host 10.12.238.4, may be mounted in other cluster(cvm)
从启动日志可以看到,主机在启动存储时,需要通过ssh访问ocfs2集群内的其他主机以获取存储挂载信息,但该主机在ssh其他主机时报错,无法ssh连接。
实际测试ssh连接,发现果然无法免密连接,需要输入密码。
root@DZZWWW-SDN-UIS-3030-11 log]# ssh 10.12.238.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/root/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/root/.ssh/id_rsa": bad permissions
root@10.12.238.1's password:
从ssh连接提示可以看出,/root/.ssh/id_rsa私钥文件权限给大了,ssh认为不安全,就没有免密连接。
该问题是由于私钥文件权限问题,导致的ssh无法免密连接,继而导致存储无法启动。
通过修改私钥文件权限即可恢复,操作如下:
[root@DZZWWW-SDN-UIS-3030-11 log]# ll /root/.ssh/id_rsa
-rw-r--r-- 1 root root 1675 Sep 9 15:44 /root/.ssh/id_rsa
[root@DZZWWW-SDN-UIS-3030-11 log]# chmod 700 /root/.ssh/id_rsa
之后再启动存储成功。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作