vxflex driver not handle round_volume_capacity correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
when create a volume from image, the volume size is not handle by round_volume_
root@scaleioubu
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2020-05-
| description | None |
| encrypted | False |
| id | 7679faf3-
| migration_status | None |
| multiattach | False |
| name | zhpeng4 |
| properties | |
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | scaleio1 |
| updated_at | None |
| user_id | 2dbfd0934e3b4d7
+------
root@scaleioubu
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2020-05-
| description | None |
| encrypted | False |
| id | 9a14b837-
| migration_status | None |
| multiattach | False |
| name | zhpeng5 |
| properties | |
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | scaleio1 |
| updated_at | None |
| user_id | 2dbfd0934e3b4d7
+------
root@scaleioubu
+------
| ID | Name | Status | Size | Attached to |
+------
| 9a14b837-
| 7679faf3-
+------
tags: | added: drivers scaleio vxflexos |
It is a known issue.
Volumes on VxFlex OS side are created with the correct size but in OpenStack the size is the one that the user selected.
As I can see we have 3 options:
1) don't make any changes but describe this behaviour in docs
2) prohibit to create volumes from a snapshot/volume if its size is not granular of 8
3) extend the newly created volume size in OpenStack
For options 2 and 3 we will get at least two tempest tests failed.