Failed to push and pull image; 500 Internal Server Error; err.detail="s3aws: AuthorizationHeaderMalformed"

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content