On a gentoo server with libvirt-1.1.3 I get problems with starting VMs. When I do: # virsh start vm180 error: Failed to start domain vm180 error: Input/output error This happens with 1.1.3 and 1.1.4 (I rebuilt the packages and restarted the libvirtd.service). # journalctl -f -u libvirtd.service shows: Dec 03 17:32:56 jupiter libvirtd[24020]: Input/output error Dec 03 17:33:47 jupiter libvirtd[24020]: Input/output error The log for the specific VM shows: 2013-12-03 16:33:47.004+0000: starting up LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -name vm180 -S -machine pc-i440fx-1.5,accel=kvm,usb=off -cpu Opteron_G5,+bmi1,+perfctr_nb,+perfctr_core,+topoext,+nodeid_msr,+tce,+lwp,+wdt,+skinit,+ibs,+osvw,+cr8legacy,+extapic,+cmp_legacy,+fxsr_opt,+mmxext,+osxsave,+monitor,+ht,+vme -m 3954 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid 646f757f-2ab7-4fdf-2140-a79396200c6f -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vm180.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,clock=vm,driftfix=slew -no-kvm-pit-reinjection -no-hpet -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/dev/VG01/vm180_disk0,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=threads -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/mnt/tests/grml64-full_2013.02.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:8d:3b:af,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:5 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 2013-12-03 16:33:47.013+0000: shutting down libvirt: error : libvirtd quit during handshake: Input/output error What can I do about this issue? Thanks for any pointers, Stefan
Stefan G. Weichinger
2013-Dec-03 17:24 UTC
Re: [libvirt-users] error: Failed to start domain
Am 03.12.2013 17:36, schrieb Stefan G. Weichinger:> > On a gentoo server with libvirt-1.1.3 I get problems with starting VMs.Additional logs: # journalctl -f lists Dec 03 18:19:31 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedeskt...sn't exist Dec 03 18:19:31 jupiter libvirtd[2039]: Input/output error when I issue "virsh start vm180" --- # journalctl -f -u systemd-machined.service -- Logs begin at Tue 2013-08-27 23:38:28 CEST. -- Dec 03 18:02:55 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist Dec 03 18:04:31 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist Dec 03 18:06:49 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist Dec 03 18:07:22 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist Dec 03 18:08:11 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist Dec 03 18:14:02 jupiter systemd[1]: [/usr/lib64/systemd/system/systemd-machined.service:12] Failed to add dependency on machine.slice, ignoring: Invalid argument Dec 03 18:14:02 jupiter systemd[1]: [/usr/lib64/systemd/system/systemd-machined.service:13] Failed to add dependency on machine.slice, ignoring: Invalid argument Dec 03 18:15:27 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist Dec 03 18:19:23 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist Dec 03 18:19:31 jupiter systemd-machined[23995]: Failed to start machine scope: Method "StartTransientUnit" with signature "ssa(sv)" on interface "org.freedesktop.systemd1.Manager" doesn't exist This is systemd-208-r2 (in gentoo terms)