Ok, so it seems that kvm modules are loaded & ok. You also have permission 
denied errors in the log. Double check that the oneadmin user is in the correct 
group and also that the libvirt configs are set to the correct groups. 

----- Original Message -----

From: "prachi de" <[email protected]> 
To: "Gary S. Cuozzo" <[email protected]> 
Sent: Friday, March 8, 2013 12:34:01 AM 
Subject: Re: [one-users] VM creation error -failed to create domain 

Hi Gary, 


Thanks for the help 


I tried the commands you specified in your mail and the output is as follows 



lsmod |grep kvm 
kvm_intel 127736 0 
kvm 365556 1 kvm_intel 
also tried modprobe kvm . I have even tried following solutions 
1] Disabled apparmor and again restarted it. 
2] restarted libvirt service 
3] installd qemu 


Still the same error is persists. 


I tried to check dmesg but unable to find the problem by looking at the log. 
Plz help. 



On Thu, Mar 7, 2013 at 7:16 PM, Gary S. Cuozzo < [email protected] > wrote: 




Hi Prachi, 





<blockquote>

Stucked with one problem while creating virtual machine using opennebula-3.6.0 
with Ubuntu-12.04 desktop machine with i686 architecture. 


Installed kvm on another machine with same configuration and the two machines 
are connected with each other through LAN. 


while creating virtual machine following error reported in /var/oned.log 





Thu Mar 7 12:47:51 2013 [ReM][D]: VirtualMachineDeploy method invoked 
Thu Mar 7 12:47:52 2013 [DiM][D]: Deploying VM 19 
Thu Mar 7 12:47:52 2013 [TM][D]: Message received: TRANSFER SUCCESS 19 - 


Thu Mar 7 12:47:52 2013 [ReM][D]: UserPoolInfo method invoked 
Thu Mar 7 12:47:52 2013 [VMM][D]: Message received: LOG I 19 ExitCode: 0 


Thu Mar 7 12:47:52 2013 [VMM][D]: Message received: LOG I 19 Successfully 
execute network driver operation: pre. 


Thu Mar 7 12:47:53 2013 [VMM][D]: Message received: LOG I 19 Command execution 
fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy 
/srv/cloud/one/var//datastores/0/19/deploy$ 


Thu Mar 7 12:47:53 2013 [VMM][D]: Message received: LOG I 19 error: Failed to 
create domain from /srv/cloud/one/var//datastores/0/19/deployment.0 


Thu Mar 7 12:47:53 2013 [VMM][D]: Message received: LOG I 19 error: internal 
error process exited while connecting to monitor: Could not access KVM kernel 
module: Permi$ 


Thu Mar 7 12:47:53 2013 [VMM][D]: Message received: LOG I 19 failed to 
initialize KVM: Permission denied 


Thu Mar 7 12:47:53 2013 [VMM][D]: Message received: LOG I 19 No accelerator 
found! 


Plz help. 


It looks like you either don't have virtualization turned on in the bios of the 
computer, or the kvm module is not loaded. You can check if the module is 
loaded by: 
lsmod | grep kvm 

If the module is not loaded, you can try: 
modprobe kvm 

Then check to see if it loaded. If not, you should be able too see why via 
dmesg or other log file. 

Hope that helps, 
gary 


</blockquote>




-- 


Prachi D. 




_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to