spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
507 stars 73 forks source link

DRA: agent can't start due to the draHostDevicePath isn't file type #3503

Closed cyclinder closed 1 month ago

cyclinder commented 1 month ago

Spiderpool Version

all

Bug Type

Spiderpoo-Agent

Main CNI

any

What happened?

DRA: agent can't start due to the draHostDevicePath isn't file type

{"level":"FATAL","ts":"2024-05-20T03:52:04.598Z","logger":"spiderpool-agent","caller":"cmd/daemon.go:243","msg":"failed to start dra-plugin server","error":"draHostDevicePath: /usr/lib/lib.so is not a file type"}
root@controller-node-1:/home/cyclinder# stat /usr/lib/lib.so
  File: /usr/lib/lib.so
  Size: 14672       Blocks: 32         IO Block: 4096   regular file
Device: fd00h/64768d    Inode: 1723989     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-05-20 11:17:44.087179083 +0800
Modify: 2024-02-07 22:36:29.000000000 +0800
Change: 2024-05-20 11:17:44.031178491 +0800
 Birth: 2024-05-20 11:17:44.027178450 +0800

What did you expect to happen?

agent can start.

How to reproduce it (as minimally and precisely as possible)

  1. enable the dra feature

Additional Context

No response