-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
rhel-8.5.0, rhel-9.3.0
-
None
-
Moderate
-
rhel-virt-tools
-
ssg_virtualization
-
5
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
x86_64
-
None
-
0
Description of problem:
Debian UEFI cannot boot into OS normally after v2v conversion
Version-Release number of selected component (if applicable):
virt-v2v-1.42.0-12.module+el8.5.0+10976+d40a93e9.x86_64
libguestfs-1.44.0-3.module+el8.5.0+10681+17a9b157.x86_64
libvirt-client-7.3.0-1.module+el8.5.0+11004+f4810536.x86_64
qemu-kvm-6.0.0-16.module+el8.5.0+10848+2dccc46d.x86_64
nbdkit-1.24.0-1.module+el8.4.0+9341+96cf2672.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Convert debian UEFI guest from VMware to rhv4.4 by v2v
- virt-v2v -ic vpx://root@10.73.198.169/data/10.73.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78 -ip /home/passwd -o rhv-upload -oo rhv-direct -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -of raw -os nfs_data -b ovirtmgmt esx7.0-debian10.9.0-x64-uefi
[ 0.6] Opening the source -i libvirt -ic vpx://root@10.73.198.169/data/10.73.199.217/?no_verify=1 esx7.0-debian10.9.0-x64-uefi -it vddk -io vddk-libdir=/home/vddk7.0 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78
[ 2.2] Creating an overlay to protect the source from being modified
[ 3.0] Opening the overlay
[ 8.1] Inspecting the overlay
[ 11.5] Checking for sufficient free disk space in the guest
[ 11.5] Estimating space required on target for each disk
[ 11.5] Converting 10.9 to run on KVM
virt-v2v: warning: could not determine a way to update the configuration of
Grub2
virt-v2v: This guest has virtio drivers installed.
[ 30.1] Mapping filesystem data to avoid copying unused and blank areas
virt-v2v: warning: fstrim on guest filesystem /dev/sda1 failed. Usually
you can ignore this message. To find out more read "Trimming" in
virt-v2v(1).
Original message: fstrim: fstrim: /sysroot/: the discard operation is not
supported
[ 31.0] Closing the overlay
[ 31.2] Assigning disks to buses
[ 31.2] Checking if the guest needs BIOS or UEFI to boot
virt-v2v: This guest requires UEFI on the target to boot.
[ 31.2] Initializing the target -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data
[ 32.6] Copying disk 1/1 to qemu URI json:
(raw)
(100.00/100%)
[ 430.2] Creating output metadata
[ 432.1] Finishing off
2.Power on guest on rhv after v2v conversion, guset can't boot into OS, please refer to screenshot'debian10.9.0-uefi-guest-cannot-boot-os-after-v2v.png'
Actual results:
As above description
Expected results:
Debian UEFI can boot into OS normally after v2v conversion
Additional info:
- external trackers