On Fri, Mar 12, 2010 at 4:53 AM, Tom Georgoulias
t...@mcclatchyinteractive.com wrote:
[te...@kvm ~]$ virsh -c qemu:///system list --all
Id Name State
--
8 changed running
13 changed2 running
14 changed3
On Fri, Mar 12, 2010 at 8:26 AM, Tom Georgoulias
t...@mcclatchyinteractive.com wrote:
On 03/12/2010 11:16 AM, Akemi Yagi wrote:
In the case of virsh, you have a chance to add the -c qemu:///system
option (which is required when running the command as non-root). So,
the question is if this
I have a python script that monitors the VMs on physical host servers
running Xen, but the script doesn't work properly on a server I just
built with KVM. The script runs as a non-root user (same on all
servers) and simply gathers some details on the status and names of the
domains running on
- Tom Georgoulias t...@mcclatchyinteractive.com wrote:
Permissions in /var/run/libvirt:
# ls -ld /var/run/libvirt/*
srwx-- 1 root root0 Feb 5 08:53
/var/run/libvirt/libvirt-sock
srwxrwxrwx 1 root root0 Feb 5 08:53
/var/run/libvirt/libvirt-sock-ro
drwxr-xr-x 2 root root
Hi Tom,
As someone who suggested to you that you should try this mailing list,
I would like to quote some of the discussions that have taken place in
the main mailing list (
http://lists.centos.org/pipermail/centos/2010-March/091654.html ).
$ export LIBVIRT_DEBUG=2
$ virsh list
14:21:06.532:
On Thu, Mar 11, 2010 at 12:19 PM, Tom Georgoulias
t...@mcclatchyinteractive.com wrote:
As test user testu:
[te...@kvm ~]$ virsh -c qemu:///system list --all
error: unable to connect to '/var/run/libvirt/libvirt-sock': Permission
denied
error: failed to connect to the hypervisor
[te...@kvm
On 03/11/2010 03:32 PM, Akemi Yagi wrote:
On Thu, Mar 11, 2010 at 12:19 PM, Tom Georgoulias
t...@mcclatchyinteractive.com wrote:
As test user testu:
[te...@kvm ~]$ virsh -c qemu:///system list --all
error: unable to connect to '/var/run/libvirt/libvirt-sock': Permission
denied
error:
On Thu, Mar 11, 2010 at 12:54 PM, Tom Georgoulias
t...@mcclatchyinteractive.com wrote:
So the virsh command works as expected, but not when I use python.
Because the user running the python script is not part of the group 'testu' ?
Akemi
___