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

Carlos Martín Sánchez cmartin at opennebula.org
Thu Jul 11 01:22:06 PDT 2013


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/20130711/0473d162/attachment-0002.htm>


More information about the Users mailing list