Bug 1812847 - Openshift Installer fails to create openstack blockstorage volume
Summary: Openshift Installer fails to create openstack blockstorage volume
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.3.z
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Martin André
QA Contact: David Sanz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-12 10:41 UTC by Abhishek
Modified: 2020-03-31 08:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 08:11:35 UTC
Target Upstream Version:
aabhishe: needinfo-


Attachments (Terms of Use)

Description Abhishek 2020-03-12 10:41:51 UTC
Description of problem: Installer fails to create infrastructure with the customized rootVolume param in the install-config.yaml

~~~
      rootVolume:
        size: 50
        type: performance
~~~ 


Version-Release number of selected component (if applicable):
openshift installer 4.3

Steps to Reproduce:

# ./openshift-install create cluster --dir=install
INFO Obtaining RHCOS image file from 'https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.3/43.81.202001142154.0/x86_64/rhcos-43.81.202001142154.0-openstack.x86_64.qcow2.gz?sha256=504b9008adf89bb3d05b75d393e057c6d66ba6c92cf631ca4445d99bbf7e2a57'
INFO Consuming Install Config from target directory
INFO Creating infrastructure resources...
ERROR
ERROR Error: Error creating openstack_blockstorage_volume_v3: Resource not found
ERROR
ERROR   on ../tmp/openshift-install-349457563/masters/main.tf line 30, in resource "openstack_blockstorage_volume_v3" "master_volume":
ERROR   30: resource "openstack_blockstorage_volume_v3" "master_volume" {
ERROR
ERROR
ERROR
ERROR Error: Error creating openstack_blockstorage_volume_v3: Resource not found
ERROR
ERROR   on ../tmp/openshift-install-349457563/masters/main.tf line 30, in resource "openstack_blockstorage_volume_v3" "master_volume":
ERROR   30: resource "openstack_blockstorage_volume_v3" "master_volume" {
ERROR
ERROR
ERROR
ERROR Error: Error creating openstack_blockstorage_volume_v3: Resource not found
ERROR
ERROR   on ../tmp/openshift-install-349457563/masters/main.tf line 30, in resource "openstack_blockstorage_volume_v3" "master_volume":
ERROR   30: resource "openstack_blockstorage_volume_v3" "master_volume" {
ERROR
ERROR
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform

Comment 3 Martin André 2020-03-12 15:08:11 UTC
The type needs to map to a valid volume type in your environment. Run the following command to check what types are available to you:

  openstack volume type list

Let us know if it fixes your issue.


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