Bug 1811093

Summary: Cloud Credential operator failed to run on AWS China regions
Product: OpenShift Container Platform Reporter: Wang Haoran <haowang>
Component: Cloud Credential OperatorAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED ERRATA QA Contact: wang lin <lwan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: dgoodwin, jdiaz, lwan
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1810865 Environment:
Last Closed: 2020-07-13 17:18:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1810865    

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