RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1368008 - Can't convert rhel6.8-sata-uefi host by virt-p2v
Summary: Can't convert rhel6.8-sata-uefi host by virt-p2v
Keywords:
Status: CLOSED DUPLICATE of bug 1152369
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.3
Hardware: x86_64
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: P2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-18 06:21 UTC by mxie@redhat.com
Modified: 2016-08-18 08:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-18 08:10:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhel6.8-sata-uefi (80.81 KB, application/zip)
2016-08-18 06:21 UTC, mxie@redhat.com
no flags Details
rhel7.3-sata-uefi (191.88 KB, application/zip)
2016-08-18 06:23 UTC, mxie@redhat.com
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.