Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retention policies don't work when Barman is using a custom CA certificate #220

Closed
leonardoce opened this issue Mar 21, 2025 · 0 comments · Fixed by #224 or #205
Closed

Retention policies don't work when Barman is using a custom CA certificate #220

leonardoce opened this issue Mar 21, 2025 · 0 comments · Fixed by #224 or #205

Comments

@leonardoce
Copy link
Contributor

{
  "level": "error",
  "ts": "2025-03-21T11:15:43.586041022Z",
  "logger": "barman",
  "msg": "Error invoking barman-cloud-backup-delete",
  "logging_pod": "cluster-example-1",
  "options": [
    "--endpoint-url",
    "https://minio:9000",
    "--cloud-provider",
    "aws-s3",
    "--retention-policy",
    "RECOVERY WINDOW OF 1 MONTHS",
    "s3://backups/",
    "cluster-example"
  ],
  "stdout": "",
  "stderr": "2025-03-21 11:15:43,497 [39] ERROR: Barman cloud backup delete exception: SSL validation failed for https://minio:9000/backups [Errno 2] No such file or directory\n",
  "error": "exit status 4",
  "stacktrace": "github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\t/go/pkg/mod/github.com/cloudnative-pg/[email protected]/pkg/log/log.go:125\ngithub.com/cloudnative-pg/barman-cloud/pkg/command.DeleteBackupsByPolicy\n\t/go/pkg/mod/github.com/cloudnative-pg/[email protected]/pkg/command/backupdelete.go:86\ngithub.com/cloudnative-pg/plugin-barman-cloud/internal/cnpgi/instance.(*CatalogMaintenanceRunnable).maintenance\n\t/workspace/internal/cnpgi/instance/retention.go:129\ngithub.com/cloudnative-pg/plugin-barman-cloud/internal/cnpgi/instance.(*CatalogMaintenanceRunnable).cycle\n\t/workspace/internal/cnpgi/instance/retention.go:80\ngithub.com/cloudnative-pg/plugin-barman-cloud/internal/cnpgi/instance.(*CatalogMaintenanceRunnable).Start\n\t/workspace/internal/cnpgi/instance/retention.go:48\nsigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/manager/runnable_group.go:226"
}

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