TripleO should create Cinder default volume type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Alan Bishop |
Bug Description
Cinder supports multiple volume types, and every Cinder volume is supposed to be associated with a volume type. Cinder does allow volumes to be created without a volume type, but this can lead to problems later in the volume's life cycle (for example, when retyping or migrating the volume to another backend).
Here is an example showing a volume created with no associated volume type (3rd row from bottom of the table).
(overcloud) [stack@undercloud ~]$ openstack volume create --size=1 vol
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2018-07-
| description | None |
| encrypted | False |
| id | cbf43df4-
| migration_status | None |
| multiattach | False |
| name | vol |
| properties | |
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | None |
| updated_at | None |
| user_id | 578ad27ca80e4b5
+------
In order to avoid volume life cycle problems, TripleO should:
1) Configure the default_volume_type in /etc/cinder/
2) Ensure the default_volume_type is valid (i.e. the volume type exists)
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Fix proposed to branch: master /review. openstack. org/583341
Review: https:/