Comment 10 for bug 1171226

Reviewed: https://review.openstack.org/49842
Committed: http://github.com/openstack/nova/commit/d791181b621302f7c4d0b2e20d4859e64fcd8631
Submitter: Jenkins
Branch: stable/grizzly

commit d791181b621302f7c4d0b2e20d4859e64fcd8631
Author: Vui Lam <email address hidden>
Date: Mon Aug 5 00:37:47 2013 -0700

    VMwareVCDriver Fix sparse disk copy error on spawn

    The same approach of calling VirtualDiskManager.CopyVirtualDisk
    without destination disk spec in the cluster driver for fixing 1184807
    turns out to work for copying a sparse disk as well because vCenter's behavior
    for specless copy is to do the reasonable thing of converting a sparse disk to
    thin-provisioned, and a flat disk to preallocated.

    Tests done:

    Verified using tempest that sparse/thin/preallocated image types deploys
    properly through the cluster driver. Tempest output to be included in
    the review comments.

    Fixes bug 1171226

    (cherry picked from commit 42e929e990c7d5c4484c05bc92e57f64ca85629e)

    Conflicts:

     nova/tests/virt/vmwareapi/test_vmwareapi.py
     nova/virt/vmwareapi/vmops.py

    Change-Id: I51627ddb4b9df8cf80f0b9c6efe68ec9eb68cd99