Request has neither imageReference nor osDisk

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

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

Post Reply
camrock
Posts: 8
Joined: Tue Jul 28, 2020 10:12 am

Wed Jul 29, 2020 7:54 am

I am trying to convert a VM to Azure.

To test if it works at all I left out the second hdd, since I always get Toxen Lifetime problems, but now I get another error message:

Code: Select all

7/29 9:12:54.230 b40 Facility ???ERROR: VMConverter::AzureConverter::CreateVM: CreateVirtualMachine Status code: 409 Error code: OperationNotAllowed Message: Request has neither imageReference nor osDisk. In order to create a managed disk VM, at least imageReference needs to be provided, whereas for a blob based disk VM, osDisk is required.
7/29 9:12:54.230 b40 Facility ???ERROR: CPPConverting::ConverterAzure: Create VM Error sending request to Azure.
Request has neither imageReference nor osDisk. In order to create a managed disk VM, at least imageReference needs to be provided, whereas for a blob based disk VM, osDisk is required.
7/29 9:12:54.230 b40 Facility ???ERROR: CPPConverting::Convert: FAILED
yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Thu Jul 30, 2020 3:58 am

Greetings,

Can we have the entire log? You can find it here C:\Program Files\StarWind Software\StarWind V2V Converter.
Token issue is not related to the disk choice. Is that disk carrying the OS?
camrock
Posts: 8
Joined: Tue Jul 28, 2020 10:12 am

Thu Jul 30, 2020 4:39 am

Yes the disk is carrying the os.
I have attached the logs.
Attachments
logs.7z
(2.14 KiB) Downloaded 276 times
yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Thu Jul 30, 2020 7:15 am

Please add both drives. See if it works with both drives. One more time: token thing is not related to Disk issue.
camrock
Posts: 8
Joined: Tue Jul 28, 2020 10:12 am

Thu Jul 30, 2020 7:23 am

The system hast two sperate hdd.
The first one has a "System Reserverd" Partition and a normal "C:" partition.
Both where selected during the convert.

The second hdd is only a temp drive. With no real data in it.
So i unchecked it during convert.

Do I have to convert the second hdd, also?
yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Thu Jul 30, 2020 11:41 am

Thank you for the update. Please try converting both disks once Token issue is resolved.
camrock
Posts: 8
Joined: Tue Jul 28, 2020 10:12 am

Thu Jul 30, 2020 12:08 pm

What makes you think it has something to do with the Token Lifetime?
yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Thu Jul 30, 2020 1:07 pm

Token issue is not related to the disk choice.
As per my comment, the token issue is the whole different problem.
Try to extend the token lifetime and run the conversion of both disks once again.
camrock
Posts: 8
Joined: Tue Jul 28, 2020 10:12 am

Fri Jul 31, 2020 6:57 am

yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Fri Jul 31, 2020 10:03 am

Greetings,

Please, try converting both disks. If that does not work, please provide us with the log.
Also, consider logging a support case with us https://www.starwindsoftware.com/support-form.
camrock
Posts: 8
Joined: Tue Jul 28, 2020 10:12 am

Mon Aug 03, 2020 6:08 am

I was able to migrate the mashine to Azure.
First I had to V2V convert the mashine using VMware vCenter Converter.

After that I used StarWind V2V to migrate the local VM to Azure.

So I had not to bother with Access Token Lifetime.
yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Mon Aug 03, 2020 6:16 am

Greetings,

Nice workaround. Happy to know that the issue was resolved.
Post Reply