Bug 770398

Summary: For windows conversion, the firstboot.bat, rhsrvany.exe and rhev-apt.exe exist after convert guest to kvm
Product: Red Hat Enterprise Linux 6 Reporter: yuping zhang <yupzhang>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: cwei, mzhan, rjones, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 11:26:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yuping zhang 2011-12-26 10:11:27 UTC
Description of problem:
Convert windows guest to rhev,the three files firstboot.bat, rhsrvany.exe and rhev-apt.exe will run on guest to check the drivers on RHEV.
But they are not necessary to a guest which running on kvm.

Version-Release number of selected component (if applicable):
virt-v2v-0.8.3-5.el6.x86_64


How reproducible:
always

Steps to Reproduce:
1.Convert a windows guest to kvm
# virt-v2v -ic qemu+ssh://10.66.72.122/system -os default kvm-win7-x86_64 -b rhevm
root.72.122's password:
root.72.122's password:
Win7-x86_64.raw: 100% [==============================================]D 0h04m10s
virt-v2v: WARNING: The connected hypervisor does not support feature pae.
virt-v2v: kvm-win7-x86_64 configured with virtio drivers.

2.Check if the files firstboot.bat,rhsrvany.exe and rhev-apt.exe exist in "C:\Temp\V2V" folder.

Expected results:
When convert a guest to kvm,the three files don't need to be copied and ran. 

Actual results:
The three files firstboot.bat,rhsrvany.exe and rhev-apt.exe exist,and running after first boot.

Additional info:

Comment 2 RHEL Program Management 2012-05-03 04:38:16 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 tingting zheng 2012-05-21 06:58:08 UTC
Tested with virt-v2v-0.8.7-6.el6.x86_64:
Remove the three files from software,when converting windows guest to libvirt,it can be converted successfully,however there is unnecessary warning:
virt-v2v: WARNING: The RHEV Application Provisioning Tool cannot be configured because the following files referenced in the configuration file are required, but missing: windows/firstboot.bat windows/rhev-apt.exe windows/rhsrvany.exe

# virt-v2v  -ic qemu+ssh://10.66.72.122/system -os default -b breth0 kvm-win7-x86_64
Win7-x86_64.raw: 100% [================================================================================]D 0h03m54s
virt-v2v: WARNING: The RHEV Application Provisioning Tool cannot be configured because the following files referenced in the configuration file are required, but missing: windows/firstboot.bat windows/rhev-apt.exe windows/rhsrvany.exe
virt-v2v: WARNING: The connected hypervisor does not support feature pae.
virt-v2v: kvm-win7-x86_64 configured with virtio drivers.

Comment 5 Richard W.M. Jones 2014-11-18 11:26:11 UTC
Virt-v2v needs to run on the latest Red Hat Enterprise Linux release
to ensure it can correctly read and modify new guest filesystem
features.  A new version of virt-v2v is now available for RHEL 7.1.

Before RHEL 7.1 is released, follow the instructions here to
install unsupported preview packages on top of RHEL 7.0:
https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html

After RHEL 7.1 is released, virt-v2v will be available in
Technical Preview.

You can run virt-v2v in a single virtual machine.  Other
requirements are covered here:
http://libguestfs.org/virt-v2v.1.html#resource-requirements

If you find a missing feature or bug in the new version of virt-v2v
please file a bug using the following link:
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=libguestfs