-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Getting Warning message "No volume ID returned by volume snapshotter for persistent volume" #7422
Comments
Can you also paste the yaml spec corresponding to the storageclass ( |
|
Seems you have an incorrect indent for Remove the indent to enable the CSI feature and try it again:
|
I apologize for my delayed response. Thank you for your reply. I've corrected the mistake, but there seems to be no change; I'm still receiving "No Volume ID" after creating the backup. |
Please run the |
I made some changes in my code and got the next situation. When the configuration is looking in this way
I can see the features: EnableCSI in the arguments for my deployment. Only in this way it is working.
But after creating backup, it is failing with timeout Also here is the bundle file |
This is the correct format: https://github.com/vmware-tanzu/helm-charts/blob/main/charts/velero/values.yaml#L440 For the timeout error, refer to #7427 (comment) for further investigation. |
I've reviewed your comment. In my scenario, the volume snapshot is being created successfully after running the backup, but it is not creating the volumesnapshotcontent. Despite attempting the solution of adding the CSI snapshot timeout, it hasn't resolved the problem for me. |
If the If the status of |
I have been facing the same issue. I want to take the volumsnapshot on vpshere storage. let me share what process I followed. I enabled "volumesnapshots" CSI by deploying the resources in kube-system namespace for kubernetes. Then I deployed velero v1.10.2 in velero namespace by following the velero-k8s matrix. and
|
In my case the problem was that i wasn't properly indenting
|
What steps did you take and what happened:
I want to create backups for my PVC using CSI driver as provided in documentation.
https://velero.io/docs/v1.13/csi/
I am installing Velero with this configuration and with 2 init container with images velero/velero-plugin-for-aws:v1.9.0 and velero/velero-plugin-for-csi:v0.7.0
Here is how I am creating my PVC
After that by following documentation I am creating an VolumeSnapshotClass using driver csi.trident.netapp.io
After that trying to create an backup with this configuration
The Backup is completing but I am getting this
Cluster: resource: /persistentvolumes name: /pvc-337f3234-a829-49ff-b220-20296ad8d64f message: /No volume ID returned by volume snapshotter for persistent volume
What did you expect to happen:
I understand that by approaching it this way, I am backing up the entire namespace rather than just the PVC or PV. However, my initial priority is to address this issue before moving forward with the backup process.
The following information will help us better understand what's going on:
If you are using velero v1.7.0+:
Please use
velero debug --backup <backupname> --restore <restorename>
to generate the support bundle, and attach to this issue, more options please refer tovelero debug --help
bundle-2024-02-13-16-27-33.tar.gz
The text was updated successfully, but these errors were encountered: