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/43994 github. com/openstack/ nova/commit/ 42e929e990c7d5c 4484c05bc92e57f 64ca85629e
Committed: http://
Submitter: Jenkins
Branch: master
commit 42e929e990c7d5c 4484c05bc92e57f 64ca85629e
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
Change-Id: I6c48866e06c2aa 656c89848564f32 62fb7b79039