Bug 2034578

Summary: alicloud interactive shell does not save the default region correctly
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: InstallerAssignee: aos-install
Installer sub component: openshift-installer QA Contact: Johnny Liu <jialiu>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: unspecified    
Version: 4.9   
Target Milestone: ---   
Target Release: ---   
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: 2021-12-21 11:52:51 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 Johnny Liu 2021-12-21 11:36:37 UTC
Version:

$ openshift-install version
4.10.0-0.nightly-2021-12-20-231053

Platform:
alicloud

Please specify:
* IPI

What happened?


What did you expect to happen?


How to reproduce it (as minimally and precisely as possible)?
1. start installer interactive shell to run alicloud install
2. When it comes to "Region" option, by default, the narrow is pointing the region to "ap-northeast-1"
[root@preserve-jialiu-ansible ~]# openshift-install create install-config --dir alidemo3
? SSH Public Key <none>
? Platform alibabacloud
? Region  [Use arrows to move, type to filter, ? for more help]
> ap-northeast-1 (Japan (Tokyo))
  ap-south-1 (India (Mumbai))
  ap-southeast-1 (Singapore)
  ap-southeast-2 (Australia (Sydney))
  ap-southeast-3 (Malaysia (Kuala Lumpur))
  ap-southeast-5 (Indonesia (Jakarta))
  ap-southeast-6 (Philippines (Manila))
3. Type "Enter"
[root@preserve-jialiu-ansible ~]# openshift-install create install-config --dir alidemo3
? SSH Public Key <none>
? Platform alibabacloud
? Region cn-hangzhou
? Base Domain [? for help]
4. The region is saved as "cn-hangzhou", but not "ap-northeast-1"

Anything else we need to know?
If move the arrow down or up to re-select "ap-northeast-1", the region is saved correctly

Comment 1 Johnny Liu 2021-12-21 11:52:51 UTC

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