-
Notifications
You must be signed in to change notification settings - Fork 110
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
diskpool stuck after force remove, cannot create a new pool with same spec.node #1656
Comments
There's currently no way of removing failed pools gracefully (this is in the roadmap).
Then delete the poolspec
Then delete all ReplicaSpec pertaining to the same pools, example:
Then restart the agent-core. |
works, thank you |
@tiagolobocastro -- I couldn't find this in the milestones (4.2 or 4.3), so perhaps there's another place where the roadmap is defined? We're experiencing failed pools very frequently and using the hack from above. The problem is that our clusters are too large and this process just does not scale. I'd love to follow the issue, and even contribute to it. |
You're correct, it's on the ROADMAP but there's no tracking issue for it yet. |
i follow steps, kubectl get diskpool -n openebs not show the delete diskpool,but kubectl mayastor get pools -n openebs still show the pool and managed is false |
Ah, sorry there's a bug in the plugin, seems it doesn't handle unmanaged pools! if managed is false then you need to delete the unmanaged pool, for example: |
I got a fix for the crash @alan9-1 : openebs/mayastor-control-plane#914 |
Describe the bug
After forced removing diskpool on failed node. Diskpool is present on kubectl mayastor get pools
New pool cannot be created on new node reinitialized with same node name.
To Reproduce
mayastor see old pool with unknown status:
Pool is not provisioned:
if recreated with same poolname:
Expected behavior
there should be the way to remove stuck pools and be able to create a new pools.
Current Behavior
stuck pools and cannot create new pools on node with same name.
Screenshots
If applicable, add screenshots to help explain your problem.
OS info (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: