S3 access style (path vs. virtual host) control?

36 views
Skip to first unread message

Axel Bock

unread,
Nov 11, 2024, 11:52:19 AM11/11/24
to Barman, Backup and Recovery Manager for PostgreSQL
Hi group, we are using the "Cloud Native Postgres Operator" (CNPG) for running a DB workload in K8S. Now, our backups fail, because barman apparently uses "path-based access style" for our customer's S3 system instead of "virtual host based access". We were able to replicate the error.

The customer system is a "Huawei OceanStor Pacific Scale-Out Cluster, Type 9550". and the error is this: "An error occurred (AccessForbidden) when calling the PutObject operation: The passive+ site cannot access the write request when the active site is normal.".

Now, is there a way to configure barman to _always_ use "virtual host based access", or to verify what actually happens?

Thanks in advance!
Axel.
Reply all
Reply to author
Forward
0 new messages