vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.74k stars 1.41k forks source link

Unable to take backup on few clusters #2506

Closed surekhakallam closed 4 years ago

surekhakallam commented 4 years ago

hi... we are able to take backup and restore on few setups but we are unable to do on some other setups..... We use the same OS for all our clusters and we are using vsphere ... Still we are able to take backup and restore them backup on few of our clusters but unable to take on few.. is there anything that will stop or block for taking backup's can you please tell us ... The one error which we found is as follows....

pod volume backup failed: error getting volume path on host: expected one matching path, got 0

velero version Client: Version: v1.3.1 Git commit: 0665b05321eefeb7b7fdd6984750745b7429774f Server: Version: v1.3.1

velero client config get features features:

kubectl version Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.5", GitCommit:"e0fccafd69541e3750d460ba0f9743b90336f24f", GitTreeState:"clean", BuildDate:"2020-04-16T11:35:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

/etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

nrb commented 4 years ago

Hi @surekhakallam!

Based on pod volume backup failed: error getting volume path on host: expected one matching path, got 0, I'm guessing you're using restic. Is that correct?

Can you tell me more about the environments where your backups work and where they don't? Are there any common things you've identified?

Can you provide the output of velero backup logs <backupname> for a backup that failed?

surekhakallam commented 4 years ago

yes i am using restic

the above information is the information of the vm where the backup is not working

the below provided information is from the vm where the backup is working

Client: Version: v1.3.2 Git commit: 55a9914a3e4719fb1578529c45430a8c11c28145 Server: Version: v1.3.2

velero client config get features features:

kubectl version Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.4", GitCommit:"67d2fcf276fcd9cf743ad4be9a9ef5828adc082f", GitTreeState:"clean", BuildDate:"2019-09-18T14:51:13Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.11", GitCommit:"d94a81c724ea8e1ccc9002d89b7fe81d58f89ede", GitTreeState:"clean", BuildDate:"2020-03-12T21:00:06Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}

/etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

both the clusters are in vsphere ... on the same region but on a different esxi

below i am providing the velero log for the respective backup where it is failing

time="2020-04-29T06:14:49Z" level=info msg="Setting up backup temp file" backup=velero/infra-distributed-db-backup logSource="pkg/controller/backup_controller.go:494" time="2020-04-29T06:14:49Z" level=info msg="Setting up plugin manager" backup=velero/infra-distributed-db-backup logSource="pkg/controller/backup_controller.go:501" time="2020-04-29T06:14:49Z" level=info msg="Getting backup item actions" backup=velero/infra-distributed-db-backup logSource="pkg/controller/backup_controller.go:505" time="2020-04-29T06:14:49Z" level=info msg="Setting up backup store" backup=velero/infra-distributed-db-backup logSource="pkg/controller/backup_controller.go:511" time="2020-04-29T06:14:49Z" level=info msg="Writing backup version file" backup=velero/infra-distributed-db-backup logSource="pkg/backup/backup.go:213" time="2020-04-29T06:14:49Z" level=info msg="Including namespaces: " backup=velero/infra-distributed-db-backup logSource="pkg/backup/backup.go:219" time="2020-04-29T06:14:49Z" level=info msg="Excluding namespaces: " backup=velero/infra-distributed-db-backup logSource="pkg/backup/backup.go:220" time="2020-04-29T06:14:49Z" level=info msg="Including resources: " backup=velero/infra-distributed-db-backup logSource="pkg/backup/backup.go:223" time="2020-04-29T06:14:49Z" level=info msg="Excluding resources: " backup=velero/infra-distributed-db-backup logSource="pkg/backup/backup.go:224" time="2020-04-29T06:15:03Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:03Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=pods time="2020-04-29T06:15:03Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=pods time="2020-04-29T06:15:03Z" level=info msg="Retrieved 1 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=pods time="2020-04-29T06:15:03Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:169" name=infra-distributed-db-0 namespace=atom resource=pods time="2020-04-29T06:15:03Z" level=info msg="Executing custom action" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:330" name=infra-distributed-db-0 namespace=atom resource=pods time="2020-04-29T06:15:04Z" level=info msg="Executing podAction" backup=velero/infra-distributed-db-backup cmd=/velero logSource="pkg/backup/pod_action.go:51" pluginName=velero time="2020-04-29T06:15:04Z" level=info msg="Adding pvc ignite-hdd-infra-distributed-db-0 to additionalItems" backup=velero/infra-distributed-db-backup cmd=/velero logSource="pkg/backup/pod_action.go:67" pluginName=velero time="2020-04-29T06:15:04Z" level=info msg="Adding pvc ignite-work-infra-distributed-db-0 to additionalItems" backup=velero/infra-distributed-db-backup cmd=/velero logSource="pkg/backup/pod_action.go:67" pluginName=velero time="2020-04-29T06:15:04Z" level=info msg="Done executing podAction" backup=velero/infra-distributed-db-backup cmd=/velero logSource="pkg/backup/pod_action.go:77" pluginName=velero time="2020-04-29T06:15:04Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:169" name=ignite-hdd-infra-distributed-db-0 namespace=atom resource=persistentvolumeclaims time="2020-04-29T06:15:04Z" level=info msg="Executing custom action" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:330" name=ignite-hdd-infra-distributed-db-0 namespace=atom resource=persistentvolumeclaims time="2020-04-29T06:15:04Z" level=info msg="Executing PVCAction" backup=velero/infra-distributed-db-backup cmd=/velero logSource="pkg/backup/backup_pv_action.go:49" pluginName=velero time="2020-04-29T06:15:04Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:169" name=distributeddbwal0 namespace= resource=persistentvolumes time="2020-04-29T06:15:04Z" level=info msg="Executing takePVSnapshot" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:400" name=distributeddbwal0 namespace= resource=persistentvolumes time="2020-04-29T06:15:04Z" level=info msg="Skipping snapshot of persistent volume because volume is being backed up with restic." backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:418" name=distributeddbwal0 namespace= persistentVolume=distributeddbwal0 resource=persistentvolumes time="2020-04-29T06:15:04Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:169" name=ignite-work-infra-distributed-db-0 namespace=atom resource=persistentvolumeclaims time="2020-04-29T06:15:04Z" level=info msg="Executing custom action" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:330" name=ignite-work-infra-distributed-db-0 namespace=atom resource=persistentvolumeclaims time="2020-04-29T06:15:04Z" level=info msg="Executing PVCAction" backup=velero/infra-distributed-db-backup cmd=/velero logSource="pkg/backup/backup_pv_action.go:49" pluginName=velero time="2020-04-29T06:15:04Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:169" name=distributeddbwork0 namespace= resource=persistentvolumes time="2020-04-29T06:15:04Z" level=info msg="Executing takePVSnapshot" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:400" name=distributeddbwork0 namespace= resource=persistentvolumes time="2020-04-29T06:15:04Z" level=info msg="Skipping snapshot of persistent volume because volume is being backed up with restic." backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:418" name=distributeddbwork0 namespace= persistentVolume=distributeddbwork0 resource=persistentvolumes time="2020-04-29T06:15:17Z" level=info msg="1 errors encountered backup up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:283" name=infra-distributed-db-0 namespace= resource=pods time="2020-04-29T06:15:17Z" level=error msg="Error backing up item" backup=velero/infra-distributed-db-backup error="pod volume backup failed: error getting volume path on host: expected one matching path, got 0" error.file="/go/src/github.com/vmware-tanzu/velero/pkg/restic/backupper.go:182" error.function="github.com/vmware-tanzu/velero/pkg/restic.(*backupper).BackupPodVolumes" group=v1 logSource="pkg/backup/resource_backupper.go:287" name=infra-distributed-db-0 namespace= resource=pods time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=persistentvolumeclaims time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=persistentvolumeclaims time="2020-04-29T06:15:17Z" level=info msg="Retrieved 2 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=persistentvolumeclaims time="2020-04-29T06:15:17Z" level=info msg="Skipping item because it's already been backed up." backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:163" name=ignite-hdd-infra-distributed-db-0 namespace=atom resource=persistentvolumeclaims time="2020-04-29T06:15:17Z" level=info msg="Skipping item because it's already been backed up." backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:163" name=ignite-work-infra-distributed-db-0 namespace=atom resource=persistentvolumeclaims time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=persistentvolumes time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=persistentvolumes time="2020-04-29T06:15:17Z" level=info msg="Retrieved 2 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=persistentvolumes time="2020-04-29T06:15:17Z" level=info msg="Skipping item because it's already been backed up." backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:163" name=distributeddbwal0 namespace= resource=persistentvolumes time="2020-04-29T06:15:17Z" level=info msg="Skipping item because it's already been backed up." backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:163" name=distributeddbwork0 namespace= resource=persistentvolumes time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=nodes time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=nodes time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=nodes time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=podtemplates time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=podtemplates time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=podtemplates time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=resourcequotas time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=resourcequotas time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=resourcequotas time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=endpoints time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=endpoints time="2020-04-29T06:15:17Z" level=info msg="Retrieved 1 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=endpoints time="2020-04-29T06:15:17Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:169" name=ignite namespace=atom resource=endpoints time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=limitranges time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=limitranges time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=limitranges time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=replicationcontrollers time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=replicationcontrollers time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=replicationcontrollers time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=serviceaccounts time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=serviceaccounts time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=serviceaccounts time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=configmaps time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=configmaps time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=configmaps time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=events time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=events time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=events time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=namespaces time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=namespaces time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=namespaces time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=secrets time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=secrets time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=secrets time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:105" resource=services time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=services time="2020-04-29T06:15:17Z" level=info msg="Retrieved 1 items" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=services time="2020-04-29T06:15:17Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=v1 logSource="pkg/backup/item_backupper.go:169" name=ignite namespace=atom resource=services time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=apiregistration.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=apiregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=apiservices time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=apiregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=apiservices time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=apiregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=apiservices time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:105" resource=controllerrevisions time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=controllerrevisions time="2020-04-29T06:15:17Z" level=info msg="Retrieved 1 items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=controllerrevisions time="2020-04-29T06:15:17Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/item_backupper.go:169" name=infra-distributed-db-5d449c799c namespace=atom resource=controllerrevisions.apps time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:105" resource=statefulsets time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=statefulsets time="2020-04-29T06:15:17Z" level=info msg="Retrieved 1 items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=statefulsets time="2020-04-29T06:15:17Z" level=info msg="Backing up item" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/item_backupper.go:169" name=infra-distributed-db namespace=atom resource=statefulsets.apps time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:105" resource=deployments time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=deployments time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=deployments time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:105" resource=replicasets time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=replicasets time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=replicasets time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:105" resource=daemonsets time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=daemonsets time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=apps/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=daemonsets time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=events.k8s.io/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=events.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=events time="2020-04-29T06:15:17Z" level=info msg="Skipping resource because it cohabitates and we've already processed it" backup=velero/infra-distributed-db-backup cohabitatingResource1=events cohabitatingResource2=events.events.k8s.io group=events.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:148" resource=events time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=autoscaling/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=autoscaling/v1 logSource="pkg/backup/resource_backupper.go:105" resource=horizontalpodautoscalers time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=autoscaling/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=horizontalpodautoscalers time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=autoscaling/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=horizontalpodautoscalers time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=batch/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=batch/v1 logSource="pkg/backup/resource_backupper.go:105" resource=jobs time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=batch/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=jobs time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=batch/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=jobs time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=batch/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=batch/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=cronjobs time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=batch/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=cronjobs time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=batch/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=cronjobs time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=certificates.k8s.io/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=certificates.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=certificatesigningrequests time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=certificates.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=certificatesigningrequests time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=certificates.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=certificatesigningrequests time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=networkpolicies time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=networkpolicies time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=networkpolicies time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=ingresses time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=ingresses time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=networking.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=ingresses time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=policy/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=policy/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=podsecuritypolicies time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=policy/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=podsecuritypolicies time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=policy/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=podsecuritypolicies time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=policy/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=poddisruptionbudgets time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=policy/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=poddisruptionbudgets time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=policy/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=poddisruptionbudgets time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=roles time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=roles time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=roles time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=rolebindings time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=rolebindings time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=rolebindings time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=clusterroles time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=clusterroles time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=clusterroles time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=clusterrolebindings time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=clusterrolebindings time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=rbac.authorization.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=clusterrolebindings time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=csinodes time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=csinodes time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=csinodes time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=storageclasses time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=storageclasses time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=storageclasses time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=volumeattachments time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=volumeattachments time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=volumeattachments time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=csidrivers time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=csidrivers time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=storage.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=csidrivers time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=admissionregistration.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=admissionregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=mutatingwebhookconfigurations time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=admissionregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=mutatingwebhookconfigurations time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=admissionregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=mutatingwebhookconfigurations time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=admissionregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=validatingwebhookconfigurations time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=admissionregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=validatingwebhookconfigurations time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=admissionregistration.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=validatingwebhookconfigurations time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=apiextensions.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=apiextensions.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=customresourcedefinitions time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=apiextensions.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=customresourcedefinitions time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=apiextensions.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=customresourcedefinitions time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=scheduling.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=scheduling.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=priorityclasses time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=scheduling.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=priorityclasses time="2020-04-29T06:15:17Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=scheduling.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=priorityclasses time="2020-04-29T06:15:17Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=coordination.k8s.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:17Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=coordination.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=leases time="2020-04-29T06:15:17Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=coordination.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=leases time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=coordination.k8s.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=leases time="2020-04-29T06:15:18Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=node.k8s.io/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=node.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=runtimeclasses time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=node.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=runtimeclasses time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=node.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=runtimeclasses time="2020-04-29T06:15:18Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=discovery.k8s.io/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=discovery.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=endpointslices time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=discovery.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=endpointslices time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=discovery.k8s.io/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=endpointslices time="2020-04-29T06:15:18Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=ippools time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=ippools time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=ippools time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=networksets time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=networksets time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=networksets time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=networkpolicies time="2020-04-29T06:15:18Z" level=info msg="Skipping resource because it cohabitates and we've already processed it" backup=velero/infra-distributed-db-backup cohabitatingResource1=networkpolicies.extensions cohabitatingResource2=networkpolicies.networking.k8s.io group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:148" resource=networkpolicies time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=globalnetworksets time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=globalnetworksets time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=globalnetworksets time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=ipamconfigs time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=ipamconfigs time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=ipamconfigs time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=ipamblocks time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=ipamblocks time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=ipamblocks time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=blockaffinities time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=blockaffinities time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=blockaffinities time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=ipamhandles time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=ipamhandles time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=ipamhandles time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=globalnetworkpolicies time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=globalnetworkpolicies time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=globalnetworkpolicies time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=hostendpoints time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=hostendpoints time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=hostendpoints time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=bgppeers time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=bgppeers time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=bgppeers time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=bgpconfigurations time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=bgpconfigurations time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=bgpconfigurations time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=clusterinformations time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=clusterinformations time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=clusterinformations time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:105" resource=felixconfigurations time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=felixconfigurations time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=crd.projectcalico.org/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=felixconfigurations time="2020-04-29T06:15:18Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=authcodes time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=authcodes time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=authcodes time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=signingkeies time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=signingkeies time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=signingkeies time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=passwords time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=passwords time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=passwords time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=authrequests time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=authrequests time="2020-04-29T06:15:18Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=authrequests time="2020-04-29T06:15:18Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=refreshtokens time="2020-04-29T06:15:18Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=refreshtokens time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=refreshtokens time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=oauth2clients time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=oauth2clients time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=oauth2clients time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=connectors time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=connectors time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=connectors time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:105" resource=offlinesessionses time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=offlinesessionses time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=dex.coreos.com/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=offlinesessionses time="2020-04-29T06:15:19Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=backupstoragelocations time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=backupstoragelocations time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=backupstoragelocations time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=resticrepositories time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=resticrepositories time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=resticrepositories time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=downloadrequests time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=downloadrequests time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=downloadrequests time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=schedules time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=schedules time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=schedules time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=volumesnapshotlocations time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=volumesnapshotlocations time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=volumesnapshotlocations time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=restores time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=restores time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=restores time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=deletebackuprequests time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=deletebackuprequests time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=deletebackuprequests time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=serverstatusrequests time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=serverstatusrequests time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=serverstatusrequests time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=podvolumerestores time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=podvolumerestores time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=podvolumerestores time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=backups time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=backups time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=backups time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:105" resource=podvolumebackups time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=podvolumebackups time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=velero.io/v1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=podvolumebackups time="2020-04-29T06:15:19Z" level=info msg="Backing up group" backup=velero/infra-distributed-db-backup group=extensions/v1beta1 logSource="pkg/backup/group_backupper.go:101" time="2020-04-29T06:15:19Z" level=info msg="Backing up resource" backup=velero/infra-distributed-db-backup group=extensions/v1beta1 logSource="pkg/backup/resource_backupper.go:105" resource=ingresses time="2020-04-29T06:15:19Z" level=info msg="Listing items" backup=velero/infra-distributed-db-backup group=extensions/v1beta1 logSource="pkg/backup/resource_backupper.go:226" namespace= resource=ingresses time="2020-04-29T06:15:19Z" level=info msg="Retrieved 0 items" backup=velero/infra-distributed-db-backup group=extensions/v1beta1 logSource="pkg/backup/resource_backupper.go:240" namespace= resource=ingresses

ashish-amarnath commented 4 years ago

@surekhakallam Could you please provide the following:

  1. Obtain the UID of the pod, whose backup causes this error.
  2. Identify the VM on which the pod is running and on the VM where this pod is running, please run ls -lR /host_pods/<UID_OF_POD_FROM_STEP_1>/volumes/ a recursive list of /host_pods/<UID_OF_POD_FROM_STEP_1>/volumes/
surekhakallam commented 4 years ago

actually the setup on which the velero backup was not working was deleted ... i will provide the details tomorrow by creating one more vm and take backup and try on that ... actually today i did not find time to do as i was engaged on other work

surekhakallam commented 4 years ago

ls -lR /host_pods/b8bdb36a-986a-4388-9a9b-dbc2680bbbf9/volumes/ ls: cannot access /host_pods/b8bdb36a-986a-4388-9a9b-dbc2680aaaf9/volumes/: No such file or directory

got this as output for the step 2

ashish-amarnath commented 4 years ago

@surekhakallam So the problem is likely caused because the restic daemon set is unable to mount the pod's volume for it to perform backup. Because you are running kubernetes 1.17.3, I am assuming that mount propagation is enabled.

What you might be missing is that the restic daemon set pods don't have access to the pod's volumes on the host. This is because the restic pod may not be running in privileged mode.

Can you try following this https://github.com/vmware-tanzu/velero/issues/1638#issuecomment-510703864 to update your restic daemonset and trying this again?

surekhakallam commented 4 years ago

hi @ashish-amarnath , i have done the changes as you had told .. but still getting the same error

pod-volume-backup error="expected one matching path, got 0"

ashish-amarnath commented 4 years ago

@surekhakallam I made a mistake in one of my earlier suggestions. Can you please inspect this:

  1. Obtain the UID of the pod, whose backup causes this error. 2 Identify the VM on which the pod is running and on the VM where this pod is running, please run ls -lR /var/lib/kubelet/pods//volumes/ a recursive list of /var/lib/kubelet/pods//volumes/

If /var/lib/kubelet/pods does not exist please check to see if /var/vcap/data/kubelet/pods exists instead.

  1. Exec into the restic pod on that vm, identified in step 2 and inspect if /host_pods/<POD-UID>/* exists.

  2. Paste the yaml for the restic daemon set.

If you run into a No such file or directory when running ls, please investigate what part of the path, that we are trying to list, exists.

Also please compare this between VMs where the backups are working and the VMs where you are seeing this failure

ashish-amarnath commented 4 years ago

You may also want to check-out our instructions from https://velero.io/docs/v1.4-pre/restic/#instructions

surekhakallam commented 4 years ago

the above is the yaml file of the restic... since i had other task which i was concentrating on i could not go through the step which was mentioned by you above thoroughly ... i will do that tomorrow and let you know the update on that .. meanwhile could you please tell me if there is anything to be taken care of or changed in the above yaml file

Thanks in advance

surekhakallam commented 4 years ago

the diff i found is the working vm is kubernetes version1.15 and and non working vm has kubernetes version1.17

skriss commented 4 years ago

@surekhakallam I am curious to know if /var/lib/kubelet is the kubelet root dir on each of the clusters. Is it possible for you to SSH into the nodes (particularly on the non-working cluster) and see if this directory exists? @ashish-amarnath added some more detailed instructions at https://github.com/vmware-tanzu/velero/issues/2506#issuecomment-628150069

surekhakallam commented 4 years ago

yes this folder /var/lib/kubelet is present in it and also /var/lib/kubelet/pods path is also present on all the nodes as well as instructed by @ashish-amarnath i have followed all steps and all the directories where present as expected ... but the only difference between the working cluster and the non-working cluster is that in the working cluster it was using kubernetes 1.15 version and in the non-working cluster it was using kubernetes 1.17 ... do we need to add any feature gateway or anything as the pre-request to the cluster in case it is taking kubernetes 1.17 version

skriss commented 4 years ago

I'm not aware of any feature flags or any other config issues that would arise with 1.17.

So the next thing I would try to look at is: for one of the volumes that's failing, compare what you see if you SSH into the node it's running on and go to /var/lib/kubelet/pods/<pod-uid>/volumes to what you see via the velero hostPath mount, in the restic daemonset pod running on that same node, under /host_pods/<pod-uid>/volumes. These should be different views of the same directory structure, but it's possible something weird is going on with mount propagation or something else.

surekhakallam commented 4 years ago

hi ... i have checked both the folders from the node as well as the restic daemonset pod running on the same node ...and found that the data what ever is there on the node in the /var/lib/kubelet/pods//volumes location has and the data what ever is present on the restic daemonset in the /host_pods//volumes is exactly the same

skriss commented 4 years ago

Can you give me the full volume directory for the volume that's failing to back up? It should be something like: /host_pods/<pod-UID>/volumes/<storage-plugin-name>/<volume-name>

Can you also attach the full YAML for the pod that's got the volume that's failing to back up, as well as the YAML for the PVC (if you are in fact using a PVC here)?

surekhakallam commented 4 years ago

host_pods/ /-volumes/kubernetes.io ~ configmap/config file1-config-32g-mcast.xml file1-config-32g.xml file1-config-50g-mcast.xml file1-config-50g.xml file1-config-dev.xml

host_pods/ /-volumes/kubernetes.io ~ configmap/filebeat-config file.yml

host_pods/ /-volumes/kubernetes.io ~ local-volume/distributeddbwork0/binary_meta/node00- -115856935.bin -1511864425.bin -1689269445.bin -1911594362.bin -2097673696.bin -979222937.bin 1269765629.bin 449292548.bin 631370596.bin -1504451754.bin -1527917124.bin -1689269447.bin -2018628009.bin -833361038.bin 1101574779.bin 360692777.bin 589403563.bin 980621476.bin

host_pods/ /-volumes/kubernetes.io ~ configmap/distributeddbwork0/db/wal/node00- 0000000000000000.wal 0000000000000001.wal

host_pods/ /-volumes/kubernetes.io ~ configmap/distributeddbwork0/diagnostic

host_pods/ /-volumes/kubernetes.io ~ configmap/distributeddbwork0/lock

host_pods/ /-volumes/kubernetes.io ~ configmap/distributeddbwork0/log file-f9a2ebdf.0.log file-f9a2ebdf.0.log.lck

host_pods/ /-volumes/kubernetes.io ~ configmap/distributeddbwork0/marshaller |- -115856935.classname0 |- -1511864425.classname0 |- -1911594362.classname0 |- -2097673696.classname0 |- -979222937.classname0 |- 1269765629.classname0 |- 449292548.classname0 |- 631370596.classname0 |- -1504451754.classname0 |- -1527917124.classname0 |- -2018628009.classname0 |- -833361038.classname0 |- 1101574779.classname0 |- 360692777.classname0 |- 589403563.classname0 |- 980621476.classname0

host_pods/ /-volumes/kubernetes.io ~ configmap/distributeddbwork0/node00-

host_pods/ /-volumes/kubernetes.io ~ configmap/distributeddbwork0/tmp spill

host_pods/ /-volumes/kubernetes.io ~ secret/file-token ca.crt namespace token

surekhakallam commented 4 years ago

apiVersion: v1 kind: Pod metadata: annotations: backup.velero.io/backup-volumes: ignite-work,ignite-hdd cni.projectcalico.org/podIP: 10.200.36.76/32 cni.projectcalico.org/podIPs: 10.200.36.76/32 creationTimestamp: "2020-05-20T16:05:43Z" generateName: infra-distributed-db- labels: app: infra-distributed-db controller-revision-hash: infra-distributed-db-5sdfsc799c statefulset.kubernetes.io/pod-name: infra-distributed-db-0 name: infra-distributed-db-0 namespace: ownerReferences:

apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: StatefulSet name: infra-distributed-db uid: resourceVersion: "16392" selfLink: /api/v1/namespaces/pods/infra-distributed-db-0 uid: spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms:

matchExpressions: key: distributed_db operator: In values: deploy podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: labelSelector: matchExpressions: key: app operator: In values: infra-distributed-db topologyKey: kubernetes.io/hostname containers: env: name: POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name name: LOGSTASH_HOST value: logstash:5044 image: imagePullPolicy: IfNotPresent name: infra-logforwarderfilebeat resources: requests: cpu: 5m memory: 50Mi terminationMessagePath: /folder1/termination-log terminationMessagePolicy: File volumeMounts: mountPath: /folder2/folder3 name: ignite-work mountPath: /usr/share/file/file.yml name: filebeat-config subPath: filebeat.yml mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: readOnly: true env:

timeoutSeconds: 1 name: infra-distributed-db ports: containerPort: protocol: TCP containerPort: protocol: TCP containerPort: protocol: TCP containerPort: protocol: TCP resources: requests: cpu: 500m memory: 12Gi terminationMessagePath: /folder1/termination-log terminationMessagePolicy: File volumeMounts: mountPath: /folder1/folder2/config name: config mountPath: /folder1/folder2/apache-ignite-fabric/work name: ignite-work mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true hostname: infra-distributed-db-0 imagePullSecrets: name: secret initContainers: command: sh -c sysctl -w vm.swappiness=0 ; sysctl -p image: busybox imagePullPolicy: Always name: set-vm-swappiness resources: {} securityContext: privileged: true terminationMessagePath: /folder1/termination-log terminationMessagePolicy: File volumeMounts: mountPath: /host-sys name: host-sys mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: readOnly: true command: sh -c

image: busybox imagePullPolicy: Always name: disable-thp resources: {} terminationMessagePath: /folder1/termination-log terminationMessagePolicy: File volumeMounts: mountPath: /host-sys name: host-sys mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: readOnly: true nodeName: surekha-agent2 priority: 1000000 priorityClassName: high-priority restartPolicy: Always schedulerName: default-scheduler securityContext: {} serviceAccount: <> serviceAccountName: <> subdomain: domain terminationGracePeriodSeconds: 60 tolerations: effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 volumes: name: ignite-work persistentVolumeClaim: claimName:infra-distributed-db-0 name: ignite-hdd persistentVolumeClaim: claimName:hdd-infra-distributed-db-0 configMap: defaultMode: 420 name: infra-distributed-db-configmap name: config configMap: defaultMode: 420 name: file-pod-config name: file-config hostPath: path: /sys type: "" name: host-sys name: secret: defaultMode: 420 secretName: status: conditions: lastProbeTime: null lastTransitionTime: "2020-05-20T16:08:26Z" status: "True" type: Initialized lastProbeTime: null lastTransitionTime: "2020-05-20T16:10:11Z" status: "True" type: Ready lastProbeTime: null lastTransitionTime: "2020-05-20T16:10:11Z" status: "True" type: ContainersReady lastProbeTime: null lastTransitionTime: "2020-05-20T16:05:44Z" status: "True" type: PodScheduled containerStatuses: containerID: image: imageID: lastState: {} name: infra-distributed-db ready: true restartCount: 0 started: true state: running: startedAt: "2020-05-20T16:10:10Z" containerID: imageID: lastState: {} name: infra-logforwarderfilebeat ready: true restartCount: 0 started: true state: running: startedAt: "2020-05-20T16:09:10Z" hostIP: initContainerStatuses: containerID: imageID: lastState: {} name: set-vm-swappiness ready: true restartCount: 0 state: terminated: containerID: exitCode: 0 finishedAt: "2020-05-20T16:08:01Z" reason: Completed startedAt: "2020-05-20T16:08:01Z" containerID: imageID: lastState: {} name: disable-thp ready: true restartCount: 0 state: terminated: containerID: exitCode: 0 finishedAt: "2020-05-20T16:08:26Z" reason: Completed startedAt: "2020-05-20T16:08:26Z" phase: Running podIP: 10.200.36.76 podIPs: ip: 10.200.36.76 qosClass: Burstable startTime: "2020-05-20T16:05:44Z"

surekhakallam commented 4 years ago

how do we fix this .. can you please guide us

skriss commented 4 years ago

@surekhakallam I can't really tell from the info you've provided what the problem might be and without a more interactive session, I'm not sure if we'll be able to get to the bottom of this.

If you're interested, VMware does offer professional support around Velero and our other open-source projects. Since it sounds like you're already a VMware customer, this might be a route to look into. Let me know if you'd like me to put you in touch with someone.

surekhakallam commented 4 years ago

sure will talk to my team regarding this ... sorry for late reply as i was looking at different issues i couldnt reply ... thanku so much for giving your this opportunity

ashish-amarnath commented 4 years ago

I am closing this issue for inactivity. Please feel free to reach out if you need further assistance.