[Bug 580454] Re: libvirt 'ethernet' interface machines won't start.
Neil Wilson
neil at aldur.co.uk
Fri May 14 16:09:20 BST 2010
/etc/qemu-ifup and /etc/qemu-ifdown don't check if the bridge exists
before trying to add devices. Initially it looked like this may be the
cause, but fixing them doesn't help.
** Summary changed:
- qemu-ifup script stops libvirt 'ethernet' interface machines from starting.
+ libvirt 'ethernet' interface machines won't start.
** Description changed:
Binary package hint: qemu-kvm
- qemu-kvm assumes that a bridge exists (/etc/qemu-ifup doesn't check if
- the bridge exists before adding an interface to it.) and that the user
- will always want the interface added to it.
+ Machines with generic ethernet interfaces defined in Qemu simply don't
+ start
- This is not necessarily the case and causes properly defined machines
- via libvirt to fail with a cryptic error.
+ Properly defined machines via libvirt to fail with a cryptic error.
error: Failed to start domain ubuntu
error: monitor socket did not show up.: Connection refused
neil at acer-aspire-5536:~$ virsh dumpxml ubuntu
<domain type='kvm'>
- <name>ubuntu</name>
- <uuid>a16c5cc6-fcec-f621-9dce-03e32c619f6f</uuid>
- <memory>524288</memory>
- <currentMemory>524288</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch='x86_64' machine='pc-0.12'>hvm</type>
- <boot dev='hd'/>
- </os>
- <features>
- <acpi/>
- </features>
- <clock offset='utc'/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>destroy</on_crash>
- <devices>
- <emulator>/usr/bin/kvm</emulator>
- <disk type='file' device='disk'>
- <source file='/home/neil/machines/ubuntu-kvm/tmpSB2rjR.qcow2'/>
- <target dev='hda' bus='ide'/>
- </disk>
- <interface type='ethernet'>
- <mac address='52:54:00:4a:ca:ae'/>
- <model type='virtio'/>
- </interface>
- <input type='mouse' bus='ps2'/>
- <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>
- <video>
- <model type='cirrus' vram='9216' heads='1'/>
- </video>
- </devices>
+ <name>ubuntu</name>
+ <uuid>a16c5cc6-fcec-f621-9dce-03e32c619f6f</uuid>
+ <memory>524288</memory>
+ <currentMemory>524288</currentMemory>
+ <vcpu>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc-0.12'>hvm</type>
+ <boot dev='hd'/>
+ </os>
+ <features>
+ <acpi/>
+ </features>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/kvm</emulator>
+ <disk type='file' device='disk'>
+ <source file='/home/neil/machines/ubuntu-kvm/tmpSB2rjR.qcow2'/>
+ <target dev='hda' bus='ide'/>
+ </disk>
+ <interface type='ethernet'>
+ <mac address='52:54:00:4a:ca:ae'/>
+ <model type='virtio'/>
+ </interface>
+ <input type='mouse' bus='ps2'/>
+ <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>
+ <video>
+ <model type='cirrus' vram='9216' heads='1'/>
+ </video>
+ </devices>
</domain>
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: qemu-common 0.12.3+noroms-0ubuntu9
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Fri May 14 11:56:32 2010
Dependencies:
- seabios 0.5.1-0ubuntu2
- vgabios 0.6c-2ubuntu1
+ seabios 0.5.1-0ubuntu2
+ vgabios 0.6c-2ubuntu1
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
Lsusb:
- Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+ Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+ Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+ Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer Aspire 5536
PackageArchitecture: all
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=97bd7f86-677a-4093-8e28-e292a06e0ebd ro quiet splash
ProcEnviron:
- PATH=(custom, user)
- LANG=en_GB.utf8
- SHELL=/bin/bash
+ PATH=(custom, user)
+ LANG=en_GB.utf8
+ SHELL=/bin/bash
SourcePackage: qemu-kvm
dmi.bios.date: 02/27/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.03
dmi.board.name: JV50PU
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.03:bd02/27/2009:svnAcer:pnAspire5536:pvr0100:rvnAcer:rnJV50PU:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5536
dmi.product.version: 0100
dmi.sys.vendor: Acer
** Also affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
--
libvirt 'ethernet' interface machines won't start.
https://bugs.launchpad.net/bugs/580454
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list