Failed to push and pull image; 500 Internal Server Error; err.detail="s3aws: AuthorizationHeaderMalformed"
Issue
- Image push and pull from the OCP internal registry is failing with
500 Internal Server Error - Registry pod is backed with AWS S3 storage and registry pod logs has the following error messages;
time="2022-11-29T12:03:04.071724515Z" level=error msg="response completed with error" err.code=unknown err.detail="s3aws: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3.11
- AWS S3 storage
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.