Bug 1445659

Summary: RFE: convert Windows UEFI guests from VMware to OpenStack Glance
Product: Red Hat Enterprise Linux 7 Reporter: liuwei <wliu>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: cww, kchamart, mxie, mzhan, nchandek, ptoscano, rjones, tzheng
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: V2V
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-13 11:42:25 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: 1369007, 1419191    
Bug Blocks: 1420851, 1477664    

Description liuwei 2017-04-26 08:54:43 UTC
Description of problem:

According to the below links mentioned:

https://access.redhat.com/articles/1247463
https://access.redhat.com/knowledge/solutions/2085333
https://bugzilla.redhat.com/show_bug.cgi?id=1431579#c14

The Customer want to covert the Windows which BIOS is UEFI from Vmware to openstack glance image, but it is failed . 

the error message is below:

ibguestfs: trace: v2v: internal_autosync = 0
libguestfs: sending SIGTERM to process 18461
libguestfs: qemu maxrss 754072K
libguestfs: trace: v2v: shutdown = 0
libguestfs: trace: v2v: close
libguestfs: closing guestfs handle 0x1106cf0 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsLz0xOe
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsiEwq5C
[ 344.8] Checking if the guest needs BIOS or UEFI to boot
virt-v2v: error: this guest cannot run on the target, because the target
does not support uefi firmware (supported firmware on target: bios)
rm -rf '/var/tmp/glance.sD7OBQ'
rm -rf '/var/tmp/null.jI6cXE'

Version-Release number of selected component (if applicable):


virt-v2v-1.36.3-3.el7.x86_64
libvirt-3.2.0-2.el7.x86_64
OVMF-20170228-3.gitc325e41585e3.el7.noarch
qemu-kvm-rhev-2.6.0-28.el7_3.6.x86_64



How reproducible:

100% reproduced


Steps to Reproduce:
1.
2.
3.

Actual results:

Still not working 

Expected results:

Resolve this issue ASAP

Additional info:

Comment 3 Pino Toscano 2017-04-26 09:03:20 UTC
It looks like it could be easily supported by setting the hw_firmware_type=uefi property for UEFI images; OTOH it seems the UEFI guests in OpenStack are not well tested yet (at least from our side) -- bug 1419191.

Comment 4 Pino Toscano 2017-04-28 09:04:05 UTC
This has been enabled upstream with
https://github.com/libguestfs/libguestfs/commit/7409c9d9d36dc59f3b44824b8fd3b710225531ab
which is in libguestfs >= 1.37.13.

However, this needs more testing, especially on the OpenStack side, since UEFI guests are still considered experimental.

Comment 9 Richard W.M. Jones 2018-08-02 09:58:35 UTC
For general information about work on integrating openstack, see:
https://www.redhat.com/archives/libguestfs/2018-July/msg00068.html

Comment 10 Richard W.M. Jones 2019-04-25 09:41:07 UTC
This is likely fixed in RHEL 7, but requires someone on the OSP team to test it.

Comment 11 Richard W.M. Jones 2019-05-13 11:42:25 UTC
I'm closing this because it's most likely fixed in RHEL 7, but we're not
planning any further development on virt-v2v once 7.7 is out.  If the
problem still happens in RHEL 8 please open a new bug about it (probably
against RHOSP).