Bug 1810865 - Cloud Credential operator failed to run on AWS China regions
Summary: Cloud Credential operator failed to run on AWS China regions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Credential Operator
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.4.0
Assignee: Devan Goodwin
QA Contact: wang lin
URL:
Whiteboard:
Depends On: 1811093
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-06 04:24 UTC by Wang Haoran
Modified: 2020-05-04 11:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1811093 (view as bug list)
Environment:
Last Closed: 2020-05-04 11:45:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cloud-credential-operator pull 160 0 None closed [release-4.4] Bug 1810865: provide region when setting up an AWS client 2021-01-20 04:03:45 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:45:22 UTC

Description Wang Haoran 2020-03-06 04:24:58 UTC
Description of problem:

Problem:
The cloud credential operator not works in aws china, because they are not using the correct api endpoint and regions.

Errors:

error while validating cloud credentials: failed checking create cloud creds: error gathering AWS credentials details: error querying username: InvalidClientTokenId: The security token included in the request is invalid.\n\tstatus code: 403, request id: 23761878-8741-4472-a1a4-5e959e055725
Ref:
Aws china api endpoints:
https://docs.amazonaws.cn/en_us/aws/latest/userguide/endpoints-arns.html

Version-Release number of selected component (if applicable):


How reproducible:

always
Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Wang Haoran 2020-03-11 02:28:23 UTC
This works as expected on :  registry.svc.ci.openshift.org/ocp/release:4.4.0-0.nightly-2020-03-10-002851

Comment 4 Devan Goodwin 2020-04-29 12:11:59 UTC
I do not believe this bug ever saw customers as the AWS China support was net new. Setting no docs required.

Comment 6 errata-xmlrpc 2020-05-04 11:45:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0581


Note You need to log in before you can comment on or make changes to this bug.