You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to add this sidecar to my CSI driver, but my pod was stuck in a CrashLoopBackOff state. kubectl logs mydriverpod -c csi-health-monitor was unhelpful:
I traced it down to a missing advertisement of csi.ControllerServiceCapability_RPC_LIST_VOLUME_CONDITION in my ControllerGetCapabilities() gRPC call, but it took me adding a --v=2 argument to the command line of the sidecar.
Best practice when failing fast due to misconfiguration is to be verbose about what was misconfigured, rather than hiding it behind V(2), so that the logs can serve as a useful pointer for how to correct the misconfiguration.
The text was updated successfully, but these errors were encountered:
ebblake
added a commit
to ebblake/external-health-monitor
that referenced
this issue
Jan 16, 2025
If the driver lacks support for usefully running the health monitor,
be verbose by default about why we are exiting. The resulting logs
will be handy in pointing the driver developer what thy might have
done wrong in their CSI implementation, even if they didn't pass in a
non-default --v=2.
Fixes: kubernetes-csi#305
Signed-off-by: Eric Blake <[email protected]>
I was trying to add this sidecar to my CSI driver, but my pod was stuck in a CrashLoopBackOff state.
kubectl logs mydriverpod -c csi-health-monitor
was unhelpful:I traced it down to a missing advertisement of csi.ControllerServiceCapability_RPC_LIST_VOLUME_CONDITION in my ControllerGetCapabilities() gRPC call, but it took me adding a --v=2 argument to the command line of the sidecar.
Best practice when failing fast due to misconfiguration is to be verbose about what was misconfigured, rather than hiding it behind V(2), so that the logs can serve as a useful pointer for how to correct the misconfiguration.
The text was updated successfully, but these errors were encountered: