]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR drivers volume size conversion is incorrect
authorKurt Martin <kurt.f.martin@hpe.com>
Fri, 6 Nov 2015 16:42:50 +0000 (08:42 -0800)
committerKurt Martin <kurt.f.martin@hpe.com>
Fri, 6 Nov 2015 16:43:25 +0000 (08:43 -0800)
commit0ed514cb0ac0cc5842d695a80a29784ec098e82b
tree320010a598cb960bc7ec403bcd51a2c37f12a3b0
parentcb029f2cab3513d8cb73ded558fd8676bd80e849
3PAR drivers volume size conversion is incorrect

The 3PAR drivers conversion of the volume size to gibibytes (GiBs) is
incorrect, resulting in slightly smaller volumes than expected. The
drivers were assuming the input was gigabytes (GBs) when in fact the
input was gibibytes (GiBs) as documented by the cinder API.

Change-Id: I5c86f506790723195f8f9433c9e5eedddd53a4ab
Closes-bug: 1513158
cinder/tests/unit/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py