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

Fixed the issue where the DCU device plugin failed to run on K100 #4

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

fourhu
Copy link
Contributor

@fourhu fourhu commented Dec 17, 2024

Fixed the issue where the DCU device plugin failed to run on K100.

@fourhu
Copy link
Contributor Author

fourhu commented Dec 17, 2024

$ kubectl -n kube-system logs -f dcu-device-plugin-daemonset-ljjhl
I1217 13:23:22.557085 2010790 client.go:53] BuildConfigFromFlags failed for file /root/.kube/config: stat /root/.kube/config: no such file or directory using inClusterConfig
panic: unexpected EOF

goroutine 52 [running]:
github.com/HAMi/dcu-vgpu-device-plugin/internal/pkg/dcu.(*Plugin).Start(0xc000522000)
/device-plugin/internal/pkg/dcu/server.go:143 +0x1568
github.com/kubevirt/device-plugin-manager/pkg/dpm.startPlugin({0x19292d5, 0x6}, {{0x1b85d00, 0xc000522000}, {0xc000516030, 0x10}, {0x19292d5, 0x6}, {0xc00052c000, 0x30}, ...})
/device-plugin/vendor/github.com/kubevirt/device-plugin-manager/pkg/dpm/manager.go:185 +0x5e
github.com/kubevirt/device-plugin-manager/pkg/dpm.(*Manager).handleNewPlugins.func1({0x19292d5, 0x6})
/device-plugin/vendor/github.com/kubevirt/device-plugin-manager/pkg/dpm/manager.go:112 +0x314
created by github.com/kubevirt/device-plugin-manager/pkg/dpm.(*Manager).handleNewPlugins in goroutine 1
/device-plugin/vendor/github.com/kubevirt/device-plugin-manager/pkg/dpm/manager.go:107 +0x7f

Signed-off-by: fourhu <fourhu@foxmail.com>
@fourhu
Copy link
Contributor Author

fourhu commented Dec 17, 2024

Sometimes the obtained Card Series is empty.
image

Signed-off-by: fourhu <fourhu@foxmail.com>
@fourhu
Copy link
Contributor Author

fourhu commented Dec 17, 2024

This is the card version information retrieved from the server.
image

@archlitchi
Copy link
Contributor

/lgtm

thanks

@archlitchi archlitchi merged commit 7c0f320 into Project-HAMi:master Dec 18, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants