Description of problem: If FQDN provided by user not reachable the installer stop and not continuing asking more questions regarding the environment. Today: ------- $ ./bin/openshift-install create cluster --log-level=debug ? Platform ovirt ? oVirt API endpoint URL https://abcd.yzt ? Is the oVirt CA trusted locally? [? for help] (Y/n) Expected results: ---------------------- $ ./bin/openshift-install create cluster --log-level=debug ? Platform ovirt ? oVirt API endpoint URL https://abcd.yzt DEBUG Checking URL Response: https://abcd.yzt FATAL Get "https://abcd.yzt": dial tcp: lookup abcd.yzt on 127.0.0.1:53: no such host [douglas@localhost installer]$
Attempted verification with: openshift-install-linux-4.6.0-0.nightly-2020-06-11-041445 Failed verification: [root@ocp-qe-1 secondary]# ./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 admin@internal FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": you must pass a pointer as the target of a Write operation The same happens if I add port after the FQDN. Also, it seems as thought the PR referenced in this BZ was never merged. Could you please provide the actual PR?
Thanks Jan. I was able to reproduce this as well, added the "Depends on" bug.
Verified with: openshift-install-linux-4.6.0-0.nightly-2020-06-19-020835 Installer only proceeds when it gets FQDN/port combination that can be resolved. So the original intent of this BZ has been fulfilled. However, I ran into two cases, where this causes a little strange user experience and reported them here: Bug 1848885 - OCPRHV-205: Exit installation once we receive 404 when trying to contact engine Bug 1848901 - OCPRHV-206: When trying to resolve engine FQDN, let's try to strip it from both ends
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