Skip to content

Commit cc77fd0

Browse files
authored
Add workaround for AWS CLI issue on XAmzContentSHA256Mismatch error (#252)
1 parent b4a8789 commit cc77fd0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/actions/spelling/allow.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,3 +355,4 @@ jobscript
355355
Scalasca
356356
tracefile
357357
Vampir
358+
XAmz

docs/storage/object.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ CSCS offers a public cloud object storage service, based on the Ceph Object Gate
1818

1919
### AWS CLI
2020

21+
!!! bug "XAmzContentSHA256Mismatch error"
22+
Due to an incompatibility between newer versions of the AWS CLI and Ceph `18.2.4`, you may see an error like `XAmzContentSHA256Mismatch`.
23+
24+
This can be worked around by either pinning the AWS CLI to an older version (`< 2.23.0`), or exporting the following environment variables:
25+
26+
```console
27+
export AWS_REQUEST_CHECKSUM_CALCULATION=when_required
28+
export AWS_RESPONSE_CHECKSUM_VALIDATION=when_required
29+
```
30+
2131
#### Configuration
2232

2333
The first step is to configure the profile:

0 commit comments

Comments
 (0)