Error Opening Image - Hyper-V on SMB Share
Posted: Mon Jul 19, 2021 3:14 pm
Hi,
i think there is a Problem converting a Hyper-V VM when it resides on a SMB Share. The GUI only shows Error Opening Image, but the log gives a hint: At the line sFilename there is the Path \\localhost\\smbserver\vmdir\vmdisk.vhdx. I think the appended "\\localhost\" ist the reason why it cant get the vhdx from Hyper-V. The Application did run on the Hyper-V Host directly so it is localhost in the log:
Thank you for your Ideas.
i think there is a Problem converting a Hyper-V VM when it resides on a SMB Share. The GUI only shows Error Opening Image, but the log gives a hint: At the line sFilename there is the Path \\localhost\\smbserver\vmdir\vmdisk.vhdx. I think the appended "\\localhost\" ist the reason why it cant get the vhdx from Hyper-V. The Application did run on the Hyper-V Host directly so it is localhost in the log:
Code: Select all
The log file name: 'logs\V2V_Log-20210719-135005.log' (PID 8172)
7/19 13:50:05.957 1c7c Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
7/19 13:50:05.957 1c7c Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.243
7/19 13:50:05.972 1c7c Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
7/19 13:50:05.972 1c7c Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
7/19 13:50:05.972 1c7c Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 17763
7/19 13:50:05.972 1c7c Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 11560000
7/19 13:50:05.972 1c7c Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 11560000
7/19 13:50:10.176 1c7c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnection
7/19 13:50:11.504 1c7c Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
7/19 13:50:11.535 1c7c Facility ???INFO: WrapperHyperV::init_version: HyperV version: 10.0.17763
7/19 13:50:11.535 1c7c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
7/19 13:50:14.176 1c7c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
7/19 13:50:16.285 1c7c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnectionTo
7/19 13:50:40.385 1c7c Facility ???INFO: WrapperESXI::connect: m_url - https://esx-ip-address/sdk
7/19 13:50:40.432 1c7c Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 520asdf6-3560-92c6-db6b-7575asd4b8bc
7/19 13:50:40.432 1c7c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsESX
7/19 13:50:40.479 1c7c Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 6.7.0
7/19 13:50:49.716 1c7c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
7/19 13:50:49.716 2758 Facility ???INFO: CPPConverting::Convert: InConvertType: 8, OutConvertType: 6
7/19 13:50:49.778 2758 Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [esx_storage] VMNAME was not found
7/19 13:50:50.059 2758 Facility ???INFO: VMConverter::ESXIConverter::CreateVM: createVM is true, 12
7/19 13:50:50.059 2758 Facility ???INFO: CPPConverting::ConverterESX: Create VM 12
7/19 13:50:50.138 2758 Facility ???INFO: CPPConverting::ConvertImage: pathInput: \\smb-server\hyperv-volume\VMName\VMName.vhdx, pathOutput: [esx_storage] VMName\VMName.vmdk
7/19 13:50:50.138 2758 Facility ???INFO: MicrosoftFile::ParseFile: sFilename - \\localhost\\\smb-server\hyperv-volume\VMName\VMName.vhdx
7/19 13:51:54.877 2758 Facility ???ERROR: MicrosoftFile::ParseFile: OpenVirtualDisk is fail - 67.
7/19 13:51:54.877 2758 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 2
7/19 13:51:54.877 2758 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
7/19 13:51:54.893 2758 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 10.0.17763
7/19 13:51:54.893 2758 Facility ???ERROR: CPPConverting::Convert: FAILED
7/19 14:42:26.978 1c7c Facility ???WARNING: WrapperESXI::disconnect: m_proxy->Logout fail - 12
7/19 14:42:26.978 1c7c Facility ???ERROR: getErrorFromSOAP: soap_sprint_fault - SOAP 1.1 fault "":ServerFaultCode [no subcode]
"The session is not authenticated."
Detail: