-
Notifications
You must be signed in to change notification settings - Fork 118
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
During volume create, SDK should not return existing volume not in up state #1180
Comments
Are these some of the scenarios? Scenario 1:
Scenario 2:
|
Yes, we have seen this scenario too in a different torpedo test.
Slightly changing this scenario to match the original issue more precisely.
|
lpabon
added a commit
to lpabon/openstorage
that referenced
this issue
Aug 19, 2019
With this fix, any call creating a volume and noticing it already exists now checks to make sure that the volume is UP and ready before returning. Closes libopenstorage#1180 Signed-off-by: Luis Pabón <[email protected]>
lpabon
added a commit
to lpabon/openstorage
that referenced
this issue
Aug 27, 2019
With this fix, any call creating a volume and noticing it already exists now checks to make sure that the volume is UP and ready before returning. Closes libopenstorage#1180 Signed-off-by: Luis Pabón <[email protected]>
lpabon
added a commit
to lpabon/openstorage
that referenced
this issue
Aug 30, 2019
With this fix, any call creating a volume and noticing it already exists now checks to make sure that the volume is UP and ready before returning. Closes libopenstorage#1180 Signed-off-by: Luis Pabón <[email protected]>
lpabon
added a commit
to lpabon/openstorage
that referenced
this issue
Sep 5, 2019
With this fix, any call creating a volume and noticing it already exists now checks to make sure that the volume is UP and ready before returning. Closes libopenstorage#1180 Signed-off-by: Luis Pabón <[email protected]>
lpabon
added a commit
to lpabon/openstorage
that referenced
this issue
Sep 5, 2019
With this fix, any call creating a volume and noticing it already exists now checks to make sure that the volume is UP and ready before returning. Closes libopenstorage#1180 Signed-off-by: Luis Pabón <[email protected]>
lpabon
added a commit
to lpabon/openstorage
that referenced
this issue
Sep 5, 2019
With this fix, any call creating a volume and noticing it already exists now checks to make sure that the volume is UP and ready before returning. Closes libopenstorage#1180 Signed-off-by: Luis Pabón <[email protected]> Conflicts: api/server/sdk/sdk_test.go api/server/sdk/volume_ops.go api/server/testutils_test.go csi/csi_test.go
lpabon
added a commit
to lpabon/openstorage
that referenced
this issue
Sep 5, 2019
With this fix, any call creating a volume and noticing it already exists now checks to make sure that the volume is UP and ready before returning. Closes libopenstorage#1180 Signed-off-by: Luis Pabón <[email protected]> Conflicts: api/server/sdk/sdk_test.go api/server/sdk/volume_ops.go api/server/testutils_test.go csi/csi_test.go Conflicts: api/server/sdk/volume_ops.go
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BUG REPORT:
SDK returned an existing volume which will still in down state.
What happened:
https://github.com/libopenstorage/openstorage/blob/master/api/server/sdk/volume_ops.go#L45
What you expected to happen:
Return volume only if it is in up state.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
uname -a
):The text was updated successfully, but these errors were encountered: