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

[gcp-local-ssd-raid] fix init script crash on subsequent restarts #318

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

VladStarr
Copy link
Contributor

When STARTUP_SCRIPT has successfully finished for the first time, it will crash with an error on all subsequent pod restarts.
This PR is attempt to fix this behavior.

  • fixing check when raid device is already present
  • adding check when raid device is already mounted at $mnt_dir

@VladStarr VladStarr requested a review from voron August 29, 2024 08:10
Copy link
Contributor

@voron voron left a comment

Choose a reason for hiding this comment

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

LGTM

@voron voron merged commit a5c1858 into main Aug 29, 2024
2 checks passed
@VladStarr VladStarr deleted the gcp-local-ssd-raid-fix-restart branch September 20, 2024 07:29
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