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

Fixes csi-driver stuck in Terminate after restart #1252

Merged
merged 6 commits into from
Oct 18, 2022

Conversation

0sewa0
Copy link
Contributor

@0sewa0 0sewa0 commented Oct 18, 2022

Description

The CSI-driver can get stuck if it mounted volumes recently and then got restarted.

This happens due to some unexpected behaviour when using the same volume for 2 volumeMounts in a container while having mountPropagation on both volumeMounts.

Also fixes a misleading error that happens on restart.

How can this be tested?

Deploy a Dynakube that uses the CSI-driver, deploy sample apps.
After they are done deploying, restart the CSI-driver, it should restart without problem.

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly
  • I have read and understood the contribution guidelines

@0sewa0 0sewa0 added the bug Something isn't working label Oct 18, 2022
@0sewa0 0sewa0 requested a review from a team as a code owner October 18, 2022 07:48
@0sewa0 0sewa0 enabled auto-merge (squash) October 18, 2022 10:34
@0sewa0 0sewa0 merged commit 634ff1c into release-0.9 Oct 18, 2022
@0sewa0 0sewa0 deleted the fix/csi-driver-terminate branch October 18, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants