CoraidDriver: Create_volume_from_snapshot of a different size
When you create a Volume from a Snapshot, the 'size' argument for the
new volume isn't used at all.
So, the new volume created will be created (successfully but) with the
same size as the snapshot size.
Cinder think the volume has been created with the right size.
We just need to call Coraid ESM LV Resize with the REST API after
the volume has been created.
Reviewed: https:/ /review. openstack. org/25281 github. com/openstack/ cinder/ commit/ 1410af4214379da 13b10baec3ddb37 cbce7e5eb6
Committed: http://
Submitter: Jenkins
Branch: master
commit 1410af4214379da 13b10baec3ddb37 cbce7e5eb6
Author: Jean-Baptiste Ransy <email address hidden>
Date: Thu Jun 20 17:39:45 2013 +0200
CoraidDriver: Create_ volume_ from_snapshot of a different size
When you create a Volume from a Snapshot, the 'size' argument for the
new volume isn't used at all.
So, the new volume created will be created (successfully but) with the
same size as the snapshot size.
Cinder think the volume has been created with the right size.
We just need to call Coraid ESM LV Resize with the REST API after
the volume has been created.
Fixes bug 1158959
Change-Id: I760fe1ba4052bb 2d5b1a1a5c55c9a 976522af107