Bug 2040160
Summary: | [IPI on Alibabacloud] installation fails when region does not support pay-by-bandwidth | ||||||
---|---|---|---|---|---|---|---|
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: | medium | ||||||
Priority: | medium | CC: | bteng, gpei, 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: | |||||||
: | 2042356 (view as bug list) | Environment: | |||||
Last Closed: | 2022-03-10 16:39:13 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 2042356 | ||||||
Attachments: |
|
Description
Jianli Wei
2022-01-13 06:53:26 UTC
I have tested AllocateEipAddress in my environmnet, EIP can be allocated successfully. Maybe EIP reached the quota limit in your account? I will send you a screenshot in slack. shell@Alicloud:~$ aliyun vpc AllocateEipAddress --RegionId me-east-1 --endpoint vpc.me-east-1.aliyuncs.com { "AllocationId": "eip-eb30z1urfwd3jcs2ew5iz", "EipAddress": "47.91.126.141", "RequestId": "8DD7C858-F24D-39F2-A033-051AEB156998", "ResourceGroupId": "rg-acfm2ia66e2qy4y" PVTZ service is not supported in Dubai(me-east-1), because there is only one AZ, which leaded to the failure. FYI As suggested by Bo Teng, adding the param '--InternetChargeType PayByTraffic' can successfully allocating an EIP. $ aliyun vpc AllocateEipAddress --RegionId me-east-1 --Name jiwei-test1-eip --InternetChargeType PayByTraffic --endpoint vpc.me-east-1.aliyuncs.com { "AllocationId": "eip-eb3w4ooz8p61e9kfhyl17", "EipAddress": "47.91.109.174", "RequestId": "EF514AB0-E05F-384A-B0C1-20B0FD874528", "ResourceGroupId": "rg-acfnw6kdej3hyai" } $ Default is pay by bandwidth, but Dubai does not support pay by bandwidth. Regarding EIP Dubai does not support EIP paid by bandwidth, only support pain by traffic. Since PVTZ is not support, OCP can not support this region. @bteng Are there API calls that the installer could make to verify that PVTZ is or is not supported in a region? Ideally, the installer would fail before running the terraform with a more meaningful error given to the user. I have moved the issue with the PVTZ service to https://bugzilla.redhat.com/show_bug.cgi?id=2042356. I am changing the focus of this BZ to be only the issue with the EIP. *** Bug 2041664 has been marked as a duplicate of this bug. *** Tested with region 'ap-south-1 (India (Mumbai))' (bug https://bugzilla.redhat.com/show_bug.cgi?id=2041664) and now the EIP does be created by installer. Mark as verified. $ openshift-install version openshift-install 4.10.0-0.nightly-2022-01-20-082726 built from commit 9eade28a9ce4862a6ef092bc5f5fcfb499342d4d release image registry.ci.openshift.org/ocp/release@sha256:bdc27b9ff4a1a482d00fc08924f1157d782ded9f3e91af09fe9f3596bcea877c release architecture amd64 $ $ aliyun vpc DescribeEipAddresses --RegionId ap-south-1 --EipName jiwei-405-bbrrc-eip --output cols=AllocationId,InstanceRegionId,InstanceType,Description,InternetChargeType,IpAddress,Tags.Tag[] rows=EipAddresses.EipAddress[] AllocationId | InstanceRegionId | InstanceType | Description | InternetChargeType | IpAddress | Tags.Tag[] ------------ | ---------------- | ------------ | ----------- | ------------------ | --------- | ---------- eip-a2dkmtv16me8rv4sr16wb | ap-south-1 | Nat | Created By OpenShift Installer | PayByTraffic | 149.129.184.209 | [map[Key:Name Value:jiwei-405-bbrrc-eip] map[Key:sigs.k8s.io/cloud-provider-alibaba/origin Value:ocp] map[Key:GISV Value:ocp] map[Key:kubernetes.io/cluster/jiwei-405-bbrrc Value:owned]] $ 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 |