-
Notifications
You must be signed in to change notification settings - Fork 33
Fix LVs being formatted when being mounted. #142
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
Conversation
|
We should add a test case that ensures that these things cannot happen. The test should write data, then unmount and remount to another pod and verify that the data is still present. |
|
We have these sorts of tests in the metal-stack integration suite but the v0.8.0 csi-driver-lvm release did not go into metal-stack v0.22.2, so we did not see it right away. :( |
|
We did see it unfortunately (the very hard way). The fix looks sensible to me and in line with what I would've proposed myself. In the spirit of not having more users burned by 0.8.x, would it make sense to ship this fix as-is and cater for the tests later? |
|
I am sorry to hear this. I was hoping that nobody jumps right onto the pre-release version with critical stuff. :( Unfortunately, @ostempel is still on vacation. @vknabel Do you think we can merge this and make another pre-release with v0.8.0 (alternatively v0.8.1 and withdraw v0.8.0 entirely). Then, add a warning that this release is still being evaluated and we remove the pre-release flag after our integration tests have passed? |
|
We didn't notice it was a pre-release. We installed via helm from the metal-stack repo w/o specifying the version. This seems in line with what helm says:
|
|
I see, thanks for explaining it. It was surely a mistake that the helm-chart was released already (as v0.8.0 was pre-release). Most of our users reference integration-tested metal-stack releases, which then point to the tested versions. Therefore this version has only seen our test environments by now. For this repository in particular, we have to take more care of the release cycle because it's used by so many people who do not know or run metal-stack. So, my apologies for this. We will fix this tomorrow.
|
|
Thanks for the feedback, for taking care of this and for taking this seriously! It's much appreciated. For now, we rolled back to 0.5.2. |
|
I decided to implement a test first because we really have to ensure that this fix works, otherwise it won't help anyone. The test is now in place. |
vknabel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work!
I'd vote for the quick release of v0.8.1 and withdrawing the v0.8.0 release.
We also should add a prominent warning at the top of v0.8.1 that advises the upgrade for adopters of v0.8.0.
Description
Looks like we forgot to set this variable in the way it was done before the refactoring. Closes #140.
References:
lsblkin order to test formatting of LV on mount #132