CSI Driver for PowerFlex node pods stuck in CrashLoopBackoff
Summary: Container Storage Interface (CSI) Driver for PowerFlex pods stuck in CrashLoopBackoff with error "could not find given NAS server by name"
Symptoms
The node pods showed in CrashLoopBackOff:
vxflexos-node-xxxxx 1/2 CrashLoopBackOff 48 (4m44s ago) 3h47m
The registrar logs showed the following errors:
I0212 19:23:51.989914 1 main.go:108] "Received NotifyRegistrationStatus call" status="&RegistrationStatus{PluginRegistered:false,Error:RegisterPlugin error -- plugin registration failed with err: rpc error: code = Unknown desc = could not find given NAS server by name,}"E0212 19:23:51.989935 1 main.go:110] "Registration process failed with error, restarting registration container" err="RegisterPlugin error -- plugin registration failed with err: rpc error: code = Unknown desc = could not find given NAS server by name"
The secret showed the following entry:
nasName: none
Cause
The secret was incorrectly passing in a nasName of none that did not exist on the array.
Resolution
Resolution
The user changed the secret using the documentation to either remove the nasName entry or set it to "" as in the following example:
nasName: ""