Container Storage Modules Operator: 'Available' Attribute Causes Incorrect Failure Status Report
Oversigt: Container Storage Modules Operator: After driver controller down scaling, 'Available' attribute causes incorrect failure status report in deployment.
Denne artikel gælder for
Denne artikel gælder ikke for
Denne artikel er ikke knyttet til et bestemt produkt.
Det er ikke alle produktversioner, der er identificeret i denne artikel.
Symptomer
ContainerStorageModule object erroneously reports Status: Failed, when using CSM Operator to downscale deployed CSM components. Check this with the kubectl describe command.
Example:
Despite the Status: Failed in the kubectl describe command output, the down scale of the controller was successful. There is no impact to the functionality of the driver. This is validated by running any of the following commands in Kubernetes after about one hour:
Example:
- Scale down existing driver deployment by changing controller count from 2 to 1:
Kubectl scale deploy/driver-controller -n [namespace] –replicas=1 deployment.apps/driver-controller scaled
- Get the name of the deployment:
kubectl get deployment -n [namespace] NAME READY UP-TO-DATE AVAILABLE AGE driver-controller 1/1 1 1 14m
- Describe the deployment (shows as failed):
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 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
Årsag
The underlying root cause is a timing issue in the CSM Operator code when requesting the status of the deployment. The code requests a status update from the ContainerStorageModule object before the 'Available' parameter is updated during scale down. This causes a discrepancy between 'Available' and 'Desired' for a short period of time. This discrepancy is reconciled automatically after an hour of time. There is no impact on the functionality of the driver.
Løsning
Workaround:
No workaround is necessary. The 'Available' attribute is updated properly after about one hour and reports the status properly. Driver functionality is not affected at any time.
No workaround is necessary. The 'Available' attribute is updated properly after about one hour and reports the status properly. Driver functionality is not affected at any time.
Berørte produkter
Container Storage ModulesProdukter
Container Storage Modules Family, Container Storage ModulesArtikelegenskaber
Artikelnummer: 000211555
Artikeltype: Solution
Senest ændret: 03 sep. 2025
Version: 5
Find svar på dine spørgsmål fra andre Dell-brugere
Supportservices
Kontrollér, om din enhed er dækket af supportservices.