Comment 2 for bug 1158959

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/25281
Committed: http://github.com/openstack/cinder/commit/1410af4214379da13b10baec3ddb37cbce7e5eb6
Submitter: Jenkins
Branch: master

commit 1410af4214379da13b10baec3ddb37cbce7e5eb6
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: I760fe1ba4052bb2d5b1a1a5c55c9a976522af107