trident icon indicating copy to clipboard operation
trident copied to clipboard

Trident logs are being swallowed

Open jldu20 opened this issue 2 months ago • 1 comments

Describe the bug Trident logs for errors related to luks volume passphrases are being swallowed. https://github.com/NetApp/trident/blob/af89a020197732c891aaa7ed6ad29692e2c51d92/frontend/csi/node_server.go#L1402

https://github.com/NetApp/trident/blob/af89a020197732c891aaa7ed6ad29692e2c51d92/frontend/csi/node_server.go#L1867

Environment We first noticed this issue in 23.10.0 but we noticed that they still exist.

To Reproduce Triggering this error. For us, we ran into rate limiting issues which threw this generic error without any other specifics.

Expected behavior A detailed error telling exactly why this error was being thrown. Our final log should have included client rate limiter Wait returned an error: context canceled

Additional context Including the error in the returned error should fix this. We just need logs to be more transparent with why something is throwing an issue to help debugging.

jldu20 avatar Oct 21 '25 20:10 jldu20

Thanks, @jldu20. No argument on this one, and we should scan/fix all such occurrences.

clintonk avatar Oct 23 '25 19:10 clintonk