You are not logged in.

#1 2013-01-31 09:03:54

vri
Member
Registered: 2008-08-17
Posts: 33

[SOLVED] VM's still not starting after libvirt 1.0.1-4 -> 1.0.2-1 upgr

I had the problem described in this post: https://bbs.archlinux.org/viewtopic.php?id=157102
I tried the suggested solution, but when starting a VM i get the message 'virDomainCreate() failed'. This remains to happen today, after the upgrade to 1.0.2-1. Same happens when I try to create a new image.

user/group are still set to root/root in qemu.conf
The VM images are there in /var/lib/libvirt/images
The network description is in /var/lib/libvirt/network/default.xml

I searched for any domain xml files, but cannot find them. The directory /var/lib/libvirt/qemu does not list them. Where are they supposed to be located? Is this related to my error?

I did remove ~/.libvirt after upgrading, as was suggested by the install message. Can this be the reason?

Help appriciated, thanks in advance

Last edited by vri (2013-02-01 14:55:59)

Offline

#2 2013-01-31 12:17:31

vri
Member
Registered: 2008-08-17
Posts: 33

Re: [SOLVED] VM's still not starting after libvirt 1.0.1-4 -> 1.0.2-1 upgr

Found the xml files concerning my images, they are there
Commented the user/group in /etc/libvirt/qemu.conf again and did a rollback to a previous version
# pacman -U /var/cache/pacman/pkg/libvirt-1.0.1-2-x86_64.pkg.tar.xz

Now it is working again, so the removal of the .libvirt directory does not matter either.

Bug?

Offline

#3 2013-01-31 13:05:38

monzer4819
Member
Registered: 2009-03-26
Posts: 26

Re: [SOLVED] VM's still not starting after libvirt 1.0.1-4 -> 1.0.2-1 upgr

I'm also experiencing the problem.

When launching from virsh, it gives a clue:

Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # connect qemu:///system

virsh # start Arch-KVM
error: Failed to start domain Arch-KVM
error: internal error process exited while connecting to monitor: chardev: opening backend "pty" failed


virsh # 

I've done some reading, and in the past this message has been generated when permissions on /dev/pts are wrong (or libvirt's access to it is wrong).   I'm not sure if the issue came from the 3.7.5 initramfs or from the libvirt upgrade.

Offline

#4 2013-01-31 20:32:00

monzer4819
Member
Registered: 2009-03-26
Posts: 26

Re: [SOLVED] VM's still not starting after libvirt 1.0.1-4 -> 1.0.2-1 upgr

Update, fixed by updating to libvirt 1.0.2-2 and adjusting /etc/qemu/qemu.conf to run as my own username.

Offline

#5 2013-02-01 14:55:02

vri
Member
Registered: 2008-08-17
Posts: 33

Re: [SOLVED] VM's still not starting after libvirt 1.0.1-4 -> 1.0.2-1 upgr

Works like a charm again, thanks for your quick action.

Offline

Board footer

Powered by FluxBB