Description of problem: During OCP installing on GCP using installer, an error occures when following below prompts to select platform GCP using space, however, enter works. The issue also happens on Region selection. ? Platform [Use arrows to move, space to select, type to filter" Version-Release number of the following components: openshift-install-linux-4.3.0-0.nightly-2019-11-18-175710 How reproducible: 100% Steps to Reproduce: 1. Issue the following cli to install a cluster on GCP ./openshift-install create cluster --dir=./gcp_cluster --log-level=debug 2. Navigate to platform page, move to gcp ? Platform [Use arrows to move, space to select, type to filter, ? for more help] aws azure > gcp openstack 3. Use space to select 4. Use enter to move on Actual results: An error occurs when using space to select platform. However enter works. The issue also happens on region selection. X Sorry, your reply was invalid: Value is required ? Platform [Use arrows to move, space to select, type to filter, ? for more help] > aws azure gcp openstack Expected results: Space works well if keeping the prompts unchanged. Alternatively, change the prompts to ? Platform [Use arrows to move, enter to select, type to filter, ? for more help] Additional info:
The issue also happens on Base Domain selection.
This is an upstream bug in the prompt. Not sure how we track those in BZ. I created https://github.com/AlecAivazis/survey/pull/260 to remedy.
(In reply to Patrick Dillon from comment #2) > This is an upstream bug in the prompt. Not sure how we track those in BZ. I > created https://github.com/AlecAivazis/survey/pull/260 to remedy. Just leave this bug open and track that PR. If it becomes clear that it may not merge for some reason we'll decide what to do about it.
https://github.com/AlecAivazis/survey/pull/260 merged..so we should update our vendored version
The prior PR was to V2, which requires Go modules. I created a PR to cherry-pick back to V1: https://github.com/AlecAivazis/survey/pull/269
Verified with 4.4.0-0.nightly-2020-02-13-212616 [root@preserve-yangyangmerrn-1 build]# openshift-install create install-config --dir=test ? SSH Public Key [Use arrows to move, enter to select, type to filter, ? for mo? SSH Public Key [Use arrows to move, enter to select, type to filter, ? for mo? SSH Public Key /root/.ssh/id_rsa.pub ? Platform [Use arrows to move, enter to select, type to filter, ? for more hel? Platform [Use arrows to move, enter to select, type to filter, ? for more hel? Platform [Use arrows to move, enter to select, type to filter, ? for more hel? Platform gcp INFO Credentials loaded from file "/root/.gcp/osServiceAccount.json" ? Project ID openshift-qe ? Region us-central1 ? Base Domain [Use arrows to move, enter to select, type to filter, ? for more ? Base Domain qe.gcp.devcluster.openshift.com ? Cluster Name [? for help] Prompt use enter to make selection hence moving it to verified state.
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, 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/RHBA-2020:0581