Bug 1755552 - Interactive installer fails without clear error message if flavors do not exist
Summary: Interactive installer fails without clear error message if flavors do not exist
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.3.0
Assignee: Mike Fedosin
QA Contact: weiwei jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-25 16:41 UTC by Sai Sindhur Malleni
Modified: 2023-09-07 20:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-13 21:25:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer issues 2409 0 'None' closed Interactive installer fails without clear error for OpenStack if no flavors exist 2021-01-13 08:32:43 UTC
Github openshift installer pull 2626 0 'None' closed OpenStack: return correct error if no flavors were found 2021-01-13 08:32:43 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-05-13 21:25:16 UTC

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


Note You need to log in before you can comment on or make changes to this bug.