Bug 2041664 - [IPI on Alibabacloud] IPI installation in region 'ap-south-1 (India (Mumbai))' failed on AllocateEipAddress
Summary: [IPI on Alibabacloud] IPI installation in region 'ap-south-1 (India (Mumbai))...
Keywords:
Status: CLOSED DUPLICATE of bug 2040160
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: aos-install
QA Contact: Jianli Wei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-18 02:57 UTC by Jianli Wei
Modified: 2022-01-19 10:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-19 10:32:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jianli Wei 2022-01-18 02:57:11 UTC
Version:
$ openshift-install version
openshift-install 4.10.0-0.ci.test-2022-01-18-015330-ci-ln-c2rvwfb-latest
built from commit c4bc155f6de2494b9baca767cd74dc665e2ec468
release image registry.build01.ci.openshift.org/ci-ln-c2rvwfb/release@sha256:105a191b4183a002f36cd4421a8db27ccb1e352d20a428e3899b0da491859451
release architecture amd64

Platform: alibabacloud

Please specify:
* IPI

What happened?
AllocateEipAddress failed, because the region doesn't support the default InternetChargeType 'PayByBandwidth'.

What did you expect to happen?
The installer should detect the limitation of the region and provide valid InternetChargeType when allocating an EIP.

How to reproduce it (as minimally and precisely as possible)?
Always.

Anything else we need to know?
>(1) the error message (from the QE flexy-install job https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-common/job/Flexy-install/67943/)
01-18 10:01:48.438  level=error msg=Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_eip_address.go:200: Resource alicloud_eip_address AllocateEipAddress Failed!!! [SDK alibaba-cloud-sdk-go ERROR]:
01-18 10:01:48.438  level=error msg=SDKError:
01-18 10:01:48.438  level=error msg=   Code: OrderError.EIP
01-18 10:01:48.438  level=error msg=   Message: code: 400, The Account failed to create order. request id: BE5ADFF8-2DA0-3D44-99F6-CF6CF4DC88F4
01-18 10:01:48.438  level=error msg=   Data: {"Code":"OrderError.EIP","HostId":"vpc.ap-south-1.aliyuncs.com","Message":"The Account failed to create order.","Recommend":"https://error-center.aliyun.com/status/search?Keyword=OrderError.EIP\u0026source=PopGw","RequestId":"BE5ADFF8-2DA0-3D44-99F6-CF6CF4DC88F4"}
01-18 10:01:48.439  level=error
01-18 10:01:48.439  level=error
01-18 10:01:48.439  level=error msg=  on ../../../../../../../../tmp/openshift-install-cluster-2975057388/vpc/eip.tf line 1, in resource "alicloud_eip_address" "eip":
01-18 10:01:48.439  level=error msg=   1: resource "alicloud_eip_address" "eip" {

>(2) using "aliyun" to simulate the error
$ aliyun vpc AllocateEipAddress --RegionId ap-south-1 --Name jiwei-test1-eip --endpoint vpc.ap-south-1.aliyuncs.com
ERROR: SDK.ServerError
ErrorCode: OrderError.EIP
Recommend: https://error-center.aliyun.com/status/search?Keyword=OrderError.EIP&source=PopGw
RequestId: 00EF96AB-5369-3382-8920-AD2573B24977
Message: The Account failed to create order.
$ aliyun vpc AllocateEipAddress --RegionId ap-south-1 --Name jiwei-test1-eip --endpoint vpc.ap-south-1.aliyuncs.com
ERROR: SDK.ServerError
ErrorCode: OrderError.EIP
Recommend: https://error-center.aliyun.com/status/search?Keyword=OrderError.EIP&source=PopGw
RequestId: 4DE26BE1-A22A-36EF-8960-6828A5706DD9
Message: The Account failed to create order.

>(3) using "aliyun" but specifying the supported InternetChargeType by the region
$ aliyun vpc AllocateEipAddress --RegionId ap-south-1 --Name jiwei-test1-eip --InternetChargeType PayByTraffic --endpoint vpc.ap-south-1.aliyuncs.com
{
        "AllocationId": "eip-a2drmtz5pe3vwertqnhkq",
        "EipAddress": "149.129.189.114",
        "RequestId": "C35C5278-4507-315A-9C9D-5DBC6DEEDE11",
        "ResourceGroupId": "rg-acfnw6kdej3hyai"
}
$

Comment 1 bteng 2022-01-19 06:46:14 UTC
It should be the same root cause with Dubai EIP creation failure which is because EIP pay by bandwidth is not supported in Mumbai and Dubai region by Alibabacloud.com account. Since all the region support EIP Paid by traffic, we will submit a PR to change payment to PayByTraffic as default setting. The customer can change to pay by bandwidth after OCP cluster is created in the region that support EIP pay by bandwidth.

Comment 2 Matthew Staebler 2022-01-19 10:32:00 UTC

*** This bug has been marked as a duplicate of bug 2040160 ***


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