<div dir="ltr">Thank you for your reply,<div><br></div><div style>I found the solution. As I said the problem begins after I restarted physical hosts, because I disabled SELinux from  /etc/sysconfig/selinux , and this is not disabling it, so after the restart SELinux was enabled again. </div>
<div style>Instead the SELinux need to be disabled from  /etc/selinux/config </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 6:41 PM, Jon <span dir="ltr"><<a href="mailto:three18ti@gmail.com" target="_blank">three18ti@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">The docs for the KVM driver say that it is necessary to change ownership of /dev/KVM to one admin.  I'm on Ubuntu, and changing the ownership caused this exact error (sorry, it was some weeks ago so I don't have the logs).  Removing the udev rule and chowning /dev/kvm back to default resolved the error.</p>


<p dir="ltr">I'm not recommending this course of action, as it is contrary to the docs and is likely indicative that I've done something wrong in my setup, however, I have not had any issues and therefore assigned a low priority on chasing the issue further.</p>


<p dir="ltr">Maybe Javier can shed some light on why this step is required?</p>
<p dir="ltr">Just my $0.02</p>
<p dir="ltr">Best Regards,<br>
Jon A</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jun 19, 2013 7:44 AM, "Javier Fontan" <<a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Can you check that kvm and kvm_intel or kvm_amd modules are loaded?<br>
<br>
On Tue, Jun 18, 2013 at 10:48 AM, Andranik Hayrapetyan<br>
<<a href="mailto:andranik.h89@gmail.com" target="_blank">andranik.h89@gmail.com</a>> wrote:<br>
> Good day,<br>
><br>
> My OpenNebula 4 installation was working fine, before I restarted the<br>
> physical hosts.<br>
> After a restart I get the following errors when I try to run an instance.<br>
><br>
> Tue Jun 18 08:37:24 2013 [VMM][I]: error: Failed to create domain from<br>
> /var/lib/one//datastores/0/11/deployment.0<br>
> Tue Jun 18 08:37:24 2013 [VMM][I]: error: internal error process exited<br>
> while connecting to monitor: open /dev/kvm: Permission denied<br>
> Tue Jun 18 08:37:24 2013 [VMM][I]: failed to initialize KVM: Operation not<br>
> permitted<br>
> Tue Jun 18 08:37:24 2013 [VMM][I]: No accelerator found!<br>
> Tue Jun 18 08:37:24 2013 [VMM][I]:<br>
> Tue Jun 18 08:37:24 2013 [VMM][E]: Could not create domain from<br>
> /var/lib/one//datastores/0/11/deployment.0<br>
> Tue Jun 18 08:37:24 2013 [VMM][I]: ExitCode: 255<br>
> Tue Jun 18 08:37:24 2013 [VMM][I]: Failed to execute virtualization driver<br>
> operation: deploy.<br>
> Tue Jun 18 08:37:24 2013 [VMM][E]: Error deploying virtual machine: Could<br>
> not create domain from /var/lib/one//datastores/0/11/deployment.0<br>
> Tue Jun 18 08:37:24 2013 [DiM][I]: New VM state is FAILED<br>
><br>
><br>
> /etc/udev/rules.d/80-kvm.rules contains the following - KERNEL=="kvm",<br>
> GROUP="oneadmin", MODE="0660"<br>
><br>
> oneadmin is added to kvm group.<br>
><br>
> Can anyone help me with this ?<br>
><br>
> Thanks in advance!<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
<br>
<br>
<br>
--<br>
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of<br>
September 2013!<br>
<br>
Javier Fontán Muiños<br>
Project Engineer<br>
OpenNebula - The Open Source Toolkit for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a> | @OpenNebula<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div>
</div></div></blockquote></div><br></div>