none
Conversion issues on MVMC 3.0 - Released Oct 14, 2014 RRS feed

  • Question

  • I'm getting the same issue with MVMC 3.0 that was reported for MVMC 2.0 when I attempt to convert and migrate a VMware 5.1 VM to Hyper-V running on Windows Server 2012 R2.

    Windows Server 2008 R2
    - 2 proc, 2 disks
    - converted them to thin-provision
    - attempted conversion online and offline

    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Evaluating Machine conversion request:
     Machine Conversion Request Received:
      Source Host:                        https://srv-esx-02.domain.com/sdk
      Guest Virtual Machine:              (NULL)   Use Windows user account = True
      Destination Host:                   srv-hv-14.domain.com   Use Windows user account = True
      Destination VHD path:               \\srv-hv-14.domain.com\c$\ClusterStorage\V01\srv-ir-01   Use Windows User account = True
      Destination VHD Type:               DynamicHardDisk
      Destination VHD Format:             Vhdx
      Final Source VM Power state:        Off
      Final Destination VM Power state:   Off
      Copy OVF File:                      False
      Guest VM ID:                        120
      Leave Tools Installed:              False
      Requested Provisioning:             HyperV
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    VM srv-ir-01 has Scsi device 0:0 - disk-0.vmdk
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    VM srv-ir-01 has Scsi device 0:1 - disk-1.vmdk
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Destination operating system information:
      Operating System Name: Microsoft Windows Server 2012 R2 Datacenter
      Version:               6.3.9600
      Service Pack:          Service Pack 0,0
      CIMOS Type:            18
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Evaluating Machine conversion request:
     Machine Conversion Request Received:
      Source Host:                        https://srv-esx-02.domain.com/sdk
      Guest Virtual Machine:              (NULL)   Use Windows user account = True
      Destination Host:                   srv-hv-14.domain.com   Use Windows user account = True
      Destination VHD path:               \\srv-hv-14.domain.com\c$\ClusterStorage\V01\srv-ir-01   Use Windows User account = True
      Destination VHD Type:               DynamicHardDisk
      Destination VHD Format:             Vhdx
      Final Source VM Power state:        Off
      Final Destination VM Power state:   Off
      Copy OVF File:                      False
      Guest VM ID:                        120
      Leave Tools Installed:              False
      Requested Provisioning:             HyperV
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    VM srv-ir-01 has Scsi device 0:0 - disk-0.vmdk
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    VM srv-ir-01 has Scsi device 0:1 - disk-1.vmdk
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Destination operating system information:
      Operating System Name: Microsoft Windows Server 2012 R2 Datacenter
      Version:               6.3.9600
      Service Pack:          Service Pack 0,0
      CIMOS Type:            18
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Mvmc.Gui, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Machine Conversion Request Received:
      Source Host:                        https://srv-esx-02.domain.com/sdk
      Guest Virtual Machine:              (NULL)   Use Windows user account = True
      Destination Host:                   srv-hv-14.domain.com   Use Windows user account = True
      Destination VHD path:               \\srv-hv-14.domain.com\c$\ClusterStorage\V01\srv-ir-01   Use Windows User account = True
      Destination VHD Type:               DynamicHardDisk
      Destination VHD Format:             Vhdx
      Final Source VM Power state:        Off
      Final Destination VM Power state:   Off
      Copy OVF File:                      False
      Guest VM ID:                        120
      Leave Tools Installed:              False
      Requested Provisioning:             HyperV
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Connecting to source host.
    10/20/2014 12:56:06 -05:00  [15]  VERBOSE:    Querying destination Hyper-V Host OS.
    10/20/2014 12:56:07 -05:00  [15]  VERBOSE:    Destination operating system information:
      Operating System Name: Microsoft Windows Server 2012 R2 Datacenter
      Version:               6.3.9600
      Service Pack:          Service Pack 0,0
      CIMOS Type:            18
    10/20/2014 12:56:07 -05:00  [15]  VERBOSE:    Querying source virtual machine
    10/20/2014 12:56:07 -05:00  [15]  VERBOSE:    VM srv-ir-01 has Scsi device 0:0 - disk-0.vmdk
    10/20/2014 12:56:07 -05:00  [15]  VERBOSE:    VM srv-ir-01 has Scsi device 0:1 - disk-1.vmdk
    10/20/2014 12:56:07 -05:00  [15]  VERBOSE:    Guest VMware information:
      VM Name:         srv-ir-01
      Host:            
      Tools Installed: True
      Guest OS:        Microsoft Windows Server 2008 R2 (64-bit)
      GuestId:         windows7Server64Guest
      Memory (bytes):  8589934592
      Processors:      2
      Network Cards:   2
      Disks:           2
    10/20/2014 12:56:18 -05:00  [15]  VERBOSE:    This conversion will proceed off-line.
    10/20/2014 12:56:18 -05:00  [15]  VERBOSE:    The uninstallation of tools is not supported in off-line machine conversion scenarios.
    10/20/2014 12:56:18 -05:00  [15]  VERBOSE:    NOT preparing source virtual machine, this conversion is being treated as off-line.
    10/20/2014 12:56:18 -05:00  [15]  VERBOSE:    Downloading VMware virtual disks from source virtual machine
    10/20/2014 12:56:18 -05:00  [15]  VERBOSE:    Downloading device (/120/VirtualLsiLogicSASController0:0) disk-0.vmdk
    10/20/2014 12:56:18 -05:00  [15]  VERBOSE:    Initializing (D:\V2V\MVMC\0\disk-0.vhdx) with a size of 128849018880 with preallocate false.
    10/20/2014 12:56:19 -05:00  [15]  VERBOSE:    End of initializing (D:\V2V\MVMC\0\disk-0.vhdx).
    10/20/2014 13:16:08 -05:00  [15]  VERBOSE:    Updating FAT/NTFS drive geometry.
    10/20/2014 13:16:09 -05:00  [15]  VERBOSE:    Downloading device (/120/VirtualLsiLogicSASController0:1) disk-1.vmdk
    10/20/2014 13:16:09 -05:00  [15]  VERBOSE:    Initializing (D:\V2V\MVMC\0\disk-1.vhdx) with a size of 536870912000 with preallocate false.
    10/20/2014 13:16:09 -05:00  [15]  VERBOSE:    End of initializing (D:\V2V\MVMC\0\disk-1.vhdx).
    10/20/2014 13:16:18 -05:00  [15]  VERBOSE:    System.InvalidOperationException: A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).
       at System.Threading.Tasks.Task.Dispose(Boolean disposing)
       at System.Threading.Tasks.Task.Dispose()
       at Microsoft.Accelerators.Mvmc.Engine.ForVMware.ExportLease.GetFiles(IDownloadAdapter adapter, String host, DirectoryInfo dirInfo, TaskContext taskContext)
       at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VirtualMachine.DownloadFiles(IDownloadAdapter downloadAdapter, String toPath, TaskContext context)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    10/20/2014 13:16:18 -05:00  [15]  EXCEPTION:    System.InvalidOperationException: A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).
       at System.Threading.Tasks.Task.Dispose(Boolean disposing)
       at System.Threading.Tasks.Task.Dispose()
       at Microsoft.Accelerators.Mvmc.Engine.ForVMware.ExportLease.GetFiles(IDownloadAdapter adapter, String host, DirectoryInfo dirInfo, TaskContext taskContext)
       at Microsoft.Accelerators.Mvmc.Engine.ForVMware.VirtualMachine.DownloadFiles(IDownloadAdapter downloadAdapter, String toPath, TaskContext context)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToMachine(IMachineConversionRequest machineConversionRequest, TaskContext taskContext)
       at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.<>c__DisplayClass6.<ConvertToMachineAsync>b__5()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    10/20/2014 13:16:18 -05:00  [15]  Exception caught : System.InvalidOperationException: A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).
       at Microsoft.Accelerators.Mvmc.Gui.Model.ConversionModel.ConvertGuestMachine()
       at Microsoft.Accelerators.Mvmc.Gui.ViewModels.Machine.MachineCompletionViewModel.OnWorkerDoWork()
    10/20/2014 13:16:18 -05:00  [1]  Background task is complete.
    10/20/2014 13:16:18 -05:00  [1]  Conversion error message is displayed.
    10/20/2014 13:16:18 -05:00  [1]  Value of 'ErrorMessage' = 'A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).'


    Monday, October 20, 2014 6:32 PM

Answers

  • We had the same issue with 2008 R2 and multiple disks and the only way to solve this was to downgrade MVMC to version 2.1 where this issue seems to be fixed. The download link for 2.1 seems to be gone, but maybe it's still available somewhere.
    Tuesday, November 4, 2014 8:02 PM

All replies

  • I am experiencing this too. This was apparently a bug in 2.0 but was supposed to be fixed in 2.1

    I can't seem to find a link to 2.1 anymore, anyone have a work around?

    Monday, October 27, 2014 2:23 AM
  • Were experiencing the same thing with a multi disk 2008r2 server.

    using latest verion 3

    Monday, November 3, 2014 2:48 PM
  • We had the same issue with 2008 R2 and multiple disks and the only way to solve this was to downgrade MVMC to version 2.1 where this issue seems to be fixed. The download link for 2.1 seems to be gone, but maybe it's still available somewhere.
    Tuesday, November 4, 2014 8:02 PM