Bug 1811093 - 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.5.0
Assignee: Devan Goodwin
QA Contact: wang lin
URL:
Whiteboard:
Depends On:
Blocks: 1810865
TreeView+ depends on / blocked
 
Reported: 2020-03-06 15:08 UTC by Wang Haoran
Modified: 2020-07-13 17:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1810865
Environment:
Last Closed: 2020-07-13 17:18:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cloud-credential-operator pull 158 0 None closed provide region when setting up an AWS client 2020-06-23 09:10:44 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:19:27 UTC

Description Wang Haoran 2020-03-06 15:08:38 UTC
+++ This bug was initially created as a clone of Bug #1810865 +++

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 lin 2020-03-09 05:04:40 UTC
I have tested on other regions, the cloud credential operator can work well. 
test payload:4.4.0-0.nightly-2020-03-08-235004
Can you help to verify on AWS China?

Comment 4 wang lin 2020-03-09 05:39:02 UTC
(In reply to wang lin from comment #3)
> I have tested on other regions, the cloud credential operator can work well. 
> test payload:4.4.0-0.nightly-2020-03-08-235004
> Can you help to verify on AWS China?

Sorry for Haoran, this comment should be put in bugID=1810865. I test it on payload 4.4. I haven't test on OCP4.5 yet. Sorry again.

Comment 5 wang lin 2020-03-11 05:09:22 UTC
Has verified other region on OCP-4.5.0,CCO can work well.
test payload:4.5.0-0.nightly-2020-03-10-211937
Please help to check whether it fixed on AWS-China

Comment 7 Wang Haoran 2020-03-12 07:23:36 UTC
Verified with : registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-03-12-031748

Comment 9 errata-xmlrpc 2020-07-13 17:18:56 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:2409


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