容器儲存模組操作員:「可用」屬性會導致不正確的故障狀態報告
Summary: 容器儲存模組操作員:驅動程式控制器縮減縮放後,「可用」屬性會導致部署中的失敗狀態報告不正確。
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
ContainerStorageModule 物件錯誤報告 狀態:使用 CSM 運算子縮小部署的 CSM 元件時發生錯誤。檢查這個與 kubectl describe 命令為貴組織設定主要和次要 IT 連絡人。
範例:
- 將控制器計數從 2 變更為 1,以縮減現有驅動程式部署:
Kubectl scale deploy/driver-controller -n [namespace] –replicas=1 deployment.apps/driver-controller scaled
- 取得部署的名稱:
kubectl get deployment -n [namespace] NAME READY UP-TO-DATE AVAILABLE AGE driver-controller 1/1 1 1 14m
- 說明部署 (顯示為失敗):
kubectl describe csm -n [namespace] [deployment]
( . . .)
Status:
Controller Status:
Available: 2
Desired: 1
Failed: 0
Node Status:
Available: 2
Desired: 2
Failed: 0
State: Failed
(. . .)
儘管 狀態:失敗 於 kubectl describe 命令輸出,控制器的縮小比例成功。不會影響驅動程式的功能。您可以透過在 Kubernetes 大約一小時後:
kubectl get pods -n [namespace] NAME READY STATUS RESTARTS AGE driver-controller 5/5 Running 0 16m driver-node 2/2 Running 0 16m driver-node 2/2 Running 0 16m kubectl get replicaset -n [namespace] NAME DESIRED CURRENT READY AGE driver-controller 1 1 1 17m kubectl get deployment -n [namespace] NAME READY UP-TO-DATE AVAILABLE AGE driver-controller 1/1 1 1 24m
Cause
根本原因是要求部署狀態時,CSM 操作員代碼中的時間問題。在縮減期間更新「可用」參數之前,代碼會從 ContainerStorageModule 物件要求狀態更新。這會導致「可用」和「需要」之間在短時間內出現差異。此差異會在一小時后自動調節。不會影響驅動程式的功能。
Resolution
因應措施:
無需任何因應措施。「Available」屬性會在大約一小時後正確更新,並正確報告狀態。驅動程式功能在任何時候都不會受到影響。
無需任何因應措施。「Available」屬性會在大約一小時後正確更新,並正確報告狀態。驅動程式功能在任何時候都不會受到影響。
Affected Products
Container Storage ModulesProducts
Container Storage Modules Family, Container Storage ModulesArticle Properties
Article Number: 000211555
Article Type: Solution
Last Modified: 15 محرم 1448
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.