vmbuilder 0.12.4-0ubuntu fails to consider MAC address

Bug #629242 reported by Jerome Potts
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: python-vm-builder

"vmbuilder kvm ubuntu --mac=00:16:3e:10:34:31" builds a VM with resulting MAC "52:54:00:xx:xx:xx" : a "virsh dumpxml <vm> | grep address" returns the latter address number, not the former. And the DHCP leases file reports the same number.

If i provide the MAC address with hyphens instead of colons as separator, i get a "malformed MAC address" error from the preflight_check of post_install hook (like 25 mn in the game, out of 30 mn total, even though i have "tmpfs= -"), which indicates that the --mac parm was not completely ignored (just partly ?) (looking at /usr/share/pyshared/VMBuilder/plugins/network/__init__.py it looks like it expects colons and nothing else)

I've tried enclosing the address in single quotes, just to be sure, but i get the same result.

BTW, i invoke vmbuilder with the --verbose option, but do not get any report on any MAC address, just a general "configure_networking" hook running info msg.

I have, in the [kvm] section of ~/.vmbuilder.cfg, "bridge = br0", in case that matters. The resulting XML shows
<interface type='bridge'>
      <mac address='52:54:00:7f:93:28'/>
      <source bridge='br0'/>
      <target dev='vnet2'/>
      <model type='virtio'/>
</interface>

Also in the cfg file,
[DEFAULT]
arch = amd64
[ubuntu]
suite = lucid
flavour = server

(i have no idea what could go in the [kvm/ubuntu] section of this file)

$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

Changed in vm-builder (Ubuntu):
importance: Undecided → Low
Revision history for this message
Jarl (jarl-dk) wrote :

Is this the same as bug 392097?

Revision history for this message
Jerome Potts (jerome-potts) wrote :

Sure looks like it. That's weird, since i searched for it prior to posting my own, but obviously didn't see it.
Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vm-builder (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.