Open yafithl opened 1 year ago
?
Please upload the relevant logs.
Which logs do you need? Velero logs doesn't show an error. The error I have seen was in "kubectl -n velero get uploads -o yaml" (as I attached)
Took another look at the description. Should have used instructions in https://github.com/vmware-tanzu/velero-plugin-for-vsphere/blob/main/docs/vanilla.md instead of https://github.com/vmware-tanzu/velero-plugin-for-vsphere/blob/main/docs/guest.md
I used https://github.com/vmware-tanzu/velero-plugin-for-vsphere/blob/main/docs/vanilla.md instruction. It is just a wrong link that I have attached.
According to ticket #546, I changed to the configuration:
You need "--snapshot-location-config". You don't need "--use-volume-snapshots=true".
velero install --provider aws --bucket dev --secret-file ./minio.credentials --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://x.x.x.x:9000 --plugins velero/velero-plugin-for-aws:v1.4.1 --image velero/velero:v1.8.1 --snapshot-location-config region=”default”
->->
Same error still occurs. upload fails (Object name contains unsupported characters)
Which extra logs do you need in order to investigate it?
Thanks for your assistance (:
Yafit
?
Snapshot is created but it is not uploaded to Minio: Failed to upload snapshot, ivd:32fd3abb-f051-4051-bfcc-fa7d06615593:5e9f42a2-c69b-41b2-a51d-89a42336515e, to durable object storage. XMinioInvalidObjectName: Object name contains unsupported characters
Velero Plugin for vSphere Version: 1.4.0 vSphere Version: 7.0.2 Kubernetes Version: 1.23 vSphere CSI Driver Version: 2.6.1 velero: 1.8.1
Steps to Reproduce: 1.velero install --provider aws --bucket dev --secret-file ./minio.credentials --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://x.x.x.x:9000/ --plugins velero/velero-plugin-for-aws:v1.4.1 --image velero/velero:v1.8.1 --use-volume-snapshots=true --snapshot-location-config region=”default”
2.Later, I installed the Vsphere plugin following the instruction below: https://github.com/vmware-tanzu/velero-plugin-for-vsphere/blob/main/docs/vanilla.md
Results user@stg9-master0:~$ kubectl -n internal get snapshot NAME AGE snap-4f0e0edc-1c74-49de-9a57-a612b1d53cbd 2d3h snap-6702081b-f95b-4a73-a684-eb4a71d4001b 2d5h snap-6a311ed1-1f29-4f06-b75a-d043b55db9d2 21m
kubectl -n velero get uploads -o yaml
kubectl describe -n internal snapshot Phase: UploadFailed