-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data mover doesn't work if label-selector applied at restore #7535
Milestone
Comments
Another user reported a similar issue on 1.12.x on #6709 |
Looks like we need to further take care of MustHave resources during include-exclude during restore, will fix it. |
Still got the same issue with the latest dev build on the main branch Here is the workload:
And the debug bundle: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps did you take and what happened:
I tried to use -l on my restore to only restore a few labeled resources but it doesn't work.
Restore logs show time="2024-03-15T19:16:51Z" level=error msg="Namespace , resource restore error: error preparing persistentvolumeclaims//data--registry-0: rpc error: code = Unknown desc = fail get DataUploadResult for restore: rx43: no DataUpload result cm found with labels velero.io/pvc-namespace-name=.data--registry-0,velero.io/restore-uid=3d270f78-e106-4431-8aa2-2d7b6bc8c418,velero.io/resource-usage=DataUpload" logSource="pkg/controller/restore_controller.go:580" restore=velero/rx43
I re-ran without the -l component=registry on the restore and it works fine.
What did you expect to happen:
For it to work fine with the label-selector too.
The following information will help us better understand what's going on:
Environment:
velero version
): 1.13.0 on both client and servervelero client config get features
): EnableCSIkubectl version
): Client: 1.29.0, Server 1.26.12/etc/os-release
): N/Aimage: velero/velero-plugin-for-microsoft-azure:v1.9.0
image: velero/velero-plugin-for-csi:v0.7.0
image: docker.io/velero/velero:v1.13.0
Note there are a LOT of backups (roughly 10k) and this is on Azure w/ Workload Identity.
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.
The text was updated successfully, but these errors were encountered: