在WSL2中使用device=docker安装lognhorn时iscsid永远会因为sendmsg: bug? ctrl_fd 5错误中止 #19400
Labels
kind/support
Categorizes issue or PR as a support question.
l/zh-CN
Issues in or relating to Chinese
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
重现问题所需的命令:
当使用longhorn创建一个pvc, 并在pod中使用该pvc时, 会永远无法分配到分区, 检查问题是iscsid在启动后会因为错误中止
失败的命令的完整输出:
× iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/system/iscsid.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2024-08-11 09:15:05 UTC; 349ms ago
TriggeredBy: ○ iscsid.socket
Docs: man:iscsid(8)
Process: 35037 ExecStartPre=/lib/open-iscsi/startup-checks.sh (code=exited, status=0/SUCCESS)
Process: 35040 ExecStart=/sbin/iscsid (code=exited, status=0/SUCCESS)
Main PID: 35042 (code=exited, status=255/EXCEPTION)
Aug 11 09:15:04 minikube-m02 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Aug 11 09:15:04 minikube-m02 iscsid[35040]: iSCSI logger with pid=35041 started!
Aug 11 09:15:04 minikube-m02 systemd[1]: Started iSCSI initiator daemon (iscsid).
Aug 11 09:15:05 minikube-m02 systemd[1]: iscsid.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 11 09:15:05 minikube-m02 iscsid[35041]: iSCSI daemon with pid=35042 started!
Aug 11 09:15:05 minikube-m02 iscsid[35041]: sendmsg: bug? ctrl_fd 5
Aug 11 09:15:05 minikube-m02 systemd[1]: iscsid.service: Failed with result 'exit-code'.
使用的操作系统版本:
使用的Windows10 WSL2
kernel版本是5.15.153.1(根据5.15.153.1-microsoft-standard-WSL2的内核编译开启了ISCSI_TCP模块)
这个ctrl_fd5网上有提到可能和netlink有关, 不知道是否是因为ubuntu 22.04的iscsid服务和这个kernel有兼容性问题. 由于Windows10无法在WSL2中开启KVM, 所以希望能帮忙解决
The text was updated successfully, but these errors were encountered: