-
Notifications
You must be signed in to change notification settings - Fork 807
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
Race condition in CreateVolume #165
Comments
The new |
And we have an |
We should address this bug in q2 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
…-and-size Bug 1810470: Verify pending volume modifications and size both
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
@bertinatto What is the expected behavior if the name is same but other params like VolumeCapabilities is different? |
This issue is mitigated for now by using the |
@AndyXiangLi FYI. Can you follow-up internally for the API change? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
/kind bug
What happened?
When the CO calls
CreateVolume
(through the sidecar container), it passes in a volume name. If a second call to create the volume is issued, we return the same volume created in the first request.Since there's no way to specify the volume name through the EC2 API, we currently set the volume name as a tag. However, this workaround has its own problems.
Imagine this situation:
CreateVolume
is called so a volume namedvolume1
is created.CreateVolumeWithContext
is called and it takes about 15 seconds to effectively create the volume.CreateVolume
is called again, but the call above is not done yet.During attach, for instance, the driver will notice that there's more than one volume with the same name, so it'll return an error. However, this is just a workaround and a proper solution should ideally be implemented on the EC2 side.
This could be achieved by having a
Name
filed inec2.CreateVolumeInput
.How to reproduce it (as minimally and precisely as possible)?
The easiest way is to:
The text was updated successfully, but these errors were encountered: