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.
Reviewed: https:/ /review. openstack. org/49842 github. com/openstack/ nova/commit/ d791181b621302f 7c4d0b2e20d4859 e64fcd8631
Committed: http://
Submitter: Jenkins
Branch: stable/grizzly
commit d791181b621302f 7c4d0b2e20d4859 e64fcd8631
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 VirtualDiskMana ger.CopyVirtual Disk provisioned, and a flat disk to preallocated.
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-
Tests done:
Verified using tempest that sparse/ thin/preallocat ed image types deploys
properly through the cluster driver. Tempest output to be included in
the review comments.
Fixes bug 1171226
(cherry picked from commit 42e929e990c7d5c 4484c05bc92e57f 64ca85629e)
Conflicts:
nova/ tests/virt/ vmwareapi/ test_vmwareapi. py virt/vmwareapi/ vmops.py
nova/
Change-Id: I51627ddb4b9df8 cf80f0b9c6efe68 ec9eb68cd99