Hi Carlos Your tip did the loading of driver KVM work! Thank you.
About the problem with SSH, i've found the solution on the link below, and now it works: http://bugs.centos.org/view.php?id=6468 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. http://opennebula.org/documentation:rel4.2:kvmg Another question arised when I tried to create a VM on the server ONE (localhost). The error message (this message continues after the log): 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 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 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. Mon Aug 26 17:47:46 2013 [TM] [I]: Permission denied, please try again. Mon Aug 26 17:47:46 2013 [TM] [I]: Permission denied (publickey, gssapi-keyex, gssapi-with-mic, password). 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 Mon Aug 26 17:47:46 2013 [TM] [I]: ExitCode: 255 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 Mon Aug 26 17:47:46 2013 [DiM] [I]: New VM state is FAILED The question is: when I create a VM on localhost, it creates an SSH session with himself? thank you, André 2013/8/26 Carlos Martín Sánchez <[email protected]> > Hi, > > Your first error log seems related to the ssh configuration. > XCP is not supported, only xen, kvm and vmware [1]. > > About the second error log, opennebula should not be looking for that > file, it should be this one instead: > /etc/one/vmm_exec/vmm_exec_kvm.conf > > Please check your /etc/one/oned.conf, does it contain this driver > definition? > > VM_MAD = [ > name = "kvm", > executable = "one_vmm_exec", > arguments = "-t 15 -r 0 kvm", > default = "vmm_exec/vmm_exec_kvm.conf", > type = "kvm" ] > > > Regards. > > [1] http://opennebula.org/documentation:rel4.2:vmmg > > > > -- > Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin, > 24-26 September, 2013 > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - The Open-source Solution for Data Center Virtualization > www.OpenNebula.org | [email protected] | > @OpenNebula<http://twitter.com/opennebula><[email protected]> > > > On Sat, Aug 24, 2013 at 12:10 AM, Andre Gustavo Pereira da Silva < > [email protected]> wrote: > >> Hi >> >> I'm beginning to study ONE and I'm finding some problems to run a VM. >> >> The error described in the log when I try to run a VM is (this message >> continues after the message log): >> Mon Aug 19 18:43:15 2013 [DiM][I]: New VM state is ACTIVE. >> Mon Aug 19 18:43:15 2013 [LCM][I]: New VM state is PROLOG. >> 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 >> 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 >> 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. >> Mon Aug 19 18:43:15 2013 [TM][I]: Permission denied, please try again. >> Mon Aug 19 18:43:15 2013 [TM][I]: Permission denied, please try again. >> Mon Aug 19 18:43:15 2013 [TM][I]: Permission denied >> (publickey,gssapi-keyex,gssapi-with-mic,password). >> 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 >> Mon Aug 19 18:43:15 2013 [TM][I]: ExitCode: 255 >> 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 >> Mon Aug 19 18:43:15 2013 [DiM][I]: New VM state is FAILED >> >> Some considerations: >> - My cloud server infrastructure is: XCP 1.6 (hypervisor) + CentOS 6.4 + >> ONE 4.0.1 >> - The host has the same infrastructure, except the ONE server. >> - I've installed the ONE node package on the host. >> - Oned.log includes the following error on ONE startup: >> 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) >> 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 >> >> - I'm using the tutorial: >> http://wiki.centos.org/Cloud/OpenNebula/QuickStart >> - 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: >> http://bugs.centos.org/print_bug_page.php?bug_id=4959 >> - 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? >> - I can only add hosts to the ONE server using 'dummy' protocol. >> >> I appreciate any help. >> >> sorry for my bad english. >> >> André Gustavo >> Brazil >> [email protected] >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
