Open danfengliu opened 2 years ago
dup of #2426 ?
Also noticed that https://github.com/vmware-tanzu/velero/pull/3561/ which reverted a change the commit message says
We are no longer adding the Credentials field to the VSL...
@zubron could you clarify what's the reason for this decision?
@reasonerjt This decision was made during the multiple credentials work for 1.6. It was initially proposed that we would allow the users to specify credentials for both storage location types but after discussion, it seemed to make less sense for the VSLs. For most cloud providers, it's not possible to take snapshots in different accounts so there isn't really a need to support multiple locations with unique credentials. This is different from the BSL case where it's possible to store the serialized contents of a backup in many storage locations.
This is something that will need to be addressed as part of the data movement work as the contents of snapshots may be moved to other storage locations and credentials will be needed to access both the source and the destination.
Adding support for the multiple VSLs credentials was proposed again in #4115.
We have one workaround when doing backup & restore with multiply bsl & vsl is specify bsl and vsl in backup command, which will pass the backup validation.
Here is a command example when backup:
velero --namespace velero create backup restic-kibishii-test --include-namespaces kibishii --storage-location=bsl-additional --volume-snapshot-locations=vsl-additional --default-volumes-to-restic --wait
Describe the problem/challenge you have Backup will fail if with no snapshot location parameters in backup cli, and there a number of snapshot locations from the same provider configured in Velero. According the message from backup, one of snapshot location should be as default, but can not find parameter in velero create snapshot location for this.
Logs:
Describe the solution you'd like
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
velero version
):kubectl version
):/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.