[one-users] Error while copying image in the datastore after VM creation

Carlos Martín Sánchez cmartin at opennebula.org
Mon Jul 15 03:00:22 PDT 2013


Hi,

Are you using kvm? What is the content of
/etc/one/vmm_exec/vmm_exec_kvm.conf ?
This file defines the default values, it should have OS = [ ARCH...].

Regards

--
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 | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Mon, Jul 15, 2013 at 9:37 AM, Lukman Fikri <lukman.fikri at outlook.com>wrote:

> Hi,
> Sorry for late reply
>
> This time I configured shared storage through NFS on the frontend. It
> mounted the /var/lib/one on every hosts.
> And i am back using "tm_shared" Transfer Manager driver on the oned.conf
> configuration.
>
> And still i got an error after executing ttylinux VM creation ($ onevm
> create ttylinux.one)
>
> Here's my oned.log
> Mon Jul 15 14:17:37 2013 [DiM][D]: Deploying VM 28
> Mon Jul 15 14:17:38 2013 [TM][D]: Message received: LOG I 28 clone:
> Cloning ../../1/1f7abff808a05cd1340bc9c630ded3eb in
> cloud4:/var/lib/one/datastores/0/28/disk.0
> Mon Jul 15 14:17:38 2013 [TM][D]: Message received: LOG I 28 ExitCode: 0
> Mon Jul 15 14:17:38 2013 [TM][D]: Message received: TRANSFER SUCCESS 28 -
>
> And here's my 28.log (my VM ID is 28):
> Mon Jul 15 14:17:37 2013 [DiM][I]: New VM state is ACTIVE.
> Mon Jul 15 14:17:37 2013 [LCM][I]: New VM state is PROLOG.
> Mon Jul 15 14:17:37 2013 [VM][I]: Virtual Machine has no context
> Mon Jul 15 14:17:38 2013 [TM][I]: clone: Cloning
> ../../1/1f7abff808a05cd1340bc9c630ded3eb in
> cloud4:/var/lib/one/datastores/0/28/disk.0
> Mon Jul 15 14:17:38 2013 [TM][I]: ExitCode: 0
> Mon Jul 15 14:17:38 2013 [LCM][I]: New VM state is BOOT
> Mon Jul 15 14:17:38 2013 [VMM][I]: Generating deployment file:
> /var/lib/one/28/deployment.0
> Mon Jul 15 14:17:38 2013 [VMM][E]: No ARCH defined and no default provided.
> Mon Jul 15 14:17:38 2013 [VMM][E]: deploy_action, error generating
> deployment file: /var/lib/one/28/deployment.0
> Mon Jul 15 14:17:38 2013 [DiM][I]: New VM state is FAILED
>
>
> Regards,
> Lukman Fikri
> ------------------------------
> From: cmartin at opennebula.org
> Date: Fri, 12 Jul 2013 15:50:45 +0200
>
> Subject: Re: [one-users] Error while copying image in the datastore after
> VM creation
> To: lukman.fikri at outlook.com
> CC: users at lists.opennebula.org
>
> Hi,
>
> Can you paste the error you are getting now?
>
> Regards
>
> --
> 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 | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
> On Fri, Jul 12, 2013 at 12:32 PM, Lukman Fikri <lukman.fikri at outlook.com>wrote:
>
> I already tried and configured the ssh TM driver.
> And it still gave the same error as before.
>
> any other sugesstions to fix this error?
>
> Thank you.
> Regards,
> Lukman F.
>
> ------------------------------
> From: cmartin at opennebula.org
> Date: Thu, 11 Jul 2013 10:22:06 +0200
> Subject: Re: [one-users] Error while copying image in the datastore after
> VM creation
> To: lukman.fikri at outlook.com
> CC: users at lists.opennebula.org
>
>
> Hi,
>
> By default the Datastores come with the 'shared' TM (Transfer Manager)
> driver configured. This driver assumes that the datastore directory is
> exported to the hosts in the same path, using NFS for instance.
>
> Maybe you want to configure another TM driver, like ssh. Take a look at
> the storage options here:
> http://opennebula.org/documentation:rel4.0:sm
>
> Regards
>
>
> --
> 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 | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
> On Wed, Jul 10, 2013 at 10:35 AM, Lukman Fikri <lukman.fikri at outlook.com>wrote:
>
> Dear All,
>
> I deployed OpenNebula on Ubuntu 13.04. I use a frontend and two
> hosts/nodes. But i have an error when i tried to create a simple VM
> (ttylinux). The VM creation always failed.
>
> Here's my oned.log
>
> Tue Jul  9 17:41:02 2013 [DiM][D]: Deploying VM 16
> Tue Jul  9 17:41:03 2013 [TM][D]: Message received: LOG I 16 Command
> execution fail: /var/lib/one/remotes/tm/shared/clone
> cloud1:/var/lib/one/datastores/1/b0750b85eb3b894f14aa2b454bc0e565
> cloud3:/var/lib/one/datastores/0/16/disk.0
> Tue Jul  9 17:41:03 2013 [TM][D]: Message received: LOG I 16 clone:
> Cloning ../../1/b0750b85eb3b894f14aa2b454bc0e565 in
> cloud3:/var/lib/one/datastores/0/16/disk.0
> Tue Jul  9 17:41:03 2013 [TM][D]: Message received: LOG E 16 clone:
> Command "cd /var/lib/one/datastores/0/16; cp -r
> ../../1/b0750b85eb3b894f14aa2b454bc0e565
> /var/lib/one/datastores/0/16/disk.0" failed: cp: cannot stat
> â../../1/b0750b85eb3b894f14aa2b454bc0e565â: No such file or directory
> Tue Jul  9 17:41:03 2013 [TM][D]: Message received: LOG E 16 Error
> copying cloud1:/var/lib/one/datastores/1/b0750b85eb3b894f14aa2b454bc0e565
> to cloud3:/var/lib/one/datastores/0/16/disk.0
> Tue Jul  9 17:41:03 2013 [TM][D]: Message received: LOG I 16 ExitCode: 1
> Tue Jul  9 17:41:03 2013 [TM][D]: Message received: TRANSFER FAILURE 16
> Error copying
> cloud1:/var/lib/one/datastores/1/b0750b85eb3b894f14aa2b454bc0e565 to
> cloud3:/var/lib/one/datastores/0/16/disk.0
>
>
> And here's my 16.log  (the created VM ID is 16)
>
> Tue Jul  9 17:41:02 2013 [DiM][I]: New VM state is ACTIVE.
> Tue Jul  9 17:41:02 2013 [LCM][I]: New VM state is PROLOG.
> Tue Jul  9 17:41:02 2013 [VM][I]: Virtual Machine has no context
> Tue Jul  9 17:41:03 2013 [TM][I]: Command execution fail:
> /var/lib/one/remotes/tm/shared/clone
> cloud1:/var/lib/one/datastores/1/b0750b85eb3b894f14aa2b454bc0e565
> cloud3:/var/lib/one/datastores/0/16/disk.0
> Tue Jul  9 17:41:03 2013 [TM][I]: clone: Cloning
> ../../1/b0750b85eb3b894f14aa2b454bc0e565 in
> cloud3:/var/lib/one/datastores/0/16/disk.0
> Tue Jul  9 17:41:03 2013 [TM][E]: clone: Command "cd
> /var/lib/one/datastores/0/16; cp -r
> ../../1/b0750b85eb3b894f14aa2b454bc0e565
> /var/lib/one/datastores/0/16/disk.0" failed: cp: cannot stat
> â../../1/b0750b85eb3b894f14aa2b454bc0e565â: No such file or directory
> Tue Jul  9 17:41:03 2013 [TM][E]: Error copying
> cloud1:/var/lib/one/datastores/1/b0750b85eb3b894f14aa2b454bc0e565 to
> cloud3:/var/lib/one/datastores/0/16/disk.0
> Tue Jul  9 17:41:03 2013 [TM][I]: ExitCode: 1
> Tue Jul  9 17:41:03 2013 [TM][E]: Error executing image transfer script:
> Error copying
> cloud1:/var/lib/one/datastores/1/b0750b85eb3b894f14aa2b454bc0e565 to
> cloud3:/var/lib/one/datastores/0/16/disk.0
> Tue Jul  9 17:41:03 2013 [DiM][I]: New VM state is FAILED
>
> Anyone got an idea how to fix this??
>
> Thank you in advance,
> Regards,
>
> Lukman F.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130715/24f9225f/attachment-0002.htm>


More information about the Users mailing list