migration oVirt <-> vSphere

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

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

Post Reply
mdelazza
Posts: 2
Joined: Tue May 07, 2024 1:28 pm

Tue May 07, 2024 2:42 pm

Hi. I'm trying to migrate to and from oVirt and vSphere, but it fails creating virtual machine in both direction.

From oVirt to vSphere i get this in the log:
5/7 14:59:41.756 6f28 Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): Timeout ESX connection
5/7 15:14:41.932 5884 Facility ???INFO: WrapperESXI::Wait: Progress - 5
5/7 15:14:41.937 5884 Facility ???INFO: WrapperESXI::Wait: Progress - 6
5/7 15:14:41.985 5884 Facility ???INFO: WrapperESXI::Wait: Progress - 10
5/7 15:14:42.007 5884 Facility ???INFO: WrapperESXI::Wait: Progress - 15
5/7 15:14:42.025 5884 Facility ???INFO: WrapperESXI::Wait: Progress - 25
5/7 15:14:42.336 5884 Facility ???INFO: VMConverter::ESXIConverter::CreateVM: createVM is false,
5/7 15:14:42.336 5884 Facility ???ERROR: CPPConverting::ConverterESX: Create VM error
5/7 15:14:42.336 5884 Facility ???ERROR: CPPConverting::Convert: FAILED
5/7 15:19:41.767 6f28 Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): Timeout ESX connection

No task appears in vSphere!

From vSphere to Ovirt:
5/7 15:37:02.054 4660 Facility ???ERROR: CPPConverting::ConvertDisks: Error aiming to create virtual machine: Can not create virtual machine in the oVirt host
5/7 15:37:02.057 4660 Facility ???ERROR: CPPConverting::Convert: FAILED

and in the ovirt-engine

2024-05-07 13:36:55,430Z WARN [org.ovirt.engine.core.bll.AddVmFromScratchCommand] (default task-5) [c805bac1-f09f-40e2-b680-192e9ab3ed6f] Validation of action 'AddVmFromScratch' failed for user admin@ovirt@internal-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,must be greater than or equal to 1,$groups [Ljava.lang.Class;@2568a2f7,$message {javax.validation.constraints.Min.message},$value 1,$payload [Ljava.lang.Class;@20f5bed9,ACTION_TYPE_FAILED_ATTRIBUTE_PATH,$path vmStatic.maxMemorySizeMb,$validatedValue 0,must be greater than or equal to 1,$groups [Ljava.lang.Class;@2568a2f7,$message {javax.validation.constraints.Min.message},$value 1,$payload [Ljava.lang.Class;@20f5bed9,ACTION_TYPE_FAILED_ATTRIBUTE_PATH,$path vmStatic.memSizeMb,$validatedValue 0
2024-05-07 13:36:55,437Z ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-5) [] Operation Failed: [must be greater than or equal to 1, Attribute: vmStatic.maxMemorySizeMb, must be greater than or equal to 1, Attribute: vmStatic.maxMemorySizeMb]

it seems that the tool works just if i leave cpu/memory to default suggested (1 cpu - 512 mb ram). It sounds strange that thouse values are not set automatically with the right data from source vm.

But also in this case it can convert just a disk (out of 5 in this example) and then fails.

5/7 16:01:44.940 59ac Facility ???ERROR: CPPConverting::ConvertDisks: Error aiming to create virtual machine: Can not create virtual machine in the oVirt host
5/7 16:01:44.943 59ac Facility ???ERROR: CPPConverting::Convert: FAILED

Later if i click on "convert another image", and try to connect again to the source hypervisor, V2V Converter stucks.
Very nice software, but with still a lot of problems.

Thank you for your attention.
yaroslav (staff)
Staff
Posts: 2393
Joined: Mon Nov 18, 2019 11:11 am

Tue May 07, 2024 2:50 pm

Welcome to StarWind Forum and thank you for your post. I will raise the internal request to look into the possible causes. I might reach out back to you for additional details.
As a workaround, try converting a disk to a VM.

P.s. I think you can just copy VMDK to oVirt and create the VM in place.
mdelazza
Posts: 2
Joined: Tue May 07, 2024 1:28 pm

Wed May 08, 2024 8:00 am

Thank you very much.
yaroslav (staff)
Staff
Posts: 2393
Joined: Mon Nov 18, 2019 11:11 am

Wed May 08, 2024 9:43 am

You are welcome :)
Post Reply