-
Notifications
You must be signed in to change notification settings - Fork 159
Added a waitforattach verification at the end of ControllerPublishVolume #44
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
Added a waitforattach verification at the end of ControllerPublishVolume #44
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidz627 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
8cfe048
to
cf2f3c4
Compare
/assign @msau42 |
@@ -255,6 +255,7 @@ func TestCreateVolumeArguments(t *testing.T) { | |||
} | |||
|
|||
// Test volume already exists | |||
|
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.
hmmmmm
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.
/lgtm |
Fixes: #43
There is an issue where Attach and the Attach Op can return success/DONE but the volume may not actually be attached to the instance. This PR adds an extra check where we poll the disk object for the instances it is attached to before returning success.
/assign @msau42