]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Pass new volume size when cloning (blockbridge)
authorJoshua Huber <jhuber@blockbridge.com>
Thu, 10 Mar 2016 01:15:36 +0000 (20:15 -0500)
committerJoshua Huber <jhuber@blockbridge.com>
Thu, 10 Mar 2016 01:15:36 +0000 (20:15 -0500)
commit2f8e6c9134508959eca3f0839673126bec54bde6
tree1a0a56086aa8f5b049246703114359a0de9a8cf7
parent0066d554c6b9b8e169c08bf90d3cacda9764102b
Pass new volume size when cloning (blockbridge)

When creating a cloned volume (using the Blockbridge driver), pass the
new volume capacity to the backend. After a successful clone, the
backend extends the new volume to the requested size.

Update unit test to ensure capacity param is supplied to the backend
API.

Change-Id: I5e9527691b4575e355143e61fd8ed0354ac2c3d9
Closes-Bug: #1554750
cinder/tests/unit/test_blockbridge.py
cinder/volume/drivers/blockbridge.py