Skip to content

Trident logs are being swallowed #1069

@jldu20

Description

@jldu20

Describe the bug
Trident logs for errors related to luks volume passphrases are being swallowed.

return fmt.Errorf("could not set LUKS volume passphrase")

return fmt.Errorf("could not set LUKS volume passphrase")

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions