[Bug 580454] Re: libvirt 'ethernet' interface machines won't start.
Checking the log file shows different output if the command is executed via libvirt. LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 256 -smp 1 -name ubuntu -uuid 48c31f45-33a6-1575-c677-55df6a349c01 -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/ubuntu.monitor,server,nowait -monitor chardev:monitor -boot c -drive file=/home/neil/ubuntu-kvm/tmpPKPInx.qcow2,if=ide,index=0,boot=on -net nic,macaddr=52:54:00:20:76:6a,vlan=0,model=virtio,name=virtio.0 -net tap,ifname=ubuntu-eth0,vlan=0,name=tap.0 -serial none -parallel none -usb -vnc 127.0.0.1:0 -vga cirrus warning: could not configure /dev/net/tun: no virtual network emulation Executing the command as root by hand gives: pci_add_option_rom: failed to find romfile "pxe-virtio.bin" which is the same output you get if you attach the machine to the 'default' network. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580454] Re: libvirt 'ethernet' interface machines won't start.
Further analysis of this shows that the 'kvm' process executes and then dies. The 'qemu-ifup' script is not executed so the kvm process must die before then. Running the domain by hand (the output of 'virsh domxml-to-native qemu- argv ubuntu.xml') as root works as expected. (Once you've connected to the domain using 'nc -v /var/lib/libvirt/qemu/ubuntu.monitor' and continued the domain!). -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580454] Re: libvirt 'ethernet' interface machines won't start.
** Changed in: qemu-kvm (Ubuntu) Importance: Undecided => Medium ** Changed in: libvirt (Ubuntu) Importance: Undecided => Medium -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 580454] Re: libvirt 'ethernet' interface machines won't start.
/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 n...@acer-aspire-5536:~$ virsh dumpxml ubuntu - ubuntu - a16c5cc6-fcec-f621-9dce-03e32c619f6f - 524288 - 524288 - 1 - - hvm - - - - - - - destroy - restart - destroy - - /usr/bin/kvm - - - - - - - - - - - - - - + ubuntu + a16c5cc6-fcec-f621-9dce-03e32c619f6f + 524288 + 524288 + 1 + + hvm + + + + + + + destroy + restart + destroy + + /usr/bin/kvm + + + + + + + + + + + + + + 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: UIDPID PPID CSZ 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs