vmware-tanzu / helm-charts

Contains Helm charts for Kubernetes related open source tools
https://vmware-tanzu.github.io/helm-charts/
Apache License 2.0
246 stars 359 forks source link

Velero backup is failing partially with pod volumes have no associated PVCs errors #607

Open rkunalan opened 1 month ago

rkunalan commented 1 month ago

What steps did you take and what happened: We are trying to update the Velero from v1.13.2 to v1.14.0 and getting some PVC related error while performing the Velero backups. This is working fine on v1.13.2. When I checked some of these pod volumes all of them are using emptyDir volume type. I have a resource filtering config map to skip this volume type. On this version it is not working as expected.

What did you expect to happen: Velero backup should work without errors. Now it is partially failing.

The output of the following commands will help us better understand what's going on:

message: /fail to get PVC for pod iu-system/csi-nfs-controller-597f76cf87-69tjw error: /volume iu-system/socket-dir has no PVC associated with it
             name: /csi-nfs-controller-597f76cf87-69tjw message: /Error backing up item error: /volume iu-system/socket-dir has no PVC associated with it
             message: /fail to get PVC for pod iu-system/csi-nfs-controller-597f76cf87-bx854 error: /volume iu-system/socket-dir has no PVC associated with it
             name: /csi-nfs-controller-597f76cf87-bx854 message: /Error backing up item error: /volume iu-system/socket-dir has no PVC associated with it
             message: /fail to get PVC for pod iu-system/prometheus-prometheus-stack-kube-prom-prometheus-0 error: /volume iu-system/config-out has no PVC associated with it
             message: /fail to get PVC for pod iu-system/prometheus-prometheus-stack-kube-prom-prometheus-0 error: /volume iu-system/prometheus-prometheus-stack-kube-prom-prometheus-db has no PVC associated with it
             name: /prometheus-prometheus-stack-kube-prom-prometheus-0 message: /Error backing up item error: /volume iu-system/config-out has no PVC associated with it
             name: /prometheus-prometheus-stack-kube-prom-prometheus-0 message: /Error backing up item error: /volume iu-system/prometheus-prometheus-stack-kube-prom-prometheus-db has no PVC associated with it
             message: /fail to get PVC for pod iu-system/traefik-67dd5548b7-7knq7 error: /volume iu-system/data has no PVC associated with it
             message: /fail to get PVC for pod iu-system/traefik-67dd5548b7-7knq7 error: /volume iu-system/tmp has no PVC associated with it
             name: /traefik-67dd5548b7-7knq7 message: /Error backing up item error: /volume iu-system/data has no PVC associated with it
             name: /traefik-67dd5548b7-7knq7 message: /Error backing up item error: /volume iu-system/tmp has no PVC associated with it
             message: /fail to get PVC for pod iu-system/traefik-67dd5548b7-hg89v error: /volume iu-system/data has no PVC associated with it
             message: /fail to get PVC for pod iu-system/traefik-67dd5548b7-hg89v error: /volume iu-system/tmp has no PVC associated with it
             name: /traefik-67dd5548b7-hg89v message: /Error backing up item error: /volume iu-system/data has no PVC associated with it
             name: /traefik-67dd5548b7-hg89v message: /Error backing up item error: /volume iu-system/tmp has no PVC associated with it
             message: /fail to get PVC for pod iu-system/traefik-67dd5548b7-khbst error: /volume iu-system/data has no PVC associated with it
             message: /fail to get PVC for pod iu-system/traefik-67dd5548b7-khbst error: /volume iu-system/tmp has no PVC associated with it
             name: /traefik-67dd5548b7-khbst message: /Error backing up item error: /volume iu-system/data has no PVC associated with it
             name: /traefik-67dd5548b7-khbst message: /Error backing up item error: /volume iu-system/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-harbor/harbor-snd-chartmuseum-68d5454d7f-482zz error: /volume ua-vpit--enterprise-systems--ep-harbor/chartmuseum-data has no PVC associated with it
             name: /harbor-snd-chartmuseum-68d5454d7f-482zz message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-harbor/chartmuseum-data has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-harbor/harbor-snd-chartmuseum-68d5454d7f-wndg4 error: /volume ua-vpit--enterprise-systems--ep-harbor/chartmuseum-data has no PVC associated with it
             name: /harbor-snd-chartmuseum-68d5454d7f-wndg4 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-harbor/chartmuseum-data has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-harbor/harbor-snd-core-fc45976c9-82d9f error: /volume ua-vpit--enterprise-systems--ep-harbor/psc has no PVC associated with it
             name: /harbor-snd-core-fc45976c9-82d9f message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-harbor/psc has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-harbor/harbor-snd-core-fc45976c9-mjwvb error: /volume ua-vpit--enterprise-systems--ep-harbor/psc has no PVC associated with it
             name: /harbor-snd-core-fc45976c9-mjwvb message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-harbor/psc has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-harbor/harbor-snd-jobservice-58b97d88b9-58ttd error: /volume ua-vpit--enterprise-systems--ep-harbor/job-logs has no PVC associated with it
             name: /harbor-snd-jobservice-58b97d88b9-58ttd message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-harbor/job-logs has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-harbor/harbor-snd-registry-574bc45897-5xsxb error: /volume ua-vpit--enterprise-systems--ep-harbor/registry-data has no PVC associated with it
             name: /harbor-snd-registry-574bc45897-5xsxb message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-harbor/registry-data has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-vault/vault-snd-0 error: /volume ua-vpit--enterprise-systems--ep-vault/home has no PVC associated with it
             name: /vault-snd-0 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-vault/home has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-vault/vault-snd-1 error: /volume ua-vpit--enterprise-systems--ep-vault/home has no PVC associated with it
             name: /vault-snd-1 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-vault/home has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-vault/vault-snd-2 error: /volume ua-vpit--enterprise-systems--ep-vault/home has no PVC associated with it
             name: /vault-snd-2 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-vault/home has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-vault/vault-snd-snapshotter-28694490-zrp7j error: /volume ua-vpit--enterprise-systems--ep-vault/share has no PVC associated with it
             name: /vault-snd-snapshotter-28694490-zrp7j message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-vault/share has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-vault/vault-snd-snapshotter-28694550-fclrl error: /volume ua-vpit--enterprise-systems--ep-vault/share has no PVC associated with it
             name: /vault-snd-snapshotter-28694550-fclrl message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-vault/share has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep-vault/vault-snd-snapshotter-28694610-thzj6 error: /volume ua-vpit--enterprise-systems--ep-vault/share has no PVC associated with it
             name: /vault-snd-snapshotter-28694610-thzj6 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep-vault/share has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/argo-workflows-snd-server-6dc44dbbf5-7lrl5 error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /argo-workflows-snd-server-6dc44dbbf5-7lrl5 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/argo-workflows-snd-server-6dc44dbbf5-jtv7d error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /argo-workflows-snd-server-6dc44dbbf5-jtv7d message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/gha-resources-provision-amqp-application-create-sensor-46m5xbmf error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /gha-resources-provision-amqp-application-create-sensor-46m5xbmf message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/gha-resources-provision-amqp-application-update-sensor-hdxrhtcn error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /gha-resources-provision-amqp-application-update-sensor-hdxrhtcn message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/gha-resources-provision-amqp-environment-create-sensor-slscvxr2 error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /gha-resources-provision-amqp-environment-create-sensor-slscvxr2 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/gha-resources-provision-amqp-environment-update-sensor-x6drwzzv error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /gha-resources-provision-amqp-environment-update-sensor-x6drwzzv message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/github-form-create-git-repo-sensor-2wmwb-5cc5b4cf8d-d5hz7 error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /github-form-create-git-repo-sensor-2wmwb-5cc5b4cf8d-d5hz7 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-github-form-eventsource-jw2q4-5bcb4fbfb9-5svsm error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-github-form-eventsource-jw2q4-5bcb4fbfb9-5svsm message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-provisioner-sensor-zbndh-675fbbffd4-24mzq error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-provisioner-sensor-zbndh-675fbbffd4-24mzq message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-provisioner-sensor-zbndh-675fbbffd4-mndmj error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-provisioner-sensor-zbndh-675fbbffd4-mndmj message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-provisioner-snd-iu-jee-resources-eventsource-7tjdvc5c error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-provisioner-snd-iu-jee-resources-eventsource-7tjdvc5c message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-provisioner-snd-lps-dev-eventsource-dkj8m-78965f7r4wm error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-provisioner-snd-lps-dev-eventsource-dkj8m-78965f7r4wm message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-provisioner-snd-resources-eventsource-wn5k4-6f6f94mcm error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-provisioner-snd-resources-eventsource-wn5k4-6f6f94mcm message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-resources-provisioner-iu-jee-resources-sensor-x72zwgr error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-resources-provisioner-iu-jee-resources-sensor-x72zwgr message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-resources-provisioner-iu-jee-resources-sensor-x7l9w4f error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-resources-provisioner-iu-jee-resources-sensor-x7l9w4f message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-resources-provisioner-resources-sensor-stxl9-787hvv72 error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-resources-provisioner-resources-sensor-stxl9-787hvv72 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-resources-provisioner-resources-sensor-stxl9-787qxffr error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-resources-provisioner-resources-sensor-stxl9-787qxffr message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-terraform-gha-python-snd-application-create-even8dzdp error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-terraform-gha-python-snd-application-create-even8dzdp message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-terraform-gha-python-snd-application-update-evensjftn error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-terraform-gha-python-snd-application-update-evensjftn message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-terraform-gha-python-snd-environment-create-even5qgs8 error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-terraform-gha-python-snd-environment-create-even5qgs8 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/launchpad-terraform-gha-python-snd-environment-update-even5dlph error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /launchpad-terraform-gha-python-snd-environment-update-even5dlph message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/opw-automation-snd-eventsource-rqxc5-596cbfc4dd-l5djl error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /opw-automation-snd-eventsource-rqxc5-596cbfc4dd-l5djl message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ep/opw-automation-snd-sensor-bzrns-6df47d56cc-c5fmb error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             name: /opw-automation-snd-sensor-bzrns-6df47d56cc-c5fmb message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ep/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/a-simple-webhook-eventsource-c9hkc-585c87447b-grt9z error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             name: /a-simple-webhook-eventsource-c9hkc-585c87447b-grt9z message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/a-simple-webhook-sensor-8r479-868ccbf4d8-w4fc6 error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             name: /a-simple-webhook-sensor-8r479-868ccbf4d8-w4fc6 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/ep-support-create-jira-webhook-sensor-l95sr-75c6559d56-pv8rg error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             name: /ep-support-create-jira-webhook-sensor-l95sr-75c6559d56-pv8rg message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/ep-support-snd-eventsource-ddnwf-75b577957f-lr27j error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             name: /ep-support-snd-eventsource-ddnwf-75b577957f-lr27j message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo-redis-ha-haproxy-54b85c4fdb-5fshz error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo-redis-ha-haproxy-54b85c4fdb-5fshz error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             name: /kube-demo-redis-ha-haproxy-54b85c4fdb-5fshz message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             name: /kube-demo-redis-ha-haproxy-54b85c4fdb-5fshz message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo-redis-ha-haproxy-54b85c4fdb-xpnts error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo-redis-ha-haproxy-54b85c4fdb-xpnts error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             name: /kube-demo-redis-ha-haproxy-54b85c4fdb-xpnts message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             name: /kube-demo-redis-ha-haproxy-54b85c4fdb-xpnts message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo2-redis-ha-haproxy-5977df985b-2fqd4 error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo2-redis-ha-haproxy-5977df985b-2fqd4 error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             name: /kube-demo2-redis-ha-haproxy-5977df985b-2fqd4 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             name: /kube-demo2-redis-ha-haproxy-5977df985b-2fqd4 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo2-redis-ha-haproxy-5977df985b-k5sv9 error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/kube-demo2-redis-ha-haproxy-5977df985b-k5sv9 error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             name: /kube-demo2-redis-ha-haproxy-5977df985b-k5sv9 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/shared-socket has no PVC associated with it
             name: /kube-demo2-redis-ha-haproxy-5977df985b-k5sv9 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/data has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/rabbitmq-demo-rabbitmq-0 error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             name: /rabbitmq-demo-rabbitmq-0 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/rabbitmq-demo-rabbitmq-1 error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             name: /rabbitmq-demo-rabbitmq-1 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/rabbitmq-demo-rabbitmq-2 error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             name: /rabbitmq-demo-rabbitmq-2 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/sppkssnd-rabbitmq-0 error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             name: /sppkssnd-rabbitmq-0 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/sppkssnd-rabbitmq-1 error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             name: /sppkssnd-rabbitmq-1 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--esimw/sppkssnd-rabbitmq-2 error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             name: /sppkssnd-rabbitmq-2 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--esimw/empty-dir has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ewa-internal/jalan-webhook-eventsource-eventsource-89nph-6bfb6fc9d6-p7ftp error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             name: /jalan-webhook-eventsource-eventsource-89nph-6bfb6fc9d6-p7ftp message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ewa-internal/jalan-webhook-sensor-sensor-zv5bh-65cbc95686-d89z8 error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             name: /jalan-webhook-sensor-sensor-zv5bh-65cbc95686-d89z8 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ewa-internal/mj-webhook-eventsource-67pws-6758b7cbf9-gwbgb error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             name: /mj-webhook-eventsource-67pws-6758b7cbf9-gwbgb message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ewa-internal/sbtest-webhook-eventsource-qrgst-69c6d5d89d-dsjv6 error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             name: /sbtest-webhook-eventsource-qrgst-69c6d5d89d-dsjv6 message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ewa-internal/sbtest-webhook-sensor-sensor-kpjzz-65db978cbf-zkp2j error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             name: /sbtest-webhook-sensor-sensor-kpjzz-65db978cbf-zkp2j message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ewa-internal/webhook-boaz-2-eventsource-kxdkn-5944bc7bf8-x7wnc error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             name: /webhook-boaz-2-eventsource-kxdkn-5944bc7bf8-x7wnc message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--ewa-internal/webhook-sensor-dk22n-7ff8b65b75-s425p error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             name: /webhook-sensor-dk22n-7ff8b65b75-s425p message: /Error backing up item error: /volume ua-vpit--enterprise-systems--ewa-internal/tmp has no PVC associated with it
             message: /fail to get PVC for pod ua-vpit--enterprise-systems--sis/ess-batch-run-liquibase-nvmdm error: /volume ua-vpit--enterprise-systems--sis/changelog-files has no PVC associated with it
             name: /ess-batch-run-liquibase-nvmdm message: /Error backing up item error: /volume ua-vpit--enterprise-systems--sis/changelog-files has no PVC associated with it
             name: /data-helm-rabbitmq-0 message: /Error backing up item error: /PVC has no volume backing this claim

Anything else you would like to add: Our resource filtering config map is below.

version: v1
volumePolicies:
- conditions:
    nfs: {}
  action:
    type: skip
- conditions:
    volumeTypes:
      - emptyDir
  action:
    type: skip

Environment:

papanito commented 1 week ago

I see the same issue. Backup works fine without a resource-policies though.. My config

chedules:
  cluster-backup:
    disabled: false
    schedule: ${cluster_backup.schedule}
    skipImmediately: false
    template:
      csiSnapshotTimeout: ${cluster_backup.csi_snapshot_timeout}
      hooks: {}
      includedNamespaces:
        - "*"
      itemOperationTimeout: ${cluster_backup.item_operation_timeout}
      ttl: ${cluster_backup.ttl}
      resourcePolicy:
        apiGroup: null
        kind: configmap
        name: velero-resource-policies    
    useOwnerReferencesInBackup: false

configMaps:
  resource-policies:
    labels:
      velero.io/plugin-config: ""
    data: 
      exclude-storage-policy.yaml: |
        version: v1
        volumePolicies:
        - conditions:
            csi: {}
          action:
            type: snapshot
        - conditions:
            storageClass:
              - smb-csi 
          action:
            type: skip
        - conditions:
            nfs: {}
          action:
            type: skip
        - conditions:
            volumeTypes:
              - emptyDir
              - downwardAPI
              - configmap
              - cinder
          action:
            type: skip

Version:

╰─ velero version                                                                                                                                         ─╯
Client:
        Version: v1.14.0
        Git commit: 2fc6300f2239f250b40b0488c35feae59520f2d3
Server:
        Version: v1.14.0

After updating to v1.14.1 this seems to work fine. Seems relates to https://github.com/vmware-tanzu/velero/issues/7929