Bug 2041750
Summary: | [IPI on Alibabacloud] trying "create install-config" with region "cn-wulanchabu (China (Ulanqab))" (or "ap-southeast-6 (Philippines (Manila))", "cn-guangzhou (China (Guangzhou))") failed due to invalid endpoint | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jianli Wei <jiwei> |
Component: | Installer | Assignee: | aos-install |
Installer sub component: | openshift-installer | QA Contact: | Jianli Wei <jiwei> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | brlu, gpei, husun, mstaeble |
Version: | 4.10 | ||
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:40:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jianli Wei
2022-01-18 08:25:58 UTC
The region "ap-southeast-6 (Philippines (Manila))" has similar issue. $ openshift-install create install-config --dir work ? SSH Public Key /home/jiwei/.ssh/openshift-qe.pub ? Platform alibabacloud ? Region ap-southeast-6 ? Base Domain alicloud-qe.devcluster.openshift.com ? Cluster Name jiwei-manila ? Pull Secret [? for help] ************ FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.alibabacloud.instanceType: Internal error: Post "http://ecs-cn-hangzhou.aliyuncs.com/?AccessKeyId=LTAI5tMF5BSS3jz9UQ1WvFPU&Action=DescribeAvailableResource&DestinationResource=InstanceType&Format=JSON&InstanceType=ecs.g6.xlarge&RegionId=ap-southeast-6&Signature=Wg06yf6M7Y%2FIrMZ5zp4ZyJ751fk%3D&SignatureMethod=HMAC-SHA1&SignatureNonce=971a0e2b59222879b8f2b7beb61d744e&SignatureType=&SignatureVersion=1.0&Timestamp=2022-01-18T09%3A16%3A43Z&Version=2014-05-26": dial tcp: i/o timeout, compute[0].platform.alibabacloud.instanceType: Internal error: SDK.ServerError FATAL ErrorCode: InvalidOperation.NotSupportedEndpoint FATAL Recommend: https://error-center.aliyun.com/status/search?Keyword=InvalidOperation.NotSupportedEndpoint&source=PopGw FATAL RequestId: C2D013CA-599F-54C3-877A-367AE5E21B16 FATAL Message: The specified endpoint can't operate this region. Please use API DescribeRegions to get the appropriate endpoint, or upgrade your SDK to latest version.] $ $ aliyun vpc DescribeRegions | jq -c ".Regions.Region[] | select(.RegionId | contains(\"ap-southeast-6\"))" | jq -r .RegionEndpoint vpc.ap-southeast-6.aliyuncs.com $ aliyun ecs DescribeRegions | jq -c ".Regions.Region[] | select(.RegionId | contains(\"ap-southeast-6\"))" | jq -r .RegionEndpoint ecs.ap-southeast-6.aliyuncs.com $ aliyun ecs DescribeAvailableResource --DestinationResource 'InstanceType' --RegionId ap-southeast-6 --IoOptimized 'optimized' --InstanceType ecs.g6.xlarge --endpoint ecs.ap-southeast-6.aliyuncs.com | jq -r .AvailableZones.AvailableZone[].ZoneId ap-southeast-6a $ aliyun ecs DescribeAvailableResource --DestinationResource 'InstanceType' --RegionId ap-southeast-6 --IoOptimized 'optimized' --InstanceType ecs.g6.large --endpoint ecs.ap-southeast-6.aliyuncs.com | jq -r .AvailableZones.AvailableZone[].ZoneId ap-southeast-6a $ The region "cn-guangzhou (China (Guangzhou))" has similar issue. $ openshift-install create install-config --dir work ? SSH Public Key /home/jiwei/.ssh/openshift-qe.pub ? Platform alibabacloud ? Region cn-guangzhou ? Base Domain alicloud-qe.devcluster.openshift.com ? Cluster Name jiwei-guangzhou ? Pull Secret [? for help] ******* FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.alibabacloud.instanceType: Internal error: SDK.ServerError FATAL ErrorCode: InvalidOperation.NotSupportedEndpoint FATAL Recommend: https://error-center.aliyun.com/status/search?Keyword=InvalidOperation.NotSupportedEndpoint&source=PopGw FATAL RequestId: 27B16911-8B1D-5EAA-A415-0B198C0C5599 FATAL Message: The specified endpoint can't operate this region. Please use API DescribeRegions to get the appropriate endpoint, or upgrade your SDK to latest version., compute[0].platform.alibabacloud.instanceType: Internal error: SDK.ServerError FATAL ErrorCode: InvalidOperation.NotSupportedEndpoint FATAL Recommend: https://error-center.aliyun.com/status/search?Keyword=InvalidOperation.NotSupportedEndpoint&source=PopGw FATAL RequestId: EA326A86-7E6E-5DBD-8F2C-796734DA9EE1 FATAL Message: The specified endpoint can't operate this region. Please use API DescribeRegions to get the appropriate endpoint, or upgrade your SDK to latest version.] $ aliyun vpc DescribeRegions | jq -c ".Regions.Region[] | select(.RegionId | contains(\"cn-guangzhou\"))" | jq -r .RegionEndpoint vpc.cn-guangzhou.aliyuncs.com $ aliyun ecs DescribeRegions | jq -c ".Regions.Region[] | select(.RegionId | contains(\"cn-guangzhou\"))" | jq -r .RegionEndpoint ecs.cn-guangzhou.aliyuncs.com $ Setting this as a non-blocker for now since the installation fails early in regions that exhibit this issue. However, before we release we should either (1) fix the endpoint issue or (2) exclude the problematic regions from the selection list. root cause has been found, sunhui is working on it, PR will be submitted soon. Have fixed it on the PR https://github.com/openshift/installer/pull/5571 Tested and now the install-config.yaml can be created successfully for the 3 regions, mark as verified. $ openshift-install version openshift-install 4.10.0-0.nightly-2022-01-29-015515 built from commit 4fc9fa88c22221b6cede2456b1c33847943b75c9 release image registry.ci.openshift.org/ocp/release@sha256:b6bded497818f2e07401988576f15c62cd6fe45c385d177b50a43d6dabaf4524 release architecture amd64 $ openshift-install create install-config --dir test1 ? SSH Public Key /home/fedora/.ssh/openshift-qe.pub ? Platform alibabacloud ? Region cn-wulanchabu ? Base Domain alicloud-cn.devcluster.openshift.com ? Cluster Name jiwei-620 ? Pull Secret [? for help] ******* INFO Install-Config created in: test1 $ $ openshift-install create install-config --dir test2 ? SSH Public Key /home/fedora/.ssh/openshift-qe.pub ? Platform alibabacloud ? Region ap-southeast-6 ? Base Domain alicloud-cn.devcluster.openshift.com ? Cluster Name jiwei-621 ? Pull Secret [? for help] ******* INFO Install-Config created in: test2 $ $ openshift-install create install-config --dir test3 ? SSH Public Key /home/fedora/.ssh/openshift-qe.pub ? Platform alibabacloud ? Region cn-guangzhou ? Base Domain alicloud-cn.devcluster.openshift.com ? Cluster Name jiwei-622 ? Pull Secret [? for help] ******* INFO Install-Config created in: test3 $ 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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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/RHSA-2022:0056 |