Description of problem: Today we have a very long function called askCredentials() (81 lines) which hold several questions to users. We must split this code for readability and easy maintenance. Reference: https://github.com/openshift/installer/blob/690817bea24bc9d30f7068b855944c4977a8fdec/pkg/asset/installconfig/ovirt/credentials.go#L11-L92
One bug per PR, this seems like it should be split form the CA related bugs and PR.
Verified on: 4.6.0-0.nightly-2020-07-22-074636 Steps: 1. guarantee no ovirt-config.yaml file beforehand # rm ~/.ovirt/ovirt-config.yaml 2. # openshift-install create cluster --log-level=debug --dir=resources Results: after providing the RHV credentials, the connection has been established as expected (cluster infos gathered and showed to the user)
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