Bug 1940337
| Summary: | rhos-ipi installer fails with not clear message when openstack tenant doesn't have flavors needed for compute machines | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tareq Alayan <talayan> |
| Component: | Installer | Assignee: | Pierre Prinetti <pprinett> |
| Installer sub component: | OpenShift on OpenStack | QA Contact: | Udi Shkalim <ushkalim> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | pprinett |
| Version: | 4.8 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The case where a flavor is missing was improperly handled by code validation
Consequence: When the user sets an in install-config a flavor that is not present in OpenStack, the error message was confusing.
Fix: A flavor that is not found on Nova is now correctly reported inside the pre-flight check code.
Result: When the user sets an in install-config a flavor that is not present in OpenStack, the pre-flight checks now correctly report the error.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:54:17 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
Tareq Alayan
2021-03-18 08:39:33 UTC
Verified on:4.8.0-0.nightly-2021-06-03-055145 (shiftstack) [stack@undercloud-0 ~]$ openstack flavor list +--------------------------------------+---------------+-----+------+-----------+-------+-----------+ | ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public | +--------------------------------------+---------------+-----+------+-----------+-------+-----------+ | 40af7133-41f1-44c7-886d-423d1297d121 | m4.xlargeeeee | 256 | 0 | 0 | 1 | True | +--------------------------------------+---------------+-----+------+-----------+-------+-----------+ (shiftstack) [stack@undercloud-0 ~]$ openshift-install create cluster --dir ostest/ FATAL failed to fetch Metadata: failed to load asset "Install Config": [controlPlane.platform.openstack.type: Not found: "m4.xlarge", compute[0].platform.openstack.type: Not found: "m4.xlarge"] 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438 |