Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1755552

Summary: Interactive installer fails without clear error message if flavors do not exist
Product: OpenShift Container Platform Reporter: Sai Sindhur Malleni <smalleni>
Component: InstallerAssignee: Mike Fedosin <mfedosin>
Installer sub component: OpenShift on OpenStack QA Contact: weiwei jiang <wjiang>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: arghosh, jialiu, m.andre
Version: 4.2.0Keywords: NeedsTestCase
Target Milestone: ---   
Target Release: 4.3.0   
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: 2020-05-13 21:25:15 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 Sai Sindhur Malleni 2019-09-25 16:41:50 UTC
Description of problem:
When no flavors exist on the cloud, the interactive installer fails without a clear error message



Version-Release number of the following components:
4.2.0-0.nightly-2019-09-24-025718

How reproducible:

100%
Steps to Reproduce:
(overcloud) [stack@f08-h17-b01-5039ms ocp]$ ./openshift-install --dir=ostest create install-config
? SSH Public Key /home/stack/.ssh/id_rsa.pub
? Platform openstack
? Cloud shiftstack
? ExternalNetwork public
? APIFloatingIPAddress 172.21.0.126
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": please provide options to select from 

Actual results:
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": please provide options to select from 

Expected results:
If pre-requisite flavors are not available, the installer can fail but should output a clear error message as to why it failed.

Additional info:

Comment 2 Martin André 2019-11-19 12:35:17 UTC
This should be fixed with https://github.com/openshift/installer/pull/2626

Comment 6 errata-xmlrpc 2020-05-13 21:25:15 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, 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:0062