[one-users] error create VM KVM

Fabian Wenk fabian at wenks.ch
Sat Nov 26 15:59:38 PST 2011


Hello Dian

On 24.11.2011 07:58, Dian Djaelani wrote:
> Thu Nov 24 13:50:39 2011 [VMM][I]: error: internal error process exited while connecting to monitor: open /dev/kvm: Permission denied
> Thu Nov 24 13:50:39 2011 [VMM][I]: failed to initialize KVM: Operation not permitted

It seems that the oneadmin user on the cluster node is not 
allowed to access libvirtd, and those is not able to start a VM 
using /dev/kvm.

In libvritd.conf there should be the following option:
unix_sock_group = "cloud"

And also the user oneadmin should be in the group 'cloud' on the 
cluster node (the uid/gid number may differ on your system):
# id oneadmin
uid=1008(oneadmin) gid=1008(cloud) groups=1008(cloud)

If your oneadmin user has a different primary group (gid), then 
use this group name instead of 'cloud'.


bye
Fabian



More information about the Users mailing list