Only convert VirtualDiskFix for #57653 clone_with_convert is failing

pull/59380/head
Evert Mulder 5 years ago committed by Gonéri Le Bouder
parent e9b1e36d76
commit 66d12f6f1e

@ -2214,7 +2214,7 @@ class PyVmomiHelper(PyVmomi):
# Convert disk present in template if is set
if self.params['convert']:
for device in vm_obj.config.hardware.device:
if hasattr(device.backing, 'fileName'):
if isinstance(device, vim.vm.device.VirtualDisk):
disk_locator = vim.vm.RelocateSpec.DiskLocator()
disk_locator.diskBackingInfo = vim.vm.device.VirtualDisk.FlatVer2BackingInfo()
if self.params['convert'] in ['thin']:

@ -91,9 +91,8 @@
setup_virtualmachines: true
- block:
- include: boot_firmware_d1_c1_f0.yml
# Failing, see: https://github.com/ansible/ansible/issues/57653
# - include: clone_with_convert.yml
# - include: clone_customize_guest_test.yml
- include: clone_with_convert.yml
- include: clone_customize_guest_test.yml
- include: max_connections.yml
- include: mem_reservation.yml
always:

Loading…
Cancel
Save