Bug 594591

Summary: virt-v2v: different mac address in converted guest from Xen
Product: Red Hat Enterprise Linux 5 Reporter: Nan Zhang <nzhang>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: llim, mbooth, rjones, tyan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-06 09:16:17 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:
Attachments:
Description Flags
rhel5u5-32b-pv-raw-intel.xml none

Description Nan Zhang 2010-05-21 05:53:11 UTC
Description of problem:
There is different mac address in converted guest, it will lead to guest's network interface(eth0) down.

Version-Release number of selected component (if applicable):
virt-v2v-0.6.0-1.el5
v2v-libvirt-0.8.1-1.el5

How reproducible:
Always

Steps to Reproduce:
virt-v2v -i libvirtxml -op v2v-test /mnt/V2V_image/xen-image/intel/rhel5u5-32b-pv-raw-intel.xml
  
Actual results:
Fail to start up network interface(eth0).

Expected results:
Keeping the same mac address after conversion.

Additional info:

Comment 1 Matthew Booth 2010-06-30 13:37:22 UTC
Could you please attach the contents of /mnt/V2V_image/xen-image/intel/rhel5u5-32b-pv-raw-intel.xml?

Comment 2 Nan Zhang 2010-07-06 06:20:46 UTC
Created attachment 429679 [details]
rhel5u5-32b-pv-raw-intel.xml

Comment 3 Matthew Booth 2010-09-06 09:16:17 UTC
The MAC address in the metadata is:

00:16:36:6c:a0:a4

however the MAC address in the guest, pre-conversion is:

00:16:36:70:DB:A5

It looks like the guest and metadata don't match up. Networking would not have worked on this guest prior to conversion. There's not much we can do about that.