Closed RUPESHKUMARPALLAI closed 1 month ago
First, please notice the --restore-resource-priorities
parameter's format is something like --<HighPriorityResource1>,<HighPriorityResource2>-<LowPriorityResource1>,<LowPriorityResource2>
.
https://github.com/vmware-tanzu/velero/blob/53b57f8bdfce0347da367d1bc519acd778a426d3/pkg/restore/priority.go#L47-L87
Second, when using the Velero as velero server
CLI, the plugins and the credentials should be set manually to work.
There is some configuration issue with the priority arg.
What steps did you take and what happened:
I am using velero for backup and restore and these functionalities are working fine and as expected without any error. But due to use case I want to change restore resource order priority. While running the Velero server command for the same. I am getting error post `
ERRO[0012] Error getting a backup store backup-storage-location=velero/default controller=backup-storage-location error="unable to locate ObjectStore plugin named velero.io/gcp" logSource="pkg/controller/backup_storage_location_controller.go:137"
` Which is only arising when I am using velero server command
Commands I have used
and
velero server --backup-sync-period 2m
What did you expect to happen: Velero server command changes restore order without any issue
The following information will help us better understand what's going on:
Anything else you would like to add: Can we change restore order using configmaps?
Environment:
velero version
):kubectl version
): 1.29Additional Debuggings we did:
host resolution is working fine
but we are seeing no /plugin dir
I am using Ephemeral Container to exec as Velero image don't have bin or sh.
kubectl debug -it velero-799d4db584-zqbgs --target=velero --image=jfrog.fkinternal.com/docker-external/ubuntu
our deploy manifest
Pls note the issue only happens when using Velero server command. Regular backup and restores are happening as expected and Bsl posting available other time.