Bug 2033524 - [IPI on Alibabacloud] interactive installer cannot list existing base domains
Summary: [IPI on Alibabacloud] interactive installer cannot list existing base domains
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.10.0
Assignee: aos-install
QA Contact: Jianli Wei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-17 05:56 UTC by Jianli Wei
Modified: 2022-03-10 16:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:34:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5533 0 None open Bug 2033524: [Alibaba] support for list existing domains 2022-01-13 03:49:36 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:34:51 UTC

Description Jianli Wei 2021-12-17 05:56:17 UTC
Version:

$ openshift-install version
openshift-install 4.10.0-0.ci-2021-12-17-014800
built from commit 2a320fbf90d2a232c19517251ea4f7f5e171682c
release image registry.ci.openshift.org/ocp/release@sha256:c04823dfd2d2fd8cc4da4bf63dc4e5d7f34ec9a414746863a350a822423b8c7c
release architecture amd64

Platform: alibabacloud

Please specify:
* IPI (automated install with `openshift-install`. If you don't know, then it's IPI)

What happened?
The interactive installer would ask for Base Domain every time, without the ability listing existing base domains. 

$ openshift-install create install-config --dir jiwei-ali01
? SSH Public Key /home/jiwei/.ssh/openshift-qe.pub
? Platform alibabacloud
? Region us-east-1
? Base Domain alicloud-qe.devcluster.openshift.com
? Cluster Name jiwei-ali01
? Pull Secret [? for help] ***********
INFO Install-Config created in: jiwei-ali01
$
$ openshift-install create install-config --dir jiwei-ali02
? SSH Public Key /home/jiwei/.ssh/openshift-qe.pub
? Platform alibabacloud
? Region us-east-1
? Base Domain [? for help] 

What did you expect to happen?
Existing base domains should be automatically listed with alibabacloud.

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

Anything else we need to know?

Existing base domains can be automatically listed with gcp/aws/etc.

$ openshift-install create install-config --dir jiwei-gcp01
? SSH Public Key /home/jiwei/.ssh/openshift-qe.pub
? Platform gcp
INFO Credentials loaded from file "/home/jiwei/.gcp/osServiceAccount.json" 
? Project ID OpenShift QE (openshift-qe)
? Region us-central1
? Base Domain  [Use arrows to move, type to filter, ? for more help]
> qe.gcp.devcluster.openshift.com
  qe1.gcp.devcluster.openshift.com
  qe2.qe1.gcp.devcluster.openshift.com
  quay350.qe.gcp.devcluster.openshift.com
  quayldap.qe.gcp.devcluster.openshift.com

$ gcloud dns managed-zones list --filter="visibility=public"
NAME      DNS_NAME                                   DESCRIPTION                  VISIBILITY
qe        qe.gcp.devcluster.openshift.com.           Base Domain for QE clusters  public
qe1       qe1.gcp.devcluster.openshift.com.                                       public
qe2       qe2.qe1.gcp.devcluster.openshift.com.                                   public
quay350   quay350.qe.gcp.devcluster.openshift.com.                                public
quayldap  quayldap.qe.gcp.devcluster.openshift.com.                               public
$

Comment 2 Jianli Wei 2022-01-19 06:05:11 UTC
Tested and the existing base domain does be listed, and pressing Enter directly does get it applied. Mark as verified. 

$ openshift-install version
openshift-install 4.10.0-0.nightly-2022-01-19-050236
built from commit 274a5848e4a85460f9fe367ddd760a597cecd679
release image registry.ci.openshift.org/ocp/release@sha256:a7fd0f26d9a6bc21f1e749bf17b261cd479ea19354d0bda86673c732b53a9b6c
release architecture amd64
$ 
$ openshift-install create install-config --dir work 
? SSH Public Key /home/fedora/.ssh/openshift-qe.pub
? Platform alibabacloud
? Region cn-hangzhou
? Base Domain  [Use arrows to move, type to filter, ? for more help]
> alicloud-qe.devcluster.openshift.com
? Base Domain alicloud-qe.devcluster.openshift.com
? Cluster Name jiwei-302
? Pull Secret [? for help] ***
INFO Install-Config created in: work              
$

Comment 6 errata-xmlrpc 2022-03-10 16:34:34 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 (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


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