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

Unable to detach existing and attached volume #610

Closed
vladimirvivien opened this issue Oct 28, 2016 · 4 comments
Closed

Unable to detach existing and attached volume #610

vladimirvivien opened this issue Oct 28, 2016 · 4 comments

Comments

@vladimirvivien
Copy link
Contributor

This may be a bug in the libstorage client code.

I was unable to detach an existing volume that was attached using the virtualbox driver. In the end, I used direct curl command to detach the volume. See this gist page for detail https://gist.github.com/vladimirvivien/3569c26754647eb977388f24a8bd7350.

@akutz
Copy link
Member

akutz commented Oct 29, 2016

I'm fairly certain this is related to #609 and its solution will be this issue's as well.

@vladimirvivien
Copy link
Contributor Author

@akutz as an update, that volume (which I could not remove) was created with an earlier version of rexray. So not sure if that is relevant. Though I was able to remove it with a direct curl call.

@akutz
Copy link
Member

akutz commented Oct 30, 2016

@vladimirvivien The issue you're seeing is #609, not the version of RR that created the volume. But thanks for the info. More diag is almost never a bad thing.

akutz added a commit to akutz/rexray that referenced this issue Oct 31, 2016
This patch updates REX-Ray to request a volume's attachments if a CLI
command is executed that depends upon a volume's status to determine its
candidacy for said operation. For example, only "available" volumes
(those not attached to another host) can be attached to a host. Only
volumes that are "attached" can be detached.

This patch handles issue 610
(rexray#610) and part of issue 609
(rexray#609).
@akutz
Copy link
Member

akutz commented Nov 30, 2016

Closed with #635.

@akutz akutz closed this as completed Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants