CSI 驅動程式顯示只有一個控制器在執行中,而其他控制器則處於 CrashLoopBackoff 狀態

Summary: 在容器儲存介面 (CSI) 驅動程式 2.9.0 中,當驅動程式安裝多個控制器複本時,只有一個控制器在執行,而其他則處於「CrashLoopBackoff」狀態。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

使用者可以安裝驅動程式,但如果部署了多個控制器副本,則只有一個副本正在運行,而其他副本沒有回應。
level=info msg="Attempting driver connection at: unix:/var/run/csi/csi.sock"
level=debug msg="grpc.Dial returned context deadline exceeded"
level=error msg="Waiting on connection to driver csi.sock: context deadline exceeded"
level=debug msg="grpc.Dial returned context deadline exceeded"
level=error msg="Waiting on connection to driver csi.sock: context deadline exceeded"

Cause

在 Kubernetes sidecar 連線中新增逾時,會導致非領導驅動程式控制器中的領導者選舉程序失敗。如果沒有超時,非領導者驅動程式控制器會嘗試無限期地建立連接,從而避免無回應狀態,請參閱 https://github.com/kubernetes-csi/csi-lib-utils/commit/bbcd13252ca60814a2e5c31255db660de4bed957此超連結會帶您前往 Dell Technologies 以外的網站。

在預設情況下,控制器的副本數為 2 的驅動程式的 Helm 安裝中會出現此問題。

Resolution

因應措施

將驅動程式值檔中的控制器複本數目減少至 1 個,設定 controller.controllerCount 到 1.

請參閱適用於您的驅動程式類型的升級文件,以升級驅動程式。這不是傳統意義上的「升級」,因為這更符合修改組態。
https://dell.github.io/csm-docs/docs/supportmatrix/ 此超連結會帶您前往 Dell Technologies 以外的網站。

解析度

工程部門已為所有驅動程式類型 v2.9.1 提供 Dell 容器儲存介面驅動程式的修補程式,其中的領導者選舉已停用。

Article Properties
Article Number: 000221763
Article Type: Solution
Last Modified: 30 Jun 2026
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.