vmware-tanzu/helm-charts

error to prune backup repo

kingnarmer opened this issue · 1 comments

What steps did you take and what happened:

velero can't run new backups nor list logs for failed backups.

What did you expect to happen:
veleor sun backup successfully.

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

time="2024-04-09T15:49:49Z" level=warning msg="active indexes [xn0_0ae2822ed5cc020fcf08d52bb9e94901-s1c04f90f85e318b6126-c1 xn0_186956702f5e71fa90185adf30a4952a-s455407dcaccf4af7126-c1 xn0_18f42a19eb7a3aa0794cd6d90af8287a-sf6b1ca3f93a23057126-c1 xn0_202c2078f527c9ad89682d6c03f94df1-s31163ebb1cca0303126-c1 xn0_2d38adea3e4a2d61c2e2353b44ca6f3b-sb4eda611df3e9805126-c1 xn0_33b1b4fd47dbac10e90eb50af75d1238-sf26d5215d152a2b9126-c1 xn0_3bdbbb116fd28f71b70b5bc0c974a9e8-s0c8e829553ed0277126-c1 xn0_45620a0a1f2c9f8d437799eea8797ee6-s5125c17446e35aa3126-c1 xn0_486f7544cfa2fb4b6dc144bedcfa9fc3-sfbe4096c17dc423c126-c1 xn0_607a8a6611ab1a07e8f00b20f98bd4af-sf8dbc9a2a655f3dd127-c1 xn0_7911a27fb30921056c106b8ccfba64b5-se0f4fc8b3f1b17ac126-c1 xn0_8f5588504a3982b7e887d2c9ded98034-sc608b70e8a457470126-c1 xn0_8f9a5694a34755b50308db6b74d9b607-scee5e30fef0d4a5e126-c1 xn0_ae98f0dea850f54a682d79bbbba63a34-sb48afef227b77b8f126-c1 xn0_afeb8457b1a960b1cdde71d8ff404372-s44df0b4162af2a4f126-c1 xn0_b5925212ca6f65dd3dead6488a5e9cdc-sd5f94fbbc6156e0e126-c1 xn0_b677bea194ec27f4624a420d7ce8eb04-scb9be03caf9cf6ff127-c1 xn0_c91fce8893b1ef39b7b55658aa1ee120-sa02166328c6a9c35127-c1 xn0_d884acfea12d8c9dbbaa13f895476ca0-sf97abe7ff33ea493126-c1 xn0_e511b451f875cdfbbe1b9140cadd2269-sea8f75c90ec26729126-c1 xn1_505c3c1d9a45a4de89a086b1d7dbb26a-sc69002556673c17a127-c1 xn1_ee153b7301b4d48bb592cf50fd3d1e62-sbe63678fefc94f3f127-c1] deletion watermark 0001-01-01 00:00:00 +0000 UTC" logModule=kopia/kopia/format logSource="pkg/kopia/kopia_log.go:101" logger name="[index-blob-manager]" sublevel=error
time="2024-04-09T15:49:50Z" level=warning msg="active indexes [xn0_0ae2822ed5cc020fcf08d52bb9e94901-s1c04f90f85e318b6126-c1 xn0_186956702f5e71fa90185adf30a4952a-s455407dcaccf4af7126-c1 xn0_18f42a19eb7a3aa0794cd6d90af8287a-sf6b1ca3f93a23057126-c1 xn0_202c2078f527c9ad89682d6c03f94df1-s31163ebb1cca0303126-c1 xn0_2d38adea3e4a2d61c2e2353b44ca6f3b-sb4eda611df3e9805126-c1 xn0_33b1b4fd47dbac10e90eb50af75d1238-sf26d5215d152a2b9126-c1 xn0_3bdbbb116fd28f71b70b5bc0c974a9e8-s0c8e829553ed0277126-c1 xn0_45620a0a1f2c9f8d437799eea8797ee6-s5125c17446e35aa3126-c1 xn0_486f7544cfa2fb4b6dc144bedcfa9fc3-sfbe4096c17dc423c126-c1 xn0_607a8a6611ab1a07e8f00b20f98bd4af-sf8dbc9a2a655f3dd127-c1 xn0_7911a27fb30921056c106b8ccfba64b5-se0f4fc8b3f1b17ac126-c1 xn0_8f5588504a3982b7e887d2c9ded98034-sc608b70e8a457470126-c1 xn0_8f9a5694a34755b50308db6b74d9b607-scee5e30fef0d4a5e126-c1 xn0_ae98f0dea850f54a682d79bbbba63a34-sb48afef227b77b8f126-c1 xn0_afeb8457b1a960b1cdde71d8ff404372-s44df0b4162af2a4f126-c1 xn0_b5925212ca6f65dd3dead6488a5e9cdc-sd5f94fbbc6156e0e126-c1 xn0_b677bea194ec27f4624a420d7ce8eb04-scb9be03caf9cf6ff127-c1 xn0_c91fce8893b1ef39b7b55658aa1ee120-sa02166328c6a9c35127-c1 xn0_d884acfea12d8c9dbbaa13f895476ca0-sf97abe7ff33ea493126-c1 xn0_e511b451f875cdfbbe1b9140cadd2269-sea8f75c90ec26729126-c1 xn1_505c3c1d9a45a4de89a086b1d7dbb26a-sc69002556673c17a127-c1 xn1_ee153b7301b4d48bb592cf50fd3d1e62-sbe63678fefc94f3f127-c1] deletion watermark 0001-01-01 00:00:00 +0000 UTC" logModule=kopia/kopia/format logSource="pkg/kopia/kopia_log.go:101" logger name="[index-blob-manager]" sublevel=error
time="2024-04-09T15:49:50Z" level=warning msg="error pruning repository" backupRepo=velero/librarysearch-prod-default-kopia-2l5vh error="error to prune backup repo: error to maintain repo: error to run maintenance under mode auto: maintenance must be run by designated user: " error.file="/go/src/github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/lib_repo.go:211" error.function="github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib.(*kopiaMaintenance).runMaintenance" logSource="pkg/controller/backup_repository_controller.go:291"
time="2024-04-09T15:49:51Z" level=info msg="Running maintenance on backup repository" backupRepo=velero/centralized-metadata-qa-default-kopia-c6k9g logSource="pkg/controller/backup_repository_controller.go:285"
time="2024-04-09T15:49:52Z" level=warning msg="active indexes [] deletion watermark 0001-01-01 00:00:00 +0000 UTC" logModule=kopia/kopia/format logSource="pkg/kopia/kopia_log.go:101" logger name="[index-blob-manager]" sublevel=error
time="2024-04-09T15:49:52Z" level=warning msg="active indexes [] deletion watermark 0001-01-01 00:00:00 +0000 UTC" logModule=kopia/kopia/format logSource="pkg/kopia/kopia_log.go:101" logger name="[index-blob-manager]" sublevel=error
time="2024-04-09T15:49:52Z" level=warning msg="error pruning repository" backupRepo=velero/centralized-metadata-qa-default-kopia-c6k9g error="error to prune backup repo: error to maintain repo: error to run maintenance under mode auto: maintenance must be run by designated user: " error.file="/go/src/github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/lib_repo.go:211" error.function="github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib.(*kopiaMaintenance).runMaintenance" logSource="pkg/controller/backup_repository_controller.go:291"
time="2024-04-09T15:49:52Z" level=info msg="Running maintenance on backup repository" backupRepo=velero/tupress-qa-default-kopia-dnt59 logSource="pkg/controller/backup_repository_controller.go:285"
time="2024-04-09T15:49:53Z" level=warning msg="active indexes [] deletion watermark 0001-01-01 00:00:00 +0000 UTC" logModule=kopia/kopia/format logSource="pkg/kopia/kopia_log.go:101" logger name="[index-blob-manager]" sublevel=error
time="2024-04-09T15:49:54Z" level=warning msg="active indexes [] deletion watermark 0001-01-01 00:00:00 +0000 UTC" logModule=kopia/kopia/format logSource="pkg/kopia/kopia_log.go:101" logger name="[index-blob-manager]" sublevel=error
time="2024-04-09T15:49:54Z" level=warning msg="error pruning repository" backupRepo=velero/tupress-qa-default-kopia-dnt59 error="error to prune backup repo: error to maintain repo: error to run maintenance under mode auto: maintenance must be run by designated user: " error.file="/go/src/github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/lib_repo.go:211" error.function="github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib.(*kopiaMaintenance).runMaintenance" logSource="pkg/controller/backup_repository_controller.go:291"

Anything else you would like to add:
running bitnami chart 6.0 app 1.13.0, all CRDs are updated.

Environment:

  • helm chart version and app version : velero-6.0.0 App 1.13.0
  • Kubernetes version (use kubectl version): 1.27,1.28,1.29
  • OS (e.g. from /etc/os-release): ubuntu20/ubuntu22

Opening issue on velero issues instead.