VMware: Handle image size correctly for OVA and streamOptimized images
The image size is different from the virtual disk size when the image is
streamOptimized or OVA. In this case we need to use the size of the
virtual disk which belongs to the temporary VM created by ImportVApp.
This works for both vSAN and VMFS datastores.
Reviewed: https:/ /review. fuel-infra. org/16654 ci/fuel- 8.0/liberty
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-
Commit: 76bcddc4016149d 78a8169e332fba0 a04facff7d
Author: Radoslav Gerganov <email address hidden>
Date: Wed Feb 3 13:01:05 2016
VMware: Handle image size correctly for OVA and streamOptimized images
The image size is different from the virtual disk size when the image is
streamOptimized or OVA. In this case we need to use the size of the
virtual disk which belongs to the temporary VM created by ImportVApp.
This works for both vSAN and VMFS datastores.
Related- Upstream- Bugs: #1240373 #1472955
Closes-Bug: #1536795
Change-Id: Ie7df9a78632ff0 1453b07ee9fed3d ffdd8b4a0c7