Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to read from conn, req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) #67

Open
asskss opened this issue Sep 26, 2022 · 6 comments

Comments

@asskss
Copy link

asskss commented Sep 26, 2022

readdirlimit: packet() mp(PartitionID(228) Start(0) End(16777216) Members([~~~~]) LeaderAddr(.:10) Status(2)) req({pvtest 228 1 1024}) err(sendToMetaPartition failed: req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) mp(PartitionID(228) Start(0) End(16777216) Members([.:10 .:10 .64:10]) LeaderAddr(.:10) Status(2)) errs(map[0:[conn.go 145] Failed to read from conn, req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) :: read tcp :46808->.:10: i/o timeout 1:[conn.go 145] Failed to read from conn, req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) :: read tcp :48510->.:10: i/o timeout 2:[conn.go 145] Failed to read from conn, req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) :: read tcp :55182->:10: i/o timeout]) resp())
2022/09/26 10:08:36.483713 [ERROR] dir.go:360: readdirlimit: Readdir: ino(1) err(input/output error)

k8s version 1.22.14
cubefs-csi version 3.10
chubaofs version 2.40

请问这是因为csi插件和chubaofs版本不兼容的问题吗

@Huweicai
Copy link
Member

你遇到的现象是卷挂载不上还是挂载之后无法读写呢,方便把完整的日志贴一下吗

@asskss
Copy link
Author

asskss commented Sep 26, 2022

你遇到的现象是卷挂载不上还是挂载之后无法读写呢,方便把完整的日志贴一下吗

cubefs-pvtest 200G 4.1G 196G 3% /mnt/fortest
挂载后,进入目录执行命令ls卡死

cfs-csi-node cfs-driver完整日志
2022/09/26 09:49:15.299105 [ERROR] client.go:170: serveRequest: unknown status: host(http://:17010/admin/qosUpload?name=pvtest&qosEnable=true) uri(~~~~~:17010) status(404) body(404 page not found).
2022/09/26 09:49:15.300084 [ERROR] client.go:170: serveRequest: unknown status: host(http://:17010/admin/qosUpload?name=pvtest&qosEnable=true) uri(~~~~:17010) status(404) body(404 page not found).
readdirlimit: packet() mp(PartitionID(228) Start(0) End(16777216) Members([~~~~]) LeaderAddr(.:10) Status(2)) req({pvtest 228 1 1024}) err(sendToMetaPartition failed: req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) mp(PartitionID(228) Start(0) End(16777216) Members([.:10 .:10 .64:10]) LeaderAddr(.:10) Status(2)) errs(map[0:[conn.go 145] Failed to read from conn, req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) :: read tcp :46808->.:10: i/o timeout 1:[conn.go 145] Failed to read from conn, req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) :: read tcp :48510->.:10: i/o timeout 2:[conn.go 145] Failed to read from conn, req(ReqID(7)Op(OpMetaReadDirLimit)PartitionID(228)ResultCode(Unknown ResultCode(0))) :: read tcp :55182->:10: i/o timeout]) resp())
2022/09/26 10:08:36.483713 [ERROR] dir.go:360: readdirlimit: Readdir: ino(1) err(input/output error)

@Huweicai
Copy link
Member

Huweicai commented Sep 26, 2022

cfs-csi-node 到你的 metanode 的网络连接正常么,nc -v ${MetaNodeIP}:17210 试下呢

@asskss
Copy link
Author

asskss commented Sep 26, 2022

metanode

网络是通的,这不是csi和cubefs版本的问题吧?

@asskss
Copy link
Author

asskss commented Sep 26, 2022

metanode

网络是通的,这不是csi和cubefs版本的问题吧?

2022/09/26 09:49:15.306820 [DEBUG] conn.go:133: sendToMetaPartition: succeed! req(ReqID(2)Op(OpMetaInodeGet)PartitionID(228)ResultCode(Unknown ResultCode(0))) mc(partitionID(228) addr(ipip:17210)) resp(ReqID(2)Op(OpMetaInodeGet)PartitionID(228)ResultCode(Ok))

@Huweicai
Copy link
Member

Huweicai commented Sep 27, 2022

你的 CSI 和服务端版本分别是多少呢,客户端和服务端各个版本基本都是兼容的,另外看你的报错不是 timeout 么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants