-
Feature
-
Resolution: Unresolved
-
Critical
-
None
As customers look to OpenShift Virtualization as an alternative to other virtualization platforms, having the ability to move an unsupported (any OS that is not supported by virt-v2v) to OpenShift virt and let the customer find the proper settings to make the VM image run in OpenShift virt.
If the MTV tool just copied all the source disks, and created a virtual machine definition that copied the all the relevant source VM details (CPU/Memory/Mac Addresses, etc), but did NOT power it on. This would allow the end user to tweak the configuration and boot the machine.
Current process to make this work is to
- export VM as an OVA
- use qemu-img to convert from VMDK to QCOW2
- upload qcow2 image to cluster
- manually create vm definition
One other alternative we have found is to:
- create a bootable fedora disk
- attach that disk as the primary disk on the VM we want to migrate
- use the MTV tool to migrate the vm
- delete the "fake" fedora boot disk
- update the migrated VM to boot from the original boot disk
- modify the VM to use OS supported disk controller and network controller
The second option allows the customer to use MTV as the migration tool.
This feature is required to support things like "Appliance" VMs, or VMs that are based on other Linux distributions. End user will need to figure out how to get the vm image to run in OCP-V, this is just to make the vm base disk copy easier. Perhaps using "virt-v2v-copy-to-local" would be the best way to do this. (https://libguestfs.org/virt-v2v-copy-to-local.1.html)
- is related to
-
MTV-1578 Archlinux cannot be migrated
- New