Bug 1956208 - Installer should validate root volume type
Summary: Installer should validate root volume type
Status: ON_QA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: Emilien Macchi
QA Contact: rlobillo
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-03 08:13 UTC by Martin André
Modified: 2021-05-11 11:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4904 0 None open Bug 1956208: openstack: add validation for volume types 2021-05-05 16:28:46 UTC

Description Martin André 2021-05-03 08:13:05 UTC
Deploying OCP with a root volume type that does not exist (think typo) leads to an obscure terraform error:

    level=error msg=Error: Error creating openstack_blockstorage_volume_v3: Resource not found
    level=error msg=  on ../tmp/openshift-install-401122317/bootstrap/main.tf line 34, in resource "openstack_blockstorage_volume_v3" "bootstrap_volume":
    level=error msg=  34: resource "openstack_blockstorage_volume_v3" "bootstrap_volume" {

This is a user error that is easy to happen as seen in https://bugzilla.redhat.com/show_bug.cgi?id=1812847.

The installer should validate the provided root volume type exists and fail with a clear error otherwise.

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