Report back and update the actual volume size that is created in ScaleIO.
ScaleIO volumes support sizes that are multiplies of 8 GB.
This change updates the db with the real volume size.
However, it is a partial fix, because the quota is not updated.
The boolean property sio_round_volume_capacity specifies whether the
user allows ScaleIO to create volumes with a size that is
not a multiply of 8GB, hence causing ScaleIO to round it up.
When set to False, creation of volumes with a size that is different
than 8GB will fail.
Change-Id: I10e699eab98715cf7c8cd79533fc9279e81dfbf6
DocImpact:
Partial-Bug: #1561560
(cherry picked from commit 79d2d63ad868b6898bd13327f6b81712348883b6)
Reviewed: https:/ /review. openstack. org/606139 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=569cc8a2caa 27e1667e69f30c9 7b8e0968617e32
Committed: https:/
Submitter: Zuul
Branch: driverfixes/mitaka
commit 569cc8a2caa27e1 667e69f30c97b8e 0968617e32
Author: Matan Sabag <email address hidden>
Date: Mon May 16 06:03:00 2016 -0700
ScaleIO actual volume size model update
Report back and update the actual volume size that is created in ScaleIO.
ScaleIO volumes support sizes that are multiplies of 8 GB.
This change updates the db with the real volume size.
However, it is a partial fix, because the quota is not updated.
The boolean property sio_round_ volume_ capacity specifies whether the
user allows ScaleIO to create volumes with a size that is
not a multiply of 8GB, hence causing ScaleIO to round it up.
When set to False, creation of volumes with a size that is different
than 8GB will fail.
Change-Id: I10e699eab98715 cf7c8cd79533fc9 279e81dfbf6 98bd13327f6b817 12348883b6)
DocImpact:
Partial-Bug: #1561560
(cherry picked from commit 79d2d63ad868b68