Converting ESXi VM to Azure fails after disk conversion

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

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

Post Reply
GBDickinson
Posts: 3
Joined: Mon Nov 28, 2022 2:40 am

Mon Nov 28, 2022 2:53 am

I'm attempting to move a VM from ESXi to Azure. I've set up the application with "Owner" permissions to the Subscription, but both times I've attempted the conversion it ends like this:

Code: Select all

11/27 20:38:33.579 10bc Facility ???INFO: VMConverter::AzureConverter::CreateVM: InProgress
11/27 20:38:33.677 10bc Facility ???INFO: VMConverter::AzureConverter::CreateVM: InProgress
11/27 20:38:33.771 10bc Facility ???INFO: VMConverter::AzureConverter::CreateVM: Succeeded
11/27 20:38:33.934 10bc Facility ???ERROR: VMConverter::AzureConverter::CreateVM: CreateDisk Status code: 400 Error code: BadRequest Message: Changing property 'sourceUri' is not allowed for existing disk '[Disk Name]'.
11/27 20:38:33.934 10bc Facility ???ERROR: CPPConverting::ConverterAzure: Create VM Error sending request to Azure.
Changing property 'sourceUri' is not allowed for existing disk '[Disk Name]'.
11/27 20:38:33.938 10bc Facility ???INFO: WrapperESXI::connect: m_url - https://10.200.10.11/sdk
11/27 20:38:33.960 10bc Facility ???INFO: WrapperESXI::connect: fullName - [Name], key - [key]
11/27 20:38:33.960 10bc Facility ???ERROR: CPPConverting::Convert: FAILED
Searching the forum for "sourceuri" returns no results. Any ideas what I might be doing wrong?
Last edited by GBDickinson on Tue Nov 29, 2022 6:48 pm, edited 1 time in total.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Nov 28, 2022 5:50 am

Is the VM shut down?
Please set your account according to this guide https://www.starwindsoftware.com/v2v-help/Cloud.html
GBDickinson
Posts: 3
Joined: Mon Nov 28, 2022 2:40 am

Tue Nov 29, 2022 5:42 pm

Yes, the VM is powered off. I followed the linked instructions for the first attempt, and when that did not work, I changed the subscription access to "Owner" in case it was a security issue.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Nov 29, 2022 8:39 pm

Does the VM have snapshots? If so, try merging/deleting them.
GBDickinson
Posts: 3
Joined: Mon Nov 28, 2022 2:40 am

Wed Nov 30, 2022 1:51 am

No snapshots, this is a fresh OVA deployment of a VMware Identity Management Appliance from OVA. For what it's worth, the disks are created and uploaded successfully, it just errors when creating an Azure VM based on the uploaded disks.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Wed Nov 30, 2022 11:45 am

If it fails to create VM in Azure even based on the disk which is already in Azure, there's something with the Azure account settings, I believe.
Post Reply