Comment 2 for bug 1437306

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

Reviewed: https://review.openstack.org/174291
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=3fe6adbe7d3e2009c09dd0b8516c501d50fdf25d
Submitter: Jenkins
Branch: master

commit 3fe6adbe7d3e2009c09dd0b8516c501d50fdf25d
Author: Lucian Petrut <email address hidden>
Date: Fri Mar 27 15:00:28 2015 +0200

    Windows SMBFS: Fix image resize errors during volume creation

    When creating volumes from images or snapshots, the corresponding
    virtual disk image is resized up to the volume size.

    At the moment, the resize is performed even if the image already
    has the requested size. This can raise an excepion in some
    environments.

    This patch checks the image size and performs the resize only if
    it's required.

    Change-Id: Ib65f0e8d69f93ae21975eb46ba24e085c06e4e34
    Closes-Bug: #1437306