[BUG]: Error handling not good in node.go:nodeProbe() and other similar functions #1237
Labels
area/csi-powerflex
Issue pertains to the CSI Driver for Dell EMC PowerFlex
needs-triage
Issue requires triage.
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
In nodeProbe the call to goscaleio.DrvCfgQueryGUID() can fail for a number of reasons. The error check does not log the actual error and not all code paths in DrvCfgQueryGUID() log errors for serviceability. We have had a number of issue that have proven to be tedious to troubleshoot without seeing the errors from the lower layers. Improvements are needed to make the code more serviceable.
Logs
error: time="2024-04-16T17:13:52Z" level=fatal msg="grpc failed" error="rpc error: code = FailedPrecondition desc = unable to get SDC GUID via config or automatically"
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Reach out to me. Will update this once I get more info.
Expected Behavior
Show the actual error so that the issue can be better understood.
CSM Driver(s)
csi-powerflex 2.10. The problem exists in main.
Installation Type
Helm, not really sure. Contact me for details.
Container Storage Modules Enabled
No response
Container Orchestrator
minikube
Operating System
Linux
The text was updated successfully, but these errors were encountered: