Bug 1368008

Summary: Can't convert rhel6.8-sata-uefi host by virt-p2v
Product: Red Hat Enterprise Linux 7 Reporter: mxie <mxie>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: juzhou, mxie, mzhan, ptoscano, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: P2V
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-18 08:10:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
rhel6.8-sata-uefi
none
rhel7.3-sata-uefi none

Description mxie@redhat.com 2016-08-18 06:21:50 UTC
Created attachment 1191798 [details]
rhel6.8-sata-uefi

Description of problem:
Can't convert rhel6.8-sata-uefi host by virt-p2v


Version-Release number of selected component (if applicable):
libvirt-2.0.0-5.el7.x86_64
libguestfs-1.32.7-1.el7.x86_64
virt-v2v-1.32.7-1.el7.x86_64
qemu-kvm-1.5.3-121.el7.x86_64
virt-p2v-1.32.6-5.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Install rhel6.8 x64 on SATA storage at UEFI mode and check os info as below after finishing installation

1.1 # uname -a 
Linux localhost.localdomain 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

1.2 # lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0     2G  0 part /boot/efi
├─sda2   8:2    0     2G  0 part [SWAP]
└─sda3   8:3    0 461.9G  0 part /
sr0     11:0    1  1024M  0 rom  

1.3 # ls /boot/grub/
device.map  splash.xpm.gz

1.4 # cat  /boot/efi/EFI/redhat/grub.conf 
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,2)
#          kernel /boot/vmlinuz-version ro root=/dev/sda3
#          initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda1
device (hd0) HD(1,800,3e8000,139a82a1-41d6-431e-afc4-216aa484134c)
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux 6 (2.6.32-642.el6.x86_64)
	root (hd0,2)
	kernel /boot/vmlinuz-2.6.32-642.el6.x86_64 ro root=UUID=80c6c99d-75ee-49c2-98e2-949f4d44690f rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /boot/initramfs-2.6.32-642.el6.x86_64.img


2.Boot the machine into p2v client via pxe
3.Input conversion server info and click "next"
4.Input conversion info for converting host to libvirt and then click"start conversion" to convert host
5.Conversion will be failed with virt-v2v: error: no grub1/grub-legacy or grub2 configuration file was found, details pls refer to log "rhel6.8-sata-uefi"


Actual results:
As above description

Expected results:
Can convert rhel6.8-sata-uefi host by virt-p2v successfully

Additional info:
1.Can convert rhel7.3-sata-uefi host by virt-p2v successfully. details pls refer to log "rhel7.3-sata-uefi"

Comment 1 mxie@redhat.com 2016-08-18 06:23:00 UTC
Created attachment 1191799 [details]
rhel7.3-sata-uefi

Comment 2 Richard W.M. Jones 2016-08-18 08:10:05 UTC

*** This bug has been marked as a duplicate of bug 1152369 ***