Container Storage Modules Operator: 'Available' Attribute Causes Incorrect Failure Status Report

Summary: Container Storage Modules Operator: After driver controller down scaling, 'Available' attribute causes incorrect failure status report in deployment.

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

Symptoms

ContainerStorageModule object erroneously reports Status: Failed, when using CSM Operator to downscale deployed CSM components. Check this with the kubectl describe command.

Example:
  1. 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
  1. 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
  1. 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
(. . .)
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:
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

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.

Resolution

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.

Produse afectate

Container Storage Modules

Produse

Container Storage Modules Family, Container Storage Modules
Proprietăți articol
Article Number: 000211555
Article Type: Solution
Ultima modificare: 03 Sep 2025
Version:  5
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.