Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

surface rclone errors in the custom resource for consumption by clients #787

Open
Panaetius opened this issue Dec 9, 2024 · 0 comments
Open

Comments

@Panaetius
Copy link
Member

Currently, if mounting in csi-rclonefails, we get an event for the session, e.g.

MountVolume.SetUp failed for volume "pvc-6c340acc-b778-499c-8c8e-acaf8fcfea7d" : rpc error: code = Internal desc = mounting failed: couldn't create mount: received error from the rclone server: {"error": "read metadata failed: Username or password was incorrect, Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured: Sabre\\DAV\\Exception\\NotAuthenticated: 401 Unauthorized", "path": "mount/mount", "input": "<redacted>", "status": 0}

but this is not surfaced to users in any way.
We should surface these logs (maybe with some additional context, like which storage failed to mount) so they can be shown to users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant