Bug 1023146

Summary: virt-v2v - Error while importing a VM from ESX5.2
Product: Red Hat Enterprise Linux 6 Reporter: Anitha Udgiri <audgiri>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: acathrow, dornelas, dyuan, lcui, 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-08-22 22:07:23 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:

Description Anitha Udgiri 2013-10-24 17:31:01 UTC
Created attachment 815865 [details]
Debug log

Description of problem:

User is attempting to impirt a VM from ESX in order to evaluate RHEV and encounters the following error :

[root@rhel0 ~]# virt-v2v -ic esx://10.1.0.4/?no_verify=1 -o libvirt -os default Formaldehyde
Formaldehyde_Formaldehyde: 100% [======================================================================================================]D 0h18m17s
Formaldehyde_Formaldehyde_1: 100% [====================================================================================================]D 0h18m33s
reg_import: cannot create \ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1af4&dev_1001&subsys_00000000 since parent \ControlSet001\Control\CriticalDeviceDatabase\ does not exist at /usr/lib64/perl5/vendor_perl/Win/Hivex/Regedit.pm line 341
	Win::Hivex::Regedit::_merge_node('CODE(0x2876328)', 'HASH(0x31bb750)', 'HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDevic...', 'ARRAY(0x2f97ec8)', 'ARRAY(0x2faf0e8)') called at /usr/lib64/perl5/vendor_perl/Win/Hivex/Regedit.pm line 196
	Win::Hivex::Regedit::reg_import('IO::String=GLOB(0x2906238)', 'CODE(0x2876328)') called at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/Windows.pm line 272
	Sys::VirtConvert::Converter::Windows::_add_viostor_to_registry('HASH(0x1d4a5b0)', 'Win::Hivex=SCALAR(0x2f7c3d8)', 'ControlSet001') called at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/Windows.pm line 151
	Sys::VirtConvert::Converter::Windows::convert('Sys::VirtConvert::Converter::Windows', 'Sys::VirtConvert::GuestfsHandle=HASH(0x28a67a8)', '/dev/sda2', 'Sys::VirtConvert::Config=HASH(0x267f950)', 'HASH(0x1d4a5b0)', 'HASH(0x24a0500)', 'HASH(0x2670e48)') called at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter.pm line 120
	Sys::VirtConvert::Converter::convert('Sys::VirtConvert::Converter', 'Sys::VirtConvert::GuestfsHandle=HASH(0x28a67a8)', 'Sys::VirtConvert::Config=HASH(0x267f950)', '/dev/sda2', 'HASH(0x24a0500)', 'HASH(0x2670e48)') called at /usr/bin/virt-v2v line 613
	eval {...} called at /usr/bin/virt-v2v line 608

Complete Debug log uploaded.

Comment 3 Richard W.M. Jones 2013-10-24 21:53:45 UTC
I think what we need from the *guest* are the following files:

C:/Windows/System32/config/SYSTEM
C:/Windows/System32/config/SOFTWARE

Note that because these might contain customer-sensitive
data such as passwords, you should be careful about how we
store and transfer them, and use the private flag when attaching
them to this BZ.

Comment 4 RHEL Program Management 2013-10-27 22:17:05 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.