CoreOS 6 VM doesn't start after migration
Environment
- Migration Toolkit for Virtualization 2.2
- OpenShift Container Platform 4.9
Issue
- When trying to migrate CoreOS 6 VM to OpenShift Virtualization, the VM cannot start properly
Resolution
Adding useVirtioTransitional = true to VM template allow drivers to load correctly in the VM.
Run this command on all CoreOS 6 VM and reboot the VM after :
oc patch vm ${VM_NAME} --type='json' -p='[{"op": "add", "path": "/spec/template/spec/domain/devices/useVirtioTransitional", "value": true }]' -n ${VM_NAMESPACE}
The issue is fixed in OpenShift Container Platform 4.10 on BZ 2045199
Root Cause
The issue occurs because MTV uses old template which doesn't include spec.domain.devices.useVirtioTransitional. So after the VM has been migrated some drivers are not loaded which prevent the VM from starting.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments