Debugging initialization issues
This section outlines how to debug IBM Storage Scale Container Storage Interface driver initialization issues.
Issue: IBM Storage Scale Container Storage Interface driver pod and sidecar pods do not come online during deployment
# kubectl get pod -n ibm-spectrum-scale-csi-driver
NAME READY STATUS RESTARTS AGE
ibm-spectrum-scale-csi-operator-58c54949ff-rqbzl 1/1 Running 0 98m
How to troubleshoot?
Operator validates the configuration parameters for CSIScaleOperator. If there is any failure in
validation, driver and sidecar pods do not come up. Check the CSIScaleOperator status in the
CSIScaleOperator custom resource as shown in the following example, where you can see the reason for
the
failure.
# kubectl describe CSIScaleOperator ibm-spectrum-scale-csi -n ibm-spectrum-scale-csi-driver
Status:
Conditions:
Last Transition Time: 2023-02-27T10:29:16Z
Message: The Secret guisecret1 is not found. Please make sure to create Secret named guisecret1
Reason: GetFailed
Status: False
Type: Success For example, the previous status indicates that the secret 'guisecret1' used to connect to the GUI server does not exist. In order to fix this issue, make sure that the secret used in the CSIScaleOperator custom resource, exists in the namespace ibm-spectrum-scale-csi-driver. To get more details about the failure check operator logs.