Bug 624950

Summary: No firstboot.bat and rhev-apt.exe will make Windows conversion fail
Product: Red Hat Enterprise Linux 6 Reporter: Rita Wu <rwu>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.0CC: cwei
Target Milestone: rcKeywords: RHELNAK, TestBlocker
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-18 13:02:44 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 Rita Wu 2010-08-18 08:33:31 UTC
Description of problem:
Now /var/lib/virt-v2v/software/windows won't be there when installing V2V.But 
firstboot.bat and rhev-apt.exe are still specified in the old path in virt-v2v.conf as below, so it will fail to convert Windows guests due to missing firstboot.bat and rhev-apt.exe

 <!-- This is a script, so arch-independent -->
  <app os='windows' name='firstboot'>
    <path>windows/firstboot.bat</path>
  </app>
  <app os='windows' name='firstbootapp'>
    <path>windows/rhev-apt.exe</path>
  </app>

  <!-- Default file locations -->
  <path-root>/var/lib/virt-v2v/software</path-root>
  <iso-path>/var/lib/virt-v2v/transfer.iso</iso-path>


# ls /var/lib/virt-v2v/software/
rhel


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

How reproducible:
always

Steps to Reproduce:
1. Install virt-v2v-0.6.2-2.el6.x86_64
2. # virt-v2v -ic xen+ssh://10.66.93.224 -o rhev -osd 10.66.90.115:/vol/v2vrwu/rwuv2v/xen_export 2k3-32b-hv-raw-intel
virt-v2v: Installation failed because the following files referenced in the configuration file are required, but missing: windows/firstboot.bat windows/rhev-apt.exe windows/rhsrvany.exe


  
Actual results:
Fail to convert Windows guests

Expected results:
Install firstboot.bat and rhev.exe in /var/lib/virt-v2v/software/windows so it can convert Windows guests successfully.

Additional info:

Comment 2 Rita Wu 2010-08-18 08:52:36 UTC
Although we can have a workaround(copy firstboot.bat ,etc from old version of v2v), I'm afraid it is not a best choice. So set it as TestBlocker.

Comment 3 RHEL Program Management 2010-08-18 08:58:10 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 5 Matthew Booth 2010-08-18 13:02:44 UTC
This is a regression caused by the fix for bug 617635. We'll track this there.

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