Migrate HyperV VM to Azure - Help Required

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

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

Post Reply
cloudcontext747
Posts: 6
Joined: Wed Feb 07, 2024 8:50 pm

Wed Feb 07, 2024 9:08 pm

Hi all,

I am using Starwind V2V converter tool to migrate a VM on Hyper V to Azure. Please see details below.

Home PC running Windows 10 Pro
Hyper V role installed
VM running on Hyper V (Attempted to migrate VM running Windows Server 2022 as a DC)

I followed the steps in the user guide which went well.

The VM was converting. However, when I checked the progress this morning apparently it had failed to successfully convert. I am unsure why this had happened. The only possibility I can think of is that after the progress bar was on 18% I then signed out of my Microsoft Azure account and let the process finish. Therefore, in order to complete the process and deployment it failed to convert/create the VM because it could not reach or make requests to my Azure subscription.

Please can you assist. See screenshot attached showing the error.

Thank you
Attachments
starwind v2v vm migration errorjpg.jpg
starwind v2v vm migration errorjpg.jpg (86.77 KiB) Viewed 1058 times
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Wed Feb 07, 2024 9:29 pm

Welcome to StarWind Forum.
Could you please share with me the conversion logs? See them under C:\Program Files\StarWind Software\StarWind V2V Converter\logs
cloudcontext747
Posts: 6
Joined: Wed Feb 07, 2024 8:50 pm

Wed Feb 07, 2024 9:49 pm

Hi,

Please see log details below. I pasted it below. Sorry the system would not allow me to upload text files.

The log file name: 'logs\V2V_Log-20240206-172351.log' (PID 4704)
2/6 17:23:51.734 2c28 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: D:\StarWind V2V Converter\lib
2/6 17:23:51.734 2c28 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.369
2/6 17:23:51.737 2c28 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
2/6 17:23:51.737 2c28 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
2/6 17:23:51.740 2c28 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 19045
2/6 17:23:51.742 2c28 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 5ee90000
2/6 17:23:51.743 2c28 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 5ee90000
2/6 17:23:58.357 2c28 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnection
2/6 17:23:59.919 2c28 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
2/6 17:23:59.962 2c28 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 10.0.19045
2/6 17:23:59.963 2c28 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
2/6 17:24:15.244 2c28 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
2/6 17:24:24.172 2c28 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eSynchronization
2/6 17:25:23.346 1edc Facility ???INFO: VMConverter::AzureConverter::ThreadProc: Start token control expires
2/6 17:25:26.901 2c28 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsHyperV
2/6 17:26:03.374 2c28 Facility ???INFO: CPPVMSettingsAzure::onNext: Create new NI
2/6 17:26:03.374 2c28 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
2/6 17:26:03.380 29cc Facility ???INFO: CPPConverting::Convert: InConvertType: 8, OutConvertType: 10
2/6 17:26:24.150 29cc Facility ???INFO: CPPConverting::ConvertDisks: pathInput: D:\Virtual Machines\DC01\DC01_B13E9148-FBC8-41B0-A44F-7E3E9593CF0D.avhdx, pathOutput: https://storage853.blob.core.windows.ne ... DiskOS.vhd
2/6 17:26:24.168 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
2/6 17:26:24.168 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
2/6 17:26:24.168 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
2/6 17:26:24.168 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
2/6 17:26:24.185 29cc Facility ???WARNING: CVHDXFile::ParseFile: Log header signature is fail - 1635017060.
2/6 17:26:24.185 29cc Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
2/6 17:26:24.185 29cc Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
2/6 17:26:24.188 29cc Facility ???WARNING: CVHDXFile::ParseFile: Parent linkage not valid - {3444abe9-8535-4fb0-ae82-7ff5027cfc1d}
2/6 17:26:24.188 29cc Facility ???INFO: CVHDXFile::ParseFile: Parse parent.
2/6 17:26:24.198 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
2/6 17:26:24.198 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
2/6 17:26:24.199 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
2/6 17:26:24.199 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
2/6 17:26:24.199 29cc Facility ???WARNING: CVHDXFile::ParseFile: DataWriteGuid not equal.
2/6 17:26:24.202 29cc Facility ???WARNING: CVHDXFile::ParseFile: Log header signature is fail - 1635017060.
2/6 17:26:24.202 29cc Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
2/6 17:26:24.202 29cc Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
2/6 17:26:24.207 29cc Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
2/6 17:26:24.213 29cc Facility ???WARNING: CVHDXFile::ParseFile: Parent linkage not valid - {01377411-9402-4747-a5c0-550546984eb3}
2/6 17:26:24.213 29cc Facility ???INFO: CVHDXFile::ParseFile: Parse parent.
2/6 17:26:24.228 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
2/6 17:26:24.228 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
2/6 17:26:24.229 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
2/6 17:26:24.229 29cc Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
2/6 17:26:24.229 29cc Facility ???WARNING: CVHDXFile::ParseFile: DataWriteGuid not equal.
2/6 17:26:24.231 29cc Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
2/6 17:26:24.231 29cc Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
2/6 17:26:24.237 29cc Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
2/6 17:26:24.241 29cc Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
2/6 17:26:26.131 29cc Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
2/7 2:41:43.534 29cc Facility ???INFO: CPPConverting::ConvertImage: Success
2/7 2:41:50.431 29cc Facility ???INFO: VMConverter::AzureConverter::CreateVM: InProgress
2/7 2:41:50.596 29cc Facility ???INFO: VMConverter::AzureConverter::CreateVM: InProgress
2/7 2:41:50.730 29cc Facility ???INFO: VMConverter::AzureConverter::CreateVM: InProgress
2/7 2:41:51.156 29cc Facility ???INFO: VMConverter::AzureConverter::CreateVM: InProgress
2/7 2:41:51.302 29cc Facility ???INFO: VMConverter::AzureConverter::CreateVM: InProgress
2/7 2:41:51.614 29cc Facility ???INFO: VMConverter::AzureConverter::CreateVM: Succeeded
2/7 2:41:52.567 29cc Facility ???ERROR: VMConverter::AzureConverter::CreateVM: CreateVirtualMachine Status code: 409 Error code: SkuNotAvailable Message: The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_DC2s' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details.
2/7 2:41:52.567 29cc Facility ???ERROR: CPPConverting::ConverterAzure: Create VM - Error sending request to Azure.
The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_DC2s' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details.
2/7 2:41:52.568 29cc Facility ???ERROR: CPPConverting::Convert: FAILED
2/7 7:52:49.684 1edc Facility ???INFO: VMConverter::AzureConverter::ThreadProc: Event exit thread
2/7 7:52:49.684 1edc Facility ???INFO: VMConverter::AzureConverter::ThreadProc: End token control expires
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Wed Feb 07, 2024 10:52 pm

Thank you for the logs.
According to the logs, the issue relates to Azure, not the converter.

Code: Select all

2/7 2:41:52.567 29cc Facility ???ERROR: CPPConverting::ConverterAzure: Create VM - Error sending request to Azure.
The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_DC2s' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details.
Check this out https://learn.microsoft.com/en-us/azure ... =azure-cli and https://learn.microsoft.com/en-us/troub ... st-process. The error is specific to the location. Please try a different location.

Code: Select all

2/7 7:52:49.684 1edc Facility ???INFO: VMConverter::AzureConverter::ThreadProc: Event exit thread
2/7 7:52:49.684 1edc Facility ???INFO: VMConverter::AzureConverter::ThreadProc: End token control expires
Token expiry.
MS writes on it
"After hearing from customers during the preview, we've implemented authentication session management capabilities in Azure AD Conditional Access. You can use this new feature to configure refresh token lifetimes by setting sign in frequency. After May 30, 2020 no new tenant will be able to use Configurable Token Lifetime policy to configure session and refresh tokens. The deprecation will happen within several months after that, which means that we will stop honoring existing session and refresh tokens polices. You can still configure access token lifetimes after the deprecation."
Check this out https://learn.microsoft.com/en-us/entra ... esh-tokens.
Can be helpful how-to https://learn.microsoft.com/en-us/answe ... zure-porta
https://learn.microsoft.com/en-us/entra ... -lifetimes and https://learn.microsoft.com/en-us/entra ... n-controls
cloudcontext747
Posts: 6
Joined: Wed Feb 07, 2024 8:50 pm

Sat Feb 10, 2024 3:37 pm

Thank you for your reply. I have read your comments and followed the links you provided and raised a request to increase the quota which has been approved. I have also created a new resource group therefore the VM will be deployed to a new region. I hope the process now completes and the VM successfully migrates to Azure.

I will keep you updated on the progress in due course.

Please see screenshots attached of the Azure quota request and Starwind V2V converter wizard setup.
cloudcontext747
Posts: 6
Joined: Wed Feb 07, 2024 8:50 pm

Sat Feb 10, 2024 3:38 pm

Please see screenshots attached with reference to the previous post.
Attachments
new region.jpg
new region.jpg (161.92 KiB) Viewed 1004 times
Azure Compute quota request.jpg
Azure Compute quota request.jpg (43.98 KiB) Viewed 1004 times
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat Feb 10, 2024 5:19 pm

Thank you for your update
Please keep me posted.
I'd suggest expanding tokens.
cloudcontext747
Posts: 6
Joined: Wed Feb 07, 2024 8:50 pm

Sat Feb 10, 2024 8:40 pm

Hi,

This time the process completed successfull and the VM has also been migrated onto Azure. I have logged onto the Azure portal and can see the migrated VM under 'Virtual Machines'. However, I cannot RDP into the VM to test access.

Please help.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat Feb 10, 2024 9:16 pm

Can you open the console and see if the VM is running?
Please note that V2V converter leaves all settings "as is" it does not alter anything or change.
cloudcontext747
Posts: 6
Joined: Wed Feb 07, 2024 8:50 pm

Sat Feb 10, 2024 9:42 pm

yes the VM is running. I also tried to stop and start the VM and then RDP to it but no luck.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat Feb 10, 2024 10:32 pm

Thank you for your update.
I guess there can be some network issues.
Post Reply