Bug 1848987 (OCPRHV-207)

Summary: OCPRHV-207: 4.6 Add message to users that CTRL C is possible to change username
Product: OpenShift Container Platform Reporter: Douglas Schilling Landgraf <dougsland>
Component: InstallerAssignee: aos-install
Installer sub component: OpenShift on RHV QA Contact: Guilherme Santos <gdeolive>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified    
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:08:08 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 Douglas Schilling Landgraf 2020-06-19 12:42:45 UTC
Description of problem:

Now users can switch username in case they provided the wrong one. However, the software must say this option is available in case of failure.

Example today:
----------------
./openshift-install create install-config
? SSH Public Key /root/.ssh/id_rsa.pub
? Platform ovirt
? Engine FQDN[:PORT] ocp-qe-1.qa.lab.tlv.redhat.com
? Engine username homer@simpson@springfield
? Engine password ******
X Sorry, your reply was invalid: failed to connect to Engine platform Error during SSO authentication access_denied : Cannot authenticate user 'homer@simpson@springfield': No valid profile found in credentials..


What's expected?
------------------------
Change the error message to include: "Press CTRL C to switch username" or similar msg.



See also:
-------------
User cannot fix wrong oVirt user once provided to the installer 
https://bugzilla.redhat.com/show_bug.cgi?id=1839746#c7

Comment 1 Douglas Schilling Landgraf 2020-07-09 12:09:42 UTC
due to capacity constraints we will be revisiting this bug in the upcoming sprint

Comment 4 Guilherme Santos 2020-07-22 13:48:20 UTC
Verified on:
4.6.0-0.nightly-2020-07-22-074636

Steps:
1. # openshift-install create cluster --log-level=debug --dir=resources

Results:
message "Press Ctrl+C to switch username" present and functionality behaving as expected

Comment 7 errata-xmlrpc 2020-10-27 16:08:08 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 (OpenShift Container Platform 4.6 GA Images), 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:4196