Revision history [back]

click to hide/show revision 1
initial version

failed to initialize KVM: Operation not permitted

When I tried to spawn an instance, I got this error in nova-compute.log

2011-12-04 06:16:06,297 ERROR nova.compute.manager [-] Instance '3' failed to spawn. Is virtualization enabled in the BIOS? Details: internal error Process exited while reading console log output: char device redirected to /dev/pts/3 open /dev/kvm: Permission denied failed to initialize KVM: Operation not permitted (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 438, in _run_instance (nova.compute.manager): TRACE: network_info, block_device_info) (nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 131, in wrapped (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: internal error Process exited while reading console log output: char device redirected to /dev/pts/3 (nova.compute.manager): TRACE: open /dev/kvm: Permission denied (nova.compute.manager): TRACE: failed to initialize KVM: Operation not permitted (nova.compute.manager): TRACE: (nova.compute.manager): TRACE:

I chgrp'ed /dev/kvm to "kvm", and even chmod'ed to 777:

ls -l /dev/kvm

crwxrwxrwx+ 1 root kvm 10, 232 2011-11-28 14:14 /dev/kvm

Also

kvm-ok

INFO: /dev/kvm exists KVM acceleration can be used

What else can I do to further investigate this problem?

Your help is really appreciated!