Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 704417 - virt-clone:generate wrong mac address when clone a guest
virt-clone:generate wrong mac address when clone a guest
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-virtinst (Show other bugs)
5.7
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Cole Robinson
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-13 00:36 EDT by zhe peng
Modified: 2012-02-21 01:10 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-21 01:10:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0233 normal SHIPPED_LIVE python-virtinst bug fix update 2012-02-20 10:07:41 EST

  None (edit)
Description zhe peng 2011-05-13 00:36:15 EDT
Description of problem:
wrong mac address when using virt-clone to clone a guest of kvm

Version-Release number of selected component (if applicable):
libvirt-0.8.2-19.el5
python-virtinst-0.400.3-12.el5
kvm-qemu-img-83-231.el5
kvm-83-231.el5

How reproducible:
always

Steps to Reproduce:
1.use virt-install install a guest
# virt-install -n demo -r 1024 -l http://download.englab.nay.redhat.com/pub/rhel/rel-eng/RHEL5.7-Server-20110430.2/tree-x86_64 -x ks=http://home.englab.nay.redhat.com/~nzhang/kickstart/http/ks-rhel5u7-x86_64.cfg --accelerate -f /var/lib/libvirt/images/demo.img -s 5

2.after guest install, shutdown the guest,and run virt-clone command
# virt-clone -o demo -n demo-clone -f /var/lib/libvirt/images/demo-clone.img --debug
3.#virsh dumpxml demo-clone
  
Actual results:
........
<interface type="network">
      <mac address="00:16:3e:54:3b:d4"/>
      <source network="default"/>
      <target dev="vnet0"/>
    </interface>
.......
Expected results: in rhel 5.7 qemu-kvm the mac address should be start with 54:52:00
........
<interface type="network">
      <mac address="54:52:00:54:3b:d4"/>
      <source network="default"/>
      <target dev="vnet0"/>
    </interface>
.......

Additional info:
Comment 1 RHEL Product and Program Management 2011-06-20 18:50:57 EDT
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.
Comment 3 Nan Zhang 2011-08-24 06:53:49 EDT
The prefix MAC address should be 52:54:00.
Comment 4 RHEL Product and Program Management 2011-09-22 20:25:36 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. 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 5 Cole Robinson 2011-10-14 15:17:50 EDT
Ah, and still a bug upstream! Fixed now:

http://git.fedorahosted.org/git?p=python-virtinst.git;a=commit;h=8060feeb26be4cd0ab36feca88e8a92db54b09e2
Comment 6 RHEL Product and Program Management 2011-10-18 09:27:41 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. 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 7 Cole Robinson 2011-10-20 10:29:57 EDT
Fixed in python-virtinst-0.400.3-13.el5
Comment 8 zhe peng 2011-10-25 03:14:13 EDT
verify with:
python-virtinst-0.400.3-13.el5
libvirt-0.8.2-22.el5
kernel-2.6.18-274.el5

step:
 1:use virt-install install a guest named rhel5.7
 2.after guest install, shutdown the guest,and run virt-clone command
# virt-clone -o rhel5.7 -n rhel5.7clone -f /var/lib/libvirt/images/rhel57-clone.img --debug
 3.#virsh dumpxml rhel5.7clone
..... 
<interface type='network'>
      <mac address='54:52:00:44:0e:a6'/>
      <source network='default'/>
    </interface>
.....
verification passed.
Comment 9 errata-xmlrpc 2012-02-21 01:10:15 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0233.html

Note You need to log in before you can comment on or make changes to this bug.