Skip to content
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

velero restore FailedAttachVolume Volume with id not found #4

Open
rchekhina opened this issue Feb 9, 2024 · 3 comments
Open

velero restore FailedAttachVolume Volume with id not found #4

rchekhina opened this issue Feb 9, 2024 · 3 comments

Comments

@rchekhina
Copy link

HI,

I have done a velero (v1.13.0) backup with velero-plugin-linode without problem it create a volume snapshot on linode volumes but when I try to restore the backup I have always the error FailedAttachVolume Volume with id not found:

Warning FailedAttachVolume 118s (x9 over 4m10s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-a0f3c1b80aa24866" : rpc error: code = NotFound desc = Volume with id 3793277106 not found

can you help me please ?

@displague
Copy link
Collaborator

displague commented Feb 11, 2024

This may be an LKE limitation. If the cluster you are restoring to is not the same as the original, or if the credential used by Velero is not the same one used by the CSI driver, this could be related to: https://www.linode.com/community/questions/20185/mounting-an-existing-volume-to-lke#answer-84410

Also, see #6

@mzimry
Copy link

mzimry commented Feb 20, 2024

@displague i'm getting the same error when trying to restore a volume on the same cluster. (also, i used the same linode api token from the csi driver in the plugin) .
also, the error shows a volume id number that i don't see exists at all. (and it has more characters then a volume's IDs )

GRPC error: rpc error: code = NotFound desc = Volume with id 2572904422 not found

linode-cli volumes list
2641613 │ us-iad │ restore-2641535-5c90c270-a4e0-44 │ active │ 20  

this is the volume i expect to get in the restore.
not the same ID..

in addition, the PV and PVC names are the same as they were before deleting and restoring .

@displague
Copy link
Collaborator

displague commented Feb 22, 2024

The pod logs should indicate where these IDs are coming from. Add to the deployment: args --log-level debug and env LINODE_DEBUG 1 (enabled by default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants