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
DeleteSnapshot RPC is sent to CSI driver when clone was in progress. #905
Comments
@xing-yang any thoughts? |
I think the cross namespace feature was not there when this was implemented. It makes sense to fix it. |
I want to work for it and need some guide. It's need the here is the simple code:
/assign |
@xing-yang i missed the ping, sorry for that, as @liangyuanpeng has already shown interest , please go ahead :) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@xing-yang are you okay with introducing a new flag or any other alternative do you suggest? |
/reopen |
@Madhu-1: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten |
/assign |
What happened:
DeleteSnapshot RPC is sent to the CSI driver when the clone is in progress.
Note: The clone was created in a different namespace using https://kubernetes.io/blog/2023/01/02/cross-namespace-data-sources-alpha/#create-a-persistentvolumeclaim-by-using-cross-namespace-data-source and i think
external-snapshotter/pkg/common-controller/snapshot_controller.go
Line 866 in 0654851
What you expected to happen:
Dont send the DeleteSnapshot RPC clone when clone was in progress.
How to reproduce it:
Follow the steps in https://kubernetes.io/blog/2023/01/02/cross-namespace-data-sources-alpha/#create-a-persistentvolumeclaim-by-using-cross-namespace-data-source and ensure to delete the volume snapshot when the clone was in progress.
Anything else we need to know?:
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: