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

CSI can't deregister volume #8285

Closed
anthonymq opened this issue Jun 25, 2020 · 7 comments
Closed

CSI can't deregister volume #8285

anthonymq opened this issue Jun 25, 2020 · 7 comments

Comments

@anthonymq
Copy link

I'm having troubles with an amazon efs volume that i deleted before stopping my nomad job who was using it. I can't stop allocations and can't deregister the volume.
image
Now I have two allocations that i can't deregister because the clients have been deleted and a volume that has been deleted on aws.

@anthonymq
Copy link
Author

anthonymq commented Jun 25, 2020

On another cluster, allocations can't be interrupted. This time the volume is still alive on aws.
Capture d’écran 2020-06-25 à 18 19 02
Capture d’écran 2020-06-25 à 18 20 37
I should only have the first and the last allocations.
The two allocation on version 15 have been stopped on their clients. But the nomad has not refreshed is state.

@tgross
Copy link
Member

tgross commented Jun 26, 2020

Hi @anthonymq sorry about this! The first problem is the sort of thing I'm going to give you some tools to solve with #8251 and #8252.

On another cluster, allocations can't be interrupted
The two allocation on version 15 have been stopped on their clients. But the nomad has not refreshed is state.

I can't think of a way that could be related to volumes, but stranger things have happened. I'll see if I can come up with a reproduction. Can you confirm that the command line shows this as well, and that it's not a web UI issue?

@anthonymq
Copy link
Author

hi @tgross ,
Yes the cli responds the same thing. The volume is attached to multiple expired allocations.

@tgross tgross assigned tgross and unassigned tgross Jul 21, 2020
@tgross
Copy link
Member

tgross commented Jul 24, 2020

Hey @anthonymq we shipped a nomad volume deregister -force in 0.12.0 which might help you out here. In the meantime, we're getting ramped up to wrap up these remaining CSI issues over the next couple weeks so hopefully we should have some progress for you.

@tgross
Copy link
Member

tgross commented Aug 7, 2020

Wanted to give a quick status update. I've landed a handful of PRs that will be released as part of the upcoming 0.12.2 release:

I believe these fixes combined should get us into pretty good shape, and #8584 will give you an escape hatch to manually detach the volume via nomad volume detach once that's merged.

@tgross
Copy link
Member

tgross commented Aug 10, 2020

For sake of our planning, I'm going to close this issue. We'll continue to track progress of this set of problems in #8100.

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants