Error migrate P2V ESXi 14009 The server refused connection

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

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

Post Reply
mrobiras
Posts: 3
Joined: Thu Sep 14, 2023 10:11 am

Thu Sep 14, 2023 10:19 am

Hello,

I am converting a physical machine (it is really a virtual machine in Azure, but they do not give me access to Azure Tenan, so I am managing it as a physical machine), I have to take it to an ESXi that is in OVH, the case is that I connect without problem to start the conversion and gives me error in the creation of the images. If I look at the logs I have two errors of type 14009 (the machine has two hard disks).

Here I show you the log, can you help me to understand what happens?

SolarWind V2V Converte (9.0.1.268)
Windows Server 2016
ESXi 7.0 Update 3

The log file name: 'logs\V2V_Log-20230914-115848.log' (PID 3800)
9/14 11:58:48.471 1cd4 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
9/14 11:58:48.472 1cd4 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
9/14 11:58:48.477 1cd4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
9/14 11:58:48.477 1cd4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
9/14 11:58:48.498 1cd4 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 14393
9/14 11:58:48.568 1cd4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 22320000
9/14 11:58:48.569 1cd4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 22320000
9/14 12:00:31.072 1cd4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eTypeP2V
9/14 12:00:37.326 1cd4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVolumeSelectVM
9/14 12:00:49.740 1cd4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
9/14 12:00:52.004 1cd4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnectionTo
9/14 12:01:30.176 1cd4 Facility ???INFO: WrapperESXI::connect: m_url - https://141.95.99.14/sdk
9/14 12:01:31.071 1cd4 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 529005c5-b0ed-1112-609b-20ffd45ab94d
9/14 12:01:31.071 1cd4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsESX
9/14 12:01:32.015 1cd4 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 7.0.3
9/14 12:03:13.639 1cd4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
9/14 12:03:13.645 1dbc Facility ???INFO: CPPConverting::Convert: InConvertType: 3, OutConvertType: 6
9/14 12:03:13.866 1dbc Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [Datastore2_Host802_960GB MVme] MyPC was not found
9/14 12:03:14.049 1dbc Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [Datastore2_Host802_960GB MVme] MyPC was not found
9/14 12:03:15.453 1dbc Facility ???INFO: VMConverter::ESXIConverter::CreateVM: createVM is true, 18
9/14 12:03:15.453 1dbc Facility ???INFO: CPPConverting::ConverterESX: Create VM 18
9/14 12:03:16.349 1dbc Facility ???INFO: CPPConverting::ConvertImage: pathInput: 0, pathOutput: [Datastore2_Host802_960GB MVme] MyPC/HDD0.vmdk
9/14 12:03:16.349 1dbc Facility ???INFO: P2V::CreateInputImage: path 0
9/14 12:03:16.349 1dbc Facility ???INFO: P2V::CreateInputImage: Size 0 - 136367308800, BytesPerSector - 512
9/14 12:03:50.674 1dbc Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
9/14 12:03:54.407 1dbc Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Datastore2_Host802_960GB MVme] MyPC/HDD0.vmdk
9/14 12:03:54.407 1dbc Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=18
9/14 12:03:54.453 1dbc Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - D8:74:25:CD:C5:06:C0:33:33:C4:4A:52:69:1E:C4:E1:0A:08:AD:87
9/14 12:04:37.870 1dbc Facility ???ERROR: ESXVmdk::ParseFile: m_VixDiskLib_Open is fail - 14009, The server refused connection
9/14 12:04:37.870 1dbc Facility ???ERROR: ESXIDisk::CreateOutputImage: ParseFile is fail
9/14 12:04:37.870 1dbc Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 1
9/14 12:04:37.870 1dbc Facility ???INFO: CPPConverting::ConvertImage: pathInput: 1, pathOutput: [Datastore2_Host802_960GB MVme] MyPC/HDD1.vmdk
9/14 12:04:37.870 1dbc Facility ???INFO: P2V::CreateInputImage: path 1
9/14 12:04:37.870 1dbc Facility ???INFO: P2V::CreateInputImage: Size 1 - 17179869184, BytesPerSector - 512
9/14 12:04:40.302 1dbc Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
9/14 12:04:40.305 1dbc Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Datastore2_Host802_960GB MVme] MyPC/HDD1.vmdk
9/14 12:04:40.305 1dbc Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=18
9/14 12:04:40.350 1dbc Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - D8:74:25:CD:C5:06:C0:33:33:C4:4A:52:69:1E:C4:E1:0A:08:AD:87
9/14 12:05:22.577 1dbc Facility ???ERROR: ESXVmdk::ParseFile: m_VixDiskLib_Open is fail - 14009, The server refused connection
9/14 12:05:22.577 1dbc Facility ???ERROR: ESXIDisk::CreateOutputImage: ParseFile is fail
9/14 12:05:22.577 1dbc Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 1
9/14 12:05:22.577 1dbc Facility ???ERROR: CPPConverting::Convert: FAILED
yaroslav (staff)
Staff
Posts: 2340
Joined: Mon Nov 18, 2019 11:11 am

Thu Sep 14, 2023 11:21 am

Hi,

It looks like there is a connectivity/permission issue. Can you try converting a disk alone?
mrobiras
Posts: 3
Joined: Thu Sep 14, 2023 10:11 am

Thu Sep 14, 2023 11:27 am

Hello,

When I try with only one disk, the same thing happens

The log file name: 'logs\V2V_Log-20230914-132143.log' (PID 8620)
9/14 13:21:43.392 21b0 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
9/14 13:21:43.393 21b0 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
9/14 13:21:43.396 21b0 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
9/14 13:21:43.396 21b0 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
9/14 13:21:43.399 21b0 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 14393
9/14 13:21:43.436 21b0 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 22320000
9/14 13:21:43.437 21b0 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 22320000
9/14 13:21:46.611 21b0 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eTypeP2V
9/14 13:21:54.863 21b0 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVolumeSelectVM
9/14 13:21:57.914 21b0 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
9/14 13:21:59.902 21b0 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnectionTo
9/14 13:22:24.933 21b0 Facility ???INFO: WrapperESXI::connect: m_url - https://141.95.99.14/sdk
9/14 13:22:25.029 21b0 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 52d166c7-16b8-732a-8936-2ec4bb7977d3
9/14 13:22:25.029 21b0 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsESX
9/14 13:22:25.140 21b0 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 7.0.3
9/14 13:22:48.802 21b0 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
9/14 13:22:48.806 2118 Facility ???INFO: CPPConverting::Convert: InConvertType: 3, OutConvertType: 6
9/14 13:22:48.995 2118 Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [Datastore2_Host802_960GB MVme] myPC was not found
9/14 13:22:49.147 2118 Facility ???INFO: VMConverter::ESXIConverter::CreateVM: createVM is true, 19
9/14 13:22:49.147 2118 Facility ???INFO: CPPConverting::ConverterESX: Create VM 19
9/14 13:22:49.558 2118 Facility ???INFO: CPPConverting::ConvertImage: pathInput: 0, pathOutput: [Datastore2_Host802_960GB MVme] myPC/HDD0.vmdk
9/14 13:22:49.558 2118 Facility ???INFO: P2V::CreateInputImage: path 0
9/14 13:22:49.558 2118 Facility ???INFO: P2V::CreateInputImage: Size 0 - 136367308800, BytesPerSector - 512
9/14 13:23:54.253 2118 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
9/14 13:23:54.393 2118 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Datastore2_Host802_960GB MVme] myPC/HDD0.vmdk
9/14 13:23:54.393 2118 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=19
9/14 13:23:54.433 2118 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - D8:74:25:CD:C5:06:C0:33:33:C4:4A:52:69:1E:C4:E1:0A:08:AD:87
9/14 13:24:36.920 2118 Facility ???ERROR: ESXVmdk::ParseFile: m_VixDiskLib_Open is fail - 14009, The server refused connection
9/14 13:24:36.920 2118 Facility ???ERROR: ESXIDisk::CreateOutputImage: ParseFile is fail
9/14 13:24:36.920 2118 Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 1
9/14 13:24:36.920 2118 Facility ???ERROR: CPPConverting::Convert: FAILED
yaroslav (staff)
Staff
Posts: 2340
Joined: Mon Nov 18, 2019 11:11 am

Thu Sep 14, 2023 12:06 pm

Can you please try converting the local file on your PC (e.g., a 1 GB VHDX) to help me narrow down the issue?
mrobiras
Posts: 3
Joined: Thu Sep 14, 2023 10:11 am

Thu Sep 14, 2023 2:02 pm

I already did it, here are the logs, the conversion did not give error
the error that appears is that the disk was mounted in the operating system.

The log file name: 'logs\V2V_Log-20230914-155705.log' (PID 1456)
9/14 15:57:05.088 176c Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
9/14 15:57:05.089 176c Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
9/14 15:57:05.092 176c Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
9/14 15:57:05.092 176c Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
9/14 15:57:05.095 176c Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 14393
9/14 15:57:05.097 176c Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 22320000
9/14 15:57:05.097 176c Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 22320000
9/14 15:57:32.865 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eTypeP2V
9/14 15:57:38.560 176c Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eLocation
9/14 15:57:41.558 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputFile
9/14 15:57:51.136 176c Facility ???INFO: CPPInputFile::checkFile: Select file: D:\my_hd.vhdx
9/14 15:57:51.141 176c Facility ???ERROR: CVHDXFile::ParseFile: Error opening file D:\my_hd.vhdx - 32. The process cannot access the file because it is being used by another process.
9/14 15:57:51.142 176c Facility ???INFO: CPPInputFile::checkFile: ParseFile: 2
9/14 15:58:22.076 176c Facility ???INFO: CPPInputFile::checkFile: Select file: D:\my_hd.vhdx
9/14 15:58:22.076 176c Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
9/14 15:58:22.076 176c Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
9/14 15:58:22.076 176c Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
9/14 15:58:22.077 176c Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
9/14 15:58:22.077 176c Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
9/14 15:58:22.077 176c Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
9/14 15:58:22.079 176c Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
9/14 15:58:22.079 176c Facility ???INFO: CPPInputFile::checkFile: ParseFile: 0
9/14 15:58:22.079 176c Facility ???INFO: CPPInputFile::checkFile: File type: IDS_IMAGE_CONVERTER_FORMAT_NAME_VHDX_FLAT File size: 2097152 sectors
9/14 15:58:24.842 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
9/14 15:58:30.735 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eFormat
9/14 15:58:39.143 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsVMware
9/14 15:58:47.056 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOutputFile
9/14 15:58:49.876 176c Facility ???INFO: CPPOutputFile::onNext: Out path: D:\my_hd.vmdk, Out format 3
9/14 15:58:49.876 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
9/14 15:58:49.880 1494 Facility ???INFO: CPPConverting::Convert: InConvertType: 4, OutConvertType: 4
9/14 15:58:49.880 1494 Facility ???INFO: CPPConverting::ConvertImage: pathInput: D:\my_hd.vhdx, pathOutput: D:\my_hd.vmdk
9/14 15:58:49.882 1494 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
9/14 15:58:49.882 1494 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
9/14 15:58:49.882 1494 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
9/14 15:58:49.882 1494 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
9/14 15:58:49.882 1494 Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
9/14 15:58:49.882 1494 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
9/14 15:58:49.882 1494 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
9/14 15:58:49.883 1494 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
9/14 15:58:49.948 1494 Facility ???INFO: VMwareFile::NewFile: sFileName - D:\my_hd.vmdk
9/14 15:58:49.948 1494 Facility ???INFO: VMwareFile::NewFile: SectorType - 2097152
9/14 15:58:49.948 1494 Facility ???INFO: VMwareFile::NewFile: EVMDKCreateType - 0
9/14 15:58:49.948 1494 Facility ???INFO: VMwareFile::NewFile: EVMDKAdapterType - 0
9/14 15:58:50.065 1494 Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 0
9/14 15:59:10.987 1494 Facility ???INFO: CPPConverting::ConvertImage: Success
9/14 15:59:10.988 1494 Facility ???INFO: CPPConverting::Convert: SUCCESSFULLY
9/14 15:59:15.860 176c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocation
yaroslav (staff)
Staff
Posts: 2340
Joined: Mon Nov 18, 2019 11:11 am

Thu Sep 14, 2023 6:50 pm

Previous error codes do not directly point to the file being used by anything else.
Workarounds
1. If possible, do disk P2V conversion inside the VM to Azure.
2. Copy the file to your computer and convert the individual disks.

There is something strange when accessing the server. Could you please let me know what is the ESXi version you use?
Post Reply