]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
DRBD driver: resize volume if cloned image is larger
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 10 Mar 2016 12:45:09 +0000 (13:45 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 11 Mar 2016 09:51:08 +0000 (10:51 +0100)
commit0532c1583ba761a1a67b9608b46408827edec299
tree0d4465f61816bad0258cef54bc8fdd78937934ba
parent6b864410152f794152a1465beab4dec8feba7f13
DRBD driver: resize volume if cloned image is larger

Extend volume if during create_cloned_volume() the new
volume is larger than the image it was cloned from.

Closes-Bug: #1554756

Change-Id: Id43e18c32c241a30cb35effe1fab8effe4517ba9
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
cinder/tests/unit/test_drbdmanagedrv.py
cinder/volume/drivers/drbdmanagedrv.py