Open majla1 opened 1 year ago
Could i have the velero logs specific to the backup and restore?
Could i have the velero logs specific to the backup and restore?
velero_logs.tar.gz contains backup driver and velero logs from TKG cluster. Please let me know which logs you need. Thank you.
Describe the bug On vSphere with Tanzu in the guest cluster a restore does not set StorageClass for pv,pvc and changes reclaim policy from Delete to Retain. Next attempt for backup/restore of the previously restored volumes returns: Failed to create a CloneFromSnapshot: Failed for PVC because StorageClassName is not set.
To Reproduce Login to target cluster
Create simple workload with pv in namespace nginx-pvc
Get pv,pvc info
Backup the nginx-pvc namespace
List backups
Delete the workload
Check if pv,pvc were deleted
Restore the workload
List restores
The workload was restored but pc,pvc has empty Storage Class
The corresponding pvc on supervisor has the correct Storage Class
Expected behavior Persistent volumes should be restored with Storage Class
Troubleshooting Information
vCenter version: 7.0.3.20395099 velero version
velero client config get features
features: <NOT SET>
Plugins: velero-plugin-for-vsphere:v1.4.0 velero-plugin-for-aws:v1.5.1Kubernetes cluster flavor: vSphere with Tanzu
kubectl version
Screenshots
[If applicable, add screenshots to help explain your problem.]
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue] velero_logs.tar.gz