]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Huawei: Check the real size before extend volume
authorWilson Liu <liuxinguo@huawei.com>
Tue, 23 Feb 2016 08:35:31 +0000 (16:35 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Thu, 3 Mar 2016 06:36:38 +0000 (14:36 +0800)
commit9de166725d863a858b6e334c5ff3e7895e4ffced
tree11a759225e16c9b92a516ad51802622b4bcb8b13
parente467b915e39aa0da87998434dd4938c1d59d7a91
Huawei: Check the real size before extend volume

Currently we not check the real size before we do the
extend on array. But in fact, users may change the
LUN size directly on the backend, not throuth Cinder
api, although the LUN is created from Cinder side.

Closes-Bug: #1548676
Change-Id: I093d23a7a18ec3f5b780095d31c795139dabd7a8
cinder/tests/unit/test_huawei_drivers.py
cinder/volume/drivers/huawei/huawei_driver.py