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

Backup partially fails for postgres-helm (ArgoCD) with Velero - VolumeSnapshot not found #8346

Closed
dfourakis opened this issue Oct 24, 2024 · 3 comments

Comments

@dfourakis
Copy link

Issue Description:
When running a Velero backup for a PostgreSQL Helm deployment via ArgoCD, the backup process results in a PartiallyFailed status. The error indicates that a VolumeSnapshot cannot be found.

Deploy PostgreSQL using Helm via ArgoCD.

Commands:

  • Create bucket:
velero backup create postgres-helm --include-namespaces postgres-helm  --wait --default-volumes-to-fs-backup=false -n velero
  • Describe Backup:
velero backup describe postgres-helm -n velero

The error:

Velero: name: /postgres-postgresql-0 message: /Error backing up item error: /error executing custom action (groupResource=volumesnapshots.snapshot.storage.k8s.io, namespace=postgres-helm, name=velero-data-postgres-postgresql-0-qskk9): rpc error: code = Unknown desc = failed to get volumesnapshot postgres-helm/velero-data-postgres-postgresql-0-qskk9: volumesnapshots.snapshot.storage.k8s.io "velero-data-postgres-postgresql-0-qskk9" not found

About Snapshots:

kubectl get volumesnapshot -A
No resources found
kubectl get volumesnapshotcontents -A
NAME                                               READYTOUSE   RESTORESIZE   DELETIONPOLICY   DRIVER             VOLUMESNAPSHOTCLASS   VOLUMESNAPSHOT                              VOLUMESNAPSHOTNAMESPACE   AGE
snapcontent-0e43a509-d531-4f32-a355-0c807dee03c5   true         1073741824    Retain           csi.scaleway.com   scw-snapshot-retain   velero-data-postgres-postgresql-0-fptb8     postgres-helm             3h21m
snapcontent-10f338f0-61aa-4fd1-b80d-c544849f2fc1   true         1073741824    Retain           csi.scaleway.com   scw-snapshot-retain   velero-data-postgres-postgresql-0-z728v     postgres-helm             3h15m
kubectl get volumesnapshotclass
NAME                  DRIVER             DELETIONPOLICY   AGE
scw-snapshot          csi.scaleway.com   Delete           13d
scw-snapshot-retain   csi.scaleway.com   Retain           13d

Can someone help resolve the error?


Environment:

  • Velero version:
    • Client: v1.15.0-rc.1
    • Server: v1.15.0-rc.1
  • Kubernetes version:
    • v1.30.2
  • PostgreSQL deployment via: Helm (with ArgoCD)

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.

  • 👍 for "I would like to see this bug fixed as soon as possible"
  • 👎 for "There are more important bugs to focus on right now"
@weshayutin
Copy link
Contributor

@shubham-pampattiwar FYI

@kaovilai
Copy link
Member

duplicate of #7905, please follow there

@reasonerjt
Copy link
Contributor

Thanks @kaovilai I'm closing this one as a dup.

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

No branches or pull requests

4 participants