Issue with converting HyperV to ESXi

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

fred_panisset
Posts: 5
Joined: Mon May 13, 2024 1:24 am

Mon May 13, 2024 1:26 am

Did you get the solution? I have the same problem.
yaroslav (staff)
Staff
Posts: 2457
Joined: Mon Nov 18, 2019 11:11 am

Mon May 13, 2024 6:02 am

Can I please have your conversion script?
fred_panisset
Posts: 5
Joined: Mon May 13, 2024 1:24 am

Mon May 13, 2024 1:32 pm

yaroslav (staff) wrote:
Mon May 13, 2024 6:02 am
Can I please have your conversion script?
Script:

Code: Select all

.\V2V_ConverterConsole.exe convert in_file_name="D:\HYPER-V\VMs\V2V-VMWARE-01.vhdx" out_host_type=esx out_host_address="192.168.1.2" out_host_username="root" out_vm_name="V2V-VMWARE-01" out_file_type="ft_vmdk_esx_pre_allocated" out_host_password="aaaaaa" out_file_name="[DS_LOCAL_NVME_02] V2V-VMWARE-01/V2V-VMWARE-01.vmdk"
Error:

Code: Select all

5/13 10:24:30.238 4254 Facility ???ERROR: RunConsole: VM  V2V-VMWARE-01 not found

StarWind V2V - Version 9.0.1 - Build 444

Thank you!!
yaroslav (staff)
Staff
Posts: 2457
Joined: Mon Nov 18, 2019 11:11 am

Mon May 13, 2024 9:54 pm

can I please get the conversion logs?
fred_panisset
Posts: 5
Joined: Mon May 13, 2024 1:24 am

Mon May 13, 2024 11:14 pm

yaroslav (staff) wrote:
Mon May 13, 2024 9:54 pm
can I please get the conversion logs?

Code: Select all

The log file name: 'logs\V2VConsole_Log-20240513-104256.log' (PID 18600)
5/13 10:42:56.854 2128 Facility ???INFO: main: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
5/13 10:42:56.854 2128 Facility ???INFO: main: File Version: 9.0.1.268
5/13 10:42:56.854 2128 Facility ???INFO: main: Load language IDR_XML_ENGLISH
5/13 10:42:56.854 2128 Facility ???INFO: RunConsole: Version MajorVersion 10, MinorVersion 0, BuildNumber 20348
5/13 10:42:56.861 2128 Facility ???INFO: RunConsole: "C:\Program Files\StarWind Software\StarWind V2V Converter\V2V_ConverterConsole.exe" convert in_file_name=D:\HYPER-V\VMs\V2V-VMWARE-01.vhdx out_host_type=esx out_host_address=192.168.1.2 out_host_username=root out_vm_name=V2V-VMWARE-01 out_file_type=ft_vmdk_esx_thin out_host_password=aaaaa "out_file_name=[DS_LOCAL_NVME_02] V2V-VMWARE-01/V2V-VMWARE-01.vmdk"
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: in_file_name=D:\HYPER-V\VMs\V2V-VMWARE-01.vhdx
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_host_type=esx
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_host_address=192.168.1.2
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_host_username=root
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_vm_name=V2V-VMWARE-01
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_file_type=ft_vmdk_esx_thin
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_file_name=[DS_LOCAL_NVME_02] V2V-VMWARE-01/V2V-VMWARE-01.vmdk
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
5/13 10:42:57.068 2128 Facility ???INFO: WrapperESXI::connect: m_url - https://192.168.1.2/sdk
5/13 10:42:57.091 2128 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 529a6884-ad54-302e-35a8-cd58615843cb
5/13 10:42:57.179 2128 Facility ???ERROR: RunConsole: VM  V2V-VMWARE-01 not found
fred_panisset
Posts: 5
Joined: Mon May 13, 2024 1:24 am

Tue May 14, 2024 12:44 am

yaroslav (staff) wrote:
Mon May 13, 2024 9:54 pm
can I please get the conversion logs?
5/13 10:42:56.861 2128 Facility ???INFO: RunConsole: "C:\Program Files\StarWind Software\StarWind V2V Converter\V2V_ConverterConsole.exe" convert in_file_name=D:\HYPER-V\VMs\V2V-VMWARE-01.vhdx out_host_type=esx out_host_address=192.168.1.2 out_host_username=root out_vm_name=V2V-VMWARE-01 out_file_type=ft_vmdk_esx_thin out_host_password=aaaaa "out_file_name=[DS_LOCAL_NVME_02] V2V-VMWARE-01/V2V-VMWARE-01.vmdk"
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: in_file_name=D:\HYPER-V\VMs\V2V-VMWARE-01.vhdx
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_host_type=esx
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_host_address=192.168.1.2
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_host_username=root
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_vm_name=V2V-VMWARE-01
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_file_type=ft_vmdk_esx_thin
5/13 10:42:56.861 2128 Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_file_name=[DS_LOCAL_NVME_02] V2V-VMWARE-01/V2V-VMWARE-01.vmdk
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
5/13 10:42:56.861 2128 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
5/13 10:42:57.068 2128 Facility ???INFO: WrapperESXI::connect: m_url - https://192.168.1.2/sdk
5/13 10:42:57.091 2128 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 529a6884-ad54-302e-35a8-cd58615843cb
5/13 10:42:57.179 2128 Facility ???ERROR: RunConsole: VM V2V-VMWARE-01 not found
fred_panisset
Posts: 5
Joined: Mon May 13, 2024 1:24 am

Tue May 14, 2024 12:53 am

yaroslav (staff) wrote:
Mon May 13, 2024 9:54 pm
can I please get the conversion logs?
I sent the logs, but the message went to moderation for approval.
yaroslav (staff)
Staff
Posts: 2457
Joined: Mon Nov 18, 2019 11:11 am

Tue May 14, 2024 2:23 pm

Hi,

Thanks, will ask my colleagues to look into them.
yaroslav (staff)
Staff
Posts: 2457
Joined: Mon Nov 18, 2019 11:11 am

Thu May 23, 2024 9:29 pm

Sorry for the delay.
try out_file_type="ft_vmdk_esx_pre_allocated" instead of out_file_type=ft_vmdk_esx_thin
The error ERROR: RunConsole: VM V2V-VMWARE-01 not found. describes the situation where the software converts the file and attaches it to the existing VM but fails as the VM does not exist yet. If the VM exists, my colleague confirmed the conversion to work well and the disk can be attached to it.
Post Reply