PowerFlex volume has invalid size after creation from image cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Medium
|
Unassigned |
Bug Description
Dell EMC PowerFlex storage can only work with volumes which size is multiple of 8.
In create_volume function a size requested by a user, if not multiple of 8, is increased to the nearest suitable and is returned in model_updates dict.
However, there are issues if image_volume_
$ openstack volume create --type powerflex --image cirros-
$ openstack volume list --all-projects --c Name --c Size
+------
| Name | Size |
+------
| image-8f884d32-
| vol1 | 8 |
+------
In fact, volume is extended to it's original size on [1] and has valid size on storage, but model_update
dict returned on [2] contains size attribute with value 8 (it is returned from create_volume function of the
driver). This dict will be used in higher scope function to update volume object in DB.
There may also be other backends with the same issues.
1) https:/
2) https:/
Changed in cinder: | |
importance: | Undecided → Medium |
tags: | added: cache powerflex size volume |