Error converting P2V to MS Azure

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

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

Post Reply
dtsaga
Posts: 2
Joined: Wed Apr 05, 2023 2:04 pm

Wed Apr 05, 2023 2:09 pm

When trying to convert the entire physical machine to a virtual one, I get the following error.
4/4 21:58:44.107 3748 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
4/4 21:58:44.107 3748 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
4/4 21:58:44.111 3748 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
4/4 21:58:44.111 3748 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
4/4 21:58:44.116 3748 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 19042
4/4 21:58:44.124 3748 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 176f0000
4/4 21:58:44.126 3748 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 176f0000
4/4 21:58:47.895 3748 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eTypeP2V
4/4 21:58:49.540 3748 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVolumeSelectVM
4/4 21:58:54.630 3748 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
4/4 21:58:58.943 3748 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eAzureConnectionTo
4/4 21:59:15.614 3748 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsAzure
4/4 21:59:27.145 3748 Facility ???INFO: CPPVMSettingsAzure::onNext: Create new NI
4/4 21:59:27.145 3748 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
4/4 21:59:27.147 1a48 Facility ???INFO: CPPConverting::Convert: InConvertType: 3, OutConvertType: 10
4/4 21:59:51.457 1a48 Facility ???INFO: CPPConverting::ConvertImage: pathInput: 0, pathOutput: https://storage1735.blob.core.windows.net/mypc/HDD0.vhd
4/4 21:59:51.457 1a48 Facility ???INFO: P2V::CreateInputImage: path 0
4/4 21:59:51.457 1a48 Facility ???INFO: P2V::CreateInputImage: Size 0 - 256060514304, BytesPerSector - 512
4/4 21:59:58.047 1a48 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
4/4 22:00:00.358 1a48 Facility ???ERROR: AzureDisk::CreateOutputImage: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
4/4 22:00:00.358 1a48 Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 1
4/4 22:00:00.359 1a48 Facility ???ERROR: CPPConverting::Convert: FAILED
It creates the storage account but then fails when trying to create the disk it seems. In the guide it says to create the storage account first, but it doesn't choose it.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Wed Apr 05, 2023 2:43 pm

Did you create the storage account and registered the app as it is described here https://www.starwindsoftware.com/v2v-he ... Azure.html?
Based on the error message, it seems that the Azure part was not configured properly.
dtsaga
Posts: 2
Joined: Wed Apr 05, 2023 2:04 pm

Wed Apr 05, 2023 6:08 pm

Yes, I followed those steps.

The part I find strange is that I created the storage account, but when using the conversion tool, after selecting the resource group it doesn't have a screen to pick the storage account. It instead creates a new one when converting the machine.

These were auto-created by the V2V_Converter (I tried it a few times):
  • storage1735
    storage6107
    storage7194
    storage7219
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Thu Apr 06, 2023 1:11 pm

Did you create and register the app?
Please also try converting an individual disk.
Post Reply