VMware Converter fails at 99% converting RHEL 9.x systems
search cancel

VMware Converter fails at 99% converting RHEL 9.x systems

book

Article ID: 404647

calendar_today

Updated On:

Products

Converter

Issue/Introduction

  • Converting RHEL 9.x systems fail at 99% using VMware Converter version 6.6
  • VMware Converter UI error message shows "FAILED: An error occurred during the conversion: 'Install: Failed with return code 127, and message:"
  • The vmware-converter-server.log shows:

YYYY-MM-DDThh:mm:ss.436+05:30 error vmware-converter-server[08296] [Originator@6876 sub=Default] [task,352] [LRO] Unexpected Exception: Fault cause: converter.fault.CloneFault
-->
YYYY-MM-DDThh:mm:ss.452+05:30 info vmware-converter-server[08296] [Originator@6876 sub=Default] [task,381] [task-1] -- ERROR -- Convert: converter.fault.CloneFault
--> (converter.fault.CloneFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    description = "Install: Failed with return code: 127, and message:
--> "
-->    msg = ""
--> }

  • The vmware-converter-worker.log shows:

YYYY-MM-DDThh:mm:ss.418+05:30 info vmware-converter-worker[03800] [Originator@6876 sub=task-2] Successfully reconfigured target vm
YYYY-MM-DDThh:mm:ss.434+05:30 info vmware-converter-worker[03800] [Originator@6876 sub=task-2] CloneTask updates, state: 4, percentage: 99, xfer rate (Bps): 190033920
YYYY-MM-DDThh:mm:ss.434+05:30 info vmware-converter-worker[03800] [Originator@6876 sub=task-2] CloneTask failed
YYYY-MM-DDThh:mm:ss.434+05:30 error vmware-converter-worker[03800] [Originator@6876 sub=Default] Task failed:

  • The vmware-converter-helper.log shows

YYYY-MM-DDThh:mm:ss.583Z warning vmware-converter-helper[00631] Command grub2-mkconfig returned with code 1  
YYYY-MM-DDThh:mm:ss.583Z verbose vmware-converter-helper[00631] RunCommandOnTarget: command: grub-mkconfig -o /boot/efi/EFI/redhat/grub.cfg  
YYYY-MM-DDThh:mm:ss.584Z info vmware-converter-helper[00572] [Originator@6876 sub=task-1] RunCommandOnTarget: command /usr/lib/vmware-converter/chrootAndExec.sh /mnt/p2v-src-root grub-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
--> return code: 127, output: , stderr:  * /mnt/p2v-src-root/dev has 3 files
--> chroot: failed to run command 'grub-mkconfig': No such file or directory
-->  * user script returning code 127
-->  * unmounting /mnt/p2v-src-root/dev /mnt/p2v-src-root/dev/pts /mnt/p2v-src-root/proc /mnt/p2v-src-root/sys and /mnt/p2v-src-root/run

YYYY-MM-DDThh:mm:ss.584Z warning vmware-converter-helper[00631] Command grub-mkconfig returned with code 127  
YYYY-MM-DDThh:mm:ss.584Z error vmware-converter-helper[00631] Install: Failed with return code: 127

Environment

VMware Converter 6.6

Cause

During conversion, the helper ISO first tries to run grub2-mkconfig on the target VM. If that fails, it falls back to grub-mkconfig.

The command failed because grub2-mkconfig refused to overwrite the file at /boot/efi/EFI/redhat/grub.cfg and instead recommended using /boot/grub2/grub.cfg

Resolution

This issue is currently under investigation. Contact Broadcom support for more information referencing this article