generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
Hi, I'm a maintainer on the EBS CSI Driver. We recently tried to bump our version of the csi-proxy library from v1.2.1 to v1.3.0. Upon testing this bump, we find the new WMI library included causes our driver to repeatedly crash on startup with a panic:
$ kubectl -n kube-system logs -f ebs-csi-node-windows-lxfxq
Defaulted container "ebs-plugin" out of: ebs-plugin, node-driver-registrar, liveness-probe
panic: couldn't initialize the WmiSessionManager: Invalid class string
goroutine 1 [running]:
github.com/microsoft/wmi/pkg/wmiinstance.NewWmiSessionManager()
/go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/wmi/pkg/wmiinstance/WmiSessionManager.go:32 +0x6b
github.com/microsoft/wmi/pkg/base/session.init.0()
/go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/wmi/pkg/base/session/session.go:28 +0x6d
What you expected to happen:
Upgrading the library shouldn't cause the driver to panic.
How to reproduce it:
Working on getting easy repro steps, but attempting to use the csi-proxy in a CSI Driver on a eksctl-created Windows cluster should cause the issue.
Anything else we need to know?:
Unfortunately, this comes from a panic here, which is in a function run via init() here. So there's a good chance we'll need to report this upstream.
Environment:
- CSI Driver version: N/A
- Kubernetes version (use
kubectl version): 1.33 (doesn't seem to matter) - OS (e.g. from /etc/os-release): Windows Server 2022 Core (Official EKS AMI
ami-073ce66bebaa6242binus-west-2) - Kernel (e.g.
uname -a): N/A - Install tools: N/A
- Others: N/A
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.