Skip to content

Barman 1.36 -> Noobaa S3 backup failure to upload data #1132

@yrro

Description

@yrro

When using Barman 3.16.1 to upload to a Noobaa S3 bucket, the backup fails with:

ERROR: Backup failed uploading data (An error occurred (InvalidDigest) when calling the UploadPart operation: The Content-MD5 you specified is not valid.)
ERROR: Backup failed uploading backup.info file (An error occurred (InvalidDigest) when calling the PutObject operation: The Content-MD5 you specified is not valid.)

Backups using an older Barman version (3.11.1) work fine. I appreciate there's a bit of a gap between these two versions. But looking at the 1.36.0 release notes, I see the pin on the older version of boto3 (that produced these headers by default) was removed so I think it's likely that this is the case:

I see in the release notes you mention Minio, and in #1124 an additional compatibility issue was fixed for Cloudian HyperStore. My assumption is that Noobaa is another S3 implementation which requires the old behaviour for the particular operations that Barman is performing, while HyperStore/Minio do not. Which seems a bit strange to me but I don't know enough about the details of S3 to form a firm opinion.

I'm also going to work this from the Noobaa side once I've reproduced it on a current version (I'm currently using Noobaa 5.12.13-01521aa which is a bit old), but I think it's useful to file an issue here to make you aware & provide visibility for anyone else who might be searching the web for the above error messages in relation to cnpg/Barman.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions