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

Write error log to mount.err if Mountpoint fails to start #347

Merged

Conversation

unexge
Copy link
Contributor

@unexge unexge commented Jan 16, 2025

This is to let PodMounter doing this mount operation know that mount failed immediately instead of waiting for timeout, and also to propagate mount errors to users.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is to let `PodMounter` doing this mount operation know that mount
failed immediately instead of waiting for timeout, and also to
propagate mount errors to users.

Signed-off-by: Burak Varlı <[email protected]>
@unexge unexge requested a review from a team as a code owner January 16, 2025 17:06
muddyfish
muddyfish previously approved these changes Jan 16, 2025
Copy link
Contributor

@muddyfish muddyfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, though it would be nice to have that log line improved. I'm assuming it's intended that the actual usage of this file isn't ready yet?

cmd/aws-s3-csi-mounter/csimounter/csimounter.go Outdated Show resolved Hide resolved
@unexge
Copy link
Contributor Author

unexge commented Jan 16, 2025

I'm assuming it's intended that the actual usage of this file isn't ready yet?

Yes, it's splitted from https://github.com/awslabs/mountpoint-s3-csi-driver/tree/unexge/add-podmounter which adds PodMounter via this commit and uses this functionality 1177d06. Wanted to make this change a seperate PR for ease of review

@unexge unexge added this pull request to the merge queue Jan 17, 2025
Merged via the queue into awslabs:main with commit 4c61043 Jan 17, 2025
22 of 23 checks passed
@unexge unexge deleted the write-mount-err-if-mountpoint-fails-to-start branch January 17, 2025 17:16
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

Successfully merging this pull request may close these issues.

2 participants