-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 42e929e) Conflicts: nova/tests/virt/vmwareapi/test_vmwareapi.py nova/virt/vmwareapi/vmops.py Change-Id: I51627ddb4b9df8cf80f0b9c6efe68ec9eb68cd99
- Loading branch information
Showing
2 changed files
with
49 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters