]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Clone_image should return dict of vol properties, clone status.
authorNavneet Singh <singn@netapp.com>
Sat, 13 Jul 2013 06:55:30 +0000 (12:25 +0530)
committerNavneet Singh <singn@netapp.com>
Sat, 13 Jul 2013 08:09:57 +0000 (13:39 +0530)
commit632cdeca7923b7a06c3d7537b89a21d1790f230d
treea8bd7ae4e7c6d5b7a3306db14839687259a84484
parent54a7345f9e945e4dd5f379040b9d47a7e9b8dc6d
Clone_image should return dict of vol properties, clone status.

The method will work fine in case of drivers not dependent
on volume properties like provider_location. It will fail to
restart in case of nfs drivers and also leave volume created as
result of clone_image functionality created in the
nfs share in dangling state after deletion as provider_location
is None. This fix requires dict of volume properties, cloned status
to be returned which facilitates passing back provider_location
in case of nfs drivers and hence resolves the issue.

bug 1200708

Change-Id: I590571e52d1c64b6dba7d7e76cd71badd74e51d1
cinder/tests/test_rbd.py
cinder/volume/driver.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/rbd.py
cinder/volume/drivers/scality.py
cinder/volume/manager.py