What steps did you take and what happened:
Was using installation steps to deploy the Velero. Created Azure Storage resources and its permission followed workload identity method to create resource. It gave following error
time="2024-05-24T12:21:37Z" level=error msg="Error getting backup store for this location" backupLocation=velero/velero controller=backup-sync error="rpc error: code = Unknown desc = storageAccount is required in BSL" error.file="/go/pkg/mod/github.com/vmware-tanzu/velero@v1.13.0/pkg/util/azure/storage.go:70" error.function=github.com/vmware-tanzu/velero/pkg/util/azure.NewStorageClient logSource="pkg/controller/backup_sync_controller.go:101"
time="2024-05-24T12:21:42Z" level=error msg="Error getting a backup store" backup-storage-location=velero/velero controller=backup-storage-location error="rpc error: code = Unknown desc = storageAccount is required in BSL" error.file="/go/pkg/mod/github.com/vmware-tanzu/velero@v1.13.0/pkg/util/azure/storage.go:70" error.function=github.com/vmware-tanzu/velero/pkg/util/azure.NewStorageClient logSource="pkg/controller/backup_storage_location_controller.go:137"
time="2024-05-24T12:21:42Z" level=info msg="BackupStorageLocation is invalid, marking as unavailable" backup-storage-location=velero/velero controller=backup-storage-location logSource="pkg/controller/backup_storage_location_controller.go:120"
time="2024-05-24T12:21:42Z" level=error msg="Current BackupStorageLocations available/unavailable/unknown: 0/1/0, BackupStorageLocation \"velero\" is unavailable: rpc error: code = Unknown desc = storageAccount is required in BSL)" controller=backup-storage-location logSource="pkg/controller/backup_storage_location_controller.go:178"
time="2024-05-24T12:21:42Z" level=warning msg="There is no existing BackupStorageLocation set as default. Please see `velero backup-location -h` for options." controller=backup-storage-location logSource="pkg/controller/backup_storage_location_controller.go:187"
time="2024-05-24T12:22:37Z" level=error msg="Error getting backup store for this location" backupLocation=velero/velero controller=backup-sync error="rpc error: code = Unknown desc = storageAccount is required in BSL" error.file="/go/pkg/mod/github.com/vmware-tanzu/velero@v1.13.0/pkg/util/azure/storage.go:70" error.function=github.com/vmware-tanzu/velero/pkg/util/azure.NewStorageClient logSource="pkg/controller/backup_sync_controller.go:101"
What steps did you take and what happened: Was using installation steps to deploy the Velero. Created Azure Storage resources and its permission followed workload identity method to create resource. It gave following error
I created backup resource with following command
velero backup-location create default --provider=azure --bucket=azwexxxvelero --config storageAccount=azwexxxveleroacc,resourceGroup=azweyyy-rg,subscriptionId=id,storageAccountKeyEnvVar=key --default
Post above command it gave following error:
Output of backup location
What did you expect to happen:
Expect the backup location is enabled to create backup of my K8s cluster.
Environment:
helm version (use
helm version
): version.BuildInfo{Version:"v3.13.3"helm chart version and app version (use
helm list -n <YOUR NAMESPACE>
):Kubernetes version (use
kubectl version
):Cloud provider or hardware configuration: Azure