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
Stale BDC gets created if PVC is deleted before it is bound to PV. #2989
Comments
Issues go stale after 90d of inactivity. |
bug fixed? |
Not yet, but I think I know how to get this fixed now. Looking for some help with contributions. |
Hi @kmova, Is this open? I would like to give it a try. |
Thanks @supra08. Yes this is still open. You can join our contributor channel on Kubernetes slack #openebs-dev and we can help you out with more details. |
Sure! thanks |
well, I removed the finalizer and bdc is gone now but bd is still on claimed status |
@maxisam - Is that BD associated with the BDC that was just deleted. If yes, as a workaround, you could delete the BD itself and restart the NDM pod on that node and the BD will be recreated. Also, can you describe what steps were performed to get into this state. |
The whole thing was from a misunderstanding. I thought one bd can serve more than 1 bdc. so I created multiple pods asking for storages. And that is how things started. I realized most pc and pvc can't bind properly. I decided to remove them. And that parts works. Both bind and unbind are removed. I removed the deployment as well. and then the bdc is still there. one of them is bound with bd. Removed the finalizer of bdc. and all of them were gone, but bd were still there, one of them is claimed. Finally, I just removed bd, and most of them are gone now. but the one was claimed is still there. And removed the finalizer and the last bd is gone. |
As part of this fix, the following case also needs to be solved:
|
Issues go stale after 90d of inactivity. |
Hi, @kmova is this still open? I would like to work on this issue. |
Alternatively, please also consider this solution:
|
Proposal (as discussed with @kmova):
|
Issues go stale after 90d of inactivity. Please comment or re-open the issue if you are still interested in getting this issue fixed. |
Local PV (device) provisioner leaves a stale BDC in the following case:
This causes the stale BDC to exist in the system, and NDM keeps on trying to process it.
To recover from this the BDC needs to be manually edited and then deleted.
The text was updated successfully, but these errors were encountered: