<div dir="ltr">Hi Carlos<div><br></div><div><div>Your tip did the loading of driver KVM work! Thank you.</div><div><br></div><div>About the problem with SSH, i've found the solution on the link below, and now it works:</div>
<div><a href="http://bugs.centos.org/view.php?id=6468">http://bugs.centos.org/view.php?id=6468</a></div><div><br></div><div>All the previous errors disappeared. However, the VM still does not deploy. The log reported that the kvm is not installed on the host. I'm gointo to follow the official documentation to try to resolve the problem.</div>
<div><a href="http://opennebula.org/documentation:rel4.2:kvmg">http://opennebula.org/documentation:rel4.2:kvmg</a></div><div><br></div><div>Another question arised when I tried to create a VM on the server ONE (localhost). The error message (this message continues after the log):</div>
<div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [I]: Command execution fail: / var / lib / one / remotes / tm / shared / clone centos1 var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e :/ localhost: / var / lib / one / / datastores/0/4/disk.0 4 1</font></div>
<div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [I]: clone: Cloning / var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e in localhost :/ var / lib / one / / datastores/0/4/disk. 0</font></div><div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [E]: clone: Command "cd / var/lib/one/datastores/0/4; cp-r / var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e / var/lib/one/datastores/0/4/disk.0 "failed: Permission denied, please try again.</font></div>
<div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [I]: Permission denied, please try again.</font></div><div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [I]: Permission denied (publickey, gssapi-keyex, gssapi-with-mic, password).</font></div>
<div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [E]: Error copying centos1 :/ var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e to localhost :/ var / lib / one / / datastores/0/4/disk .0</font></div><div>
<font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [I]: ExitCode: 255</font></div><div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [TM] [E]: Error executing image transfer script: Error copying centos1 :/ var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e to localhost :/ var / lib / one / / datastores / 0/4/disk.0</font></div>
<div><font color="#ff0000">Mon Aug 26 17:47:46 2013 [DiM] [I]: New VM state is FAILED</font></div><div><br></div><div>The question is: when I create a VM on localhost,  it creates an SSH session with himself?</div><div><br>
</div><div>thank you,</div><div><br></div><div>André</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/26 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Your first error log seems related to the ssh configuration.</div><div>XCP is not supported, only xen, kvm and vmware [1].</div>
<div><br></div><div>About the second error log, opennebula should not be looking for that file, it should be this one instead:</div>

<div>/etc/one/vmm_exec/vmm_exec_kvm.conf<br></div><div><br></div><div>Please check your /etc/one/oned.conf, does it contain this driver definition?</div><div><div><br></div><div>VM_MAD = [</div><div>    name       = "kvm",</div>


<div>    executable = "one_vmm_exec",</div><div>    arguments  = "-t 15 -r 0 kvm",</div><div>    default    = "vmm_exec/vmm_exec_kvm.conf",</div><div>    type       = "kvm" ]</div>

</div>
<div><br></div><div><br></div><div>Regards.</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel4.2:vmmg" target="_blank">http://opennebula.org/documentation:rel4.2:vmmg</a><br></div><div><br></div>
<div><br></div>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>Join us at <a href="http://opennebulaconf.com" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>--<div>Carlos Martín, MSc<br>


Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>


</div></div></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Sat, Aug 24, 2013 at 12:10 AM, Andre Gustavo Pereira da Silva <span dir="ltr"><<a href="mailto:agps@cin.ufpe.br" target="_blank">agps@cin.ufpe.br</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr">Hi<div><br></div><div><div><div>I'm beginning to study ONE and I'm finding some problems to run a VM.</div><div><br></div><div>The error described in the log when I try to run a VM is (this message continues after the message log):</div>




</div><div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [DiM][I]: New VM state is ACTIVE.</font></div><div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [LCM][I]: New VM state is PROLOG.</font></div><div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone localhost.localdomain:/var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e centos2:/var/lib/one//datastores/0/2/disk.0 2 1</font></div>




<div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][I]: clone: Cloning /var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e in centos2:/var/lib/one//datastores/0/2/disk.0</font></div><div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][E]: clone: Command "cd /var/lib/one/datastores/0/2; cp -r /var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e /var/lib/one/datastores/0/2/disk.0" failed: Warning: Permanently added 'centos2,10.66.66.21' (RSA) to the list of known hosts.</font></div>




<div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][I]: Permission denied, please try again.</font></div><div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][I]: Permission denied, please try again.</font></div>



<div>
<font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][I]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).</font></div><div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][E]: Error copying localhost.localdomain:/var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e to centos2:/var/lib/one//datastores/0/2/disk.0</font></div>




<div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][I]: ExitCode: 255</font></div><div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [TM][E]: Error executing image transfer script: Error copying localhost.localdomain:/var/lib/one/datastores/1/4db7457fbfefc1bbea96380d787d874e to centos2:/var/lib/one//datastores/0/2/disk.0</font></div>




<div><font color="#ff0000">Mon Aug 19 18:43:15 2013 [DiM][I]: New VM state is FAILED</font></div></div><div><br></div><div><div><div>Some considerations:</div><div>- My  cloud server infrastructure is: XCP 1.6 (hypervisor) + CentOS 6.4 + ONE 4.0.1</div>



<div>- The host has the same infrastructure, except the ONE server.</div>
<div>- I've installed the ONE node package on the host.</div><div>- Oned.log includes the following error on ONE startup:</div></div><div><font color="#ff0000">Fri Aug 23 18:00:40 2013 [VMM][E]: Error loading driver configuration file /etc/Fri Aug 23 18:14:54 2013 [VMM][I]:      Loading driver: kvm (KVM)</font></div>




<div><font color="#ff0000">Fri Aug 23 18:14:54 2013 [VMM][E]: Error loading driver configuration file /etc/one/vmm_ssh/vmm_ssh_kvm.conf : Error opening template file</font></div></div><div><br></div><div><div>- I'm using the tutorial: <a href="http://wiki.centos.org/Cloud/OpenNebula/QuickStart" target="_blank">http://wiki.centos.org/Cloud/OpenNebula/QuickStart</a></div>




<div>- I can not log on host using SSH without password during boot. I have to stop the SSH deamon service and then start it with the command '/ usr / sbin / ssh'. Only then oneadmin user can log in the host without password. I've read that other people go through the same problem and could not find the answer. For example: <a href="http://bugs.centos.org/print_bug_page.php?bug_id=4959" target="_blank">http://bugs.centos.org/print_bug_page.php?bug_id=4959</a></div>




<div>- In my installation there is no file called '/ etc / one / vmm_ssh / vmm_ssh_kvm.conf '. This directory is quoted in oned.log. This means that kvm is not installed? how to do it?</div></div><div>- I can only add hosts to the ONE server using 'dummy' protocol.</div>



<div><br></div><div>I appreciate any help. <br></div><div><br></div><div>sorry for my bad english.</div><div><br></div><div>André Gustavo</div><div>Brazil</div><div><a href="mailto:agps@cin.ufpe.br" target="_blank">agps@cin.ufpe.br</a></div>



<div><br></div></div>
<br></div></div><div class="im">_______________________________________________<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></div></blockquote></div><br></div>
</blockquote></div><br></div>