Bug 1365473
| Summary: | virt-p2v fails when source machine is using tboot (Intel Trusted Boot pre-kernel module) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | mxie <mxie> | ||||||||||
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||||||||
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | high | ||||||||||||
| Version: | 7.3 | CC: | cww, juzhou, mkalinin, 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: | 2019-05-13 10:16:58 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: | |||||||||||||
| Bug Depends On: | |||||||||||||
| Bug Blocks: | 1420851 | ||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 1189217 [details]
fc-double-road
Created attachment 1189218 [details]
rhel6.8-lpfc-one-road
Created attachment 1189219 [details]
rhel6.8-lpfc-double-road
I also could reproduce this bug when convert rhel6.8-MD host by virt-p2v with builds: libvirt-2.0.0-5.el7.x86_64 virt-p2v-1.32.7-2.el7.x86_64 libguestfs-1.32.7-2.el7.x86_64 virt-v2v-1.32.7-2.el7.x86_64 qemu-kvm-rhev-2.6.0-21.el7.x86_64 virtio-win-1.8.0-5.el7.noarch (In reply to mxie from comment #5) > I also could reproduce this bug when convert rhel6.8-MD host by virt-p2v > with builds: > libvirt-2.0.0-5.el7.x86_64 > virt-p2v-1.32.7-2.el7.x86_64 > libguestfs-1.32.7-2.el7.x86_64 > virt-v2v-1.32.7-2.el7.x86_64 > qemu-kvm-rhev-2.6.0-21.el7.x86_64 > virtio-win-1.8.0-5.el7.noarch I think this bug is related to package "tboot-1.8.3-2.el6.x86_64.rpm " because the conversion will be finished without error if not select tboot package during installing rhel6.8 on MD Sorry for some reason this bug dropped off the radar. I think you are right that the conversion failed because of the use of tboot (which I'd never heard of up til now). Updating the summary to reflect this. I was trying to work out a reproducer for this, but I can't quite work it out. Simply installing tboot is not sufficient to reproduce it. Out of development time for RHEL 7.4. Moving to RHEL 7.5. We're not planning any more work on virt-p2v in RHEL 7 once 7.7 is released. If this issue occurs in RHEL 8, please open a new bug about it. |
Created attachment 1189216 [details] fc-one-road escription of problem: Can't convert rhel6.8 x86-lpfc host by virt-p2v Version-Release number of selected component (if applicable): libvirt-2.0.0-4.el7.x86_64 libguestfs-1.32.6-5.el7.x86_64 qemu-kvm-rhev-2.6.0-18.el7.x86_64 virt-v2v-1.32.6-5.el7.x86_64 virt-p2v-1.32.6-5.el7.x86_64 How reproducible: 50% Steps to Reproduce: 1.Install rhel6.8 x64 on lpfc storage which has one road, pls refer to screenshot fc-one-road, besides machine (IBM-x3755-04)could boot into os after installation, check os info as below 1.1 # uname -a Linux bootp-73-199-17.lab.eng.pek2.redhat.com 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 sr0 11:0 1 1024M 0 rom sr1 11:1 1 1024M 0 rom sda 8:0 0 60G 0 disk ├─sda1 8:1 0 53.7G 0 part / └─sda2 8:2 0 6.3G 0 part [SWAP] 1.3 #lsmod |grep lpfc lpfc 664447 2 scsi_transport_fc 55235 4 bnx2fc,fcoe,libfc,lpfc crc_t10dif 1209 2 sdmod,lpfc 1.4 # cat /boot/grub/menu.lst # 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,0) # kernel /boot/vmlinuz-version ro root=/dev/sda1 # initrd /boot/initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux 6 (2.6.32-642.el6.x86_64) root (hd0,0) kernel /boot/tboot.gz logging=vga,serial,memory module /boot/vmlinuz-2.6.32-642.el6.x86_64 ro root=UUID=8fd685a2-3215-484c-ab7a-04ab6f26e4aa intel_iommu=on amd_iommu=on 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 2.Boot the machine into p2v client via pxe 3.Input conversion server info and click "next" 4.Input conversion info and then click"start conversion" to convert host 5.Conversion will be failed with virt-v2v: error: no kernels were found in the grub configuration, details pls refer to details log Actual results: As above description Expected results: Could convert rhel6.64-lpfc host by virt-p2v successfully Additional info: 1.Can reproduce this problem on another lpfc machine(hp460cg1-01) which has fc storage with one road 2.Can't reproduce this problem on another lpfc machine(hp460cg1-02) which has fc storage with double road, pls refer to screeshot fc-double-road