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

Add retry to reading /proc/mounts #234

Merged
merged 4 commits into from
Jul 30, 2024
Merged

Conversation

unexge
Copy link
Contributor

@unexge unexge commented Jul 29, 2024

Until we find the root cause of why reading /proc/mounts on newly spawned Karpenter/GPU nodes fails, we're adding retry mechanism to reading /proc/mounts as people reported that reading /proc/mounts works after retries. See #174

This originally contributed by @Shellmode, but since our CI is not properly set up yet, the original PR didn't triggered the CI. This PR is from a branch, and it should properly trigger the CI.


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

dannycjones
dannycjones previously approved these changes Jul 29, 2024
Copy link
Contributor

@dannycjones dannycjones left a comment

Choose a reason for hiding this comment

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

lgtm!

pkg/driver/mount.go Outdated Show resolved Hide resolved
Co-authored-by: Daniel Carl Jones <danny@danielcarl.info>
dannycjones
dannycjones previously approved these changes Jul 29, 2024
vladem
vladem previously approved these changes Jul 30, 2024
@unexge unexge dismissed stale reviews from vladem and dannycjones via 6ea21a9 July 30, 2024 09:16
@unexge unexge merged commit fa79056 into main Jul 30, 2024
9 checks passed
@unexge unexge deleted the feature/retry-reading-proc-mount branch July 30, 2024 12:07
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.

4 participants