[one-users] Command execution fail: /var/lib/one/remotes/tm/shared/clone

Randall Svancara rsvancara at wsu.edu
Fri Aug 23 13:16:11 PDT 2013


Nothing like answering your own questions...and this project has a ways 
to go on the documentation...just FYI.

as oneadmin type:

onedatastore list

   ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
    0 system                 - -     -                 0 sys -        ssh
    1 default             3.6T 99%   -                 2 img fs       ssh
    2 files               3.6T 99%   -                 0 fil fs       ssh

If you are not using a shared file system for ID of zero, "0", the copy 
will fail.  To change the TM to ssh do this:

onedatastore update 0

which will allow you to change the TM (transfer mode) to ssh from shared.

Save the file.





I changed the driver in the
On 08/23/2013 10:14 AM, Randall Svancara wrote:
> Hi,
>
> I have two servers, one that I set up as a frontend and one compute 
> node.  I am trying to create a virtual machine and every time that I 
> do, I see the following error:
>
> Fri Aug 23 09:45:03 2013 [DiM][I]: New VM state is ACTIVE.
> Fri Aug 23 09:45:03 2013 [LCM][I]: New VM state is PROLOG.
> Fri Aug 23 09:45:04 2013 [TM][I]: Command execution fail: 
> /var/lib/one/remotes/tm/shared/clone 
> virtual-store:/var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75 
> 192.168.3.70:/var/lib/one//datastores/104/2/disk.0 2 1
> Fri Aug 23 09:45:04 2013 [TM][I]: clone: Cloning 
> /var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75 in 
> 192.168.3.70:/var/lib/one//datastores/104/2/disk.0
> Fri Aug 23 09:45:04 2013 [TM][E]: clone: Command "cd 
> /var/lib/one/datastores/104/2; cp 
> /var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75 
> /var/lib/one/datastores/104/2/disk.0" failed: cp: cannot stat 
> `/var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75': No such 
> file or directory
> Fri Aug 23 09:45:04 2013 [TM][E]: Error copying 
> virtual-store:/var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75 
> to 192.168.3.70:/var/lib/one//datastores/104/2/disk.0
> Fri Aug 23 09:45:04 2013 [TM][I]: ExitCode: 1
> Fri Aug 23 09:45:04 2013 [TM][E]: Error executing image transfer 
> script: Error copying 
> virtual-store:/var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75 
> to 192.168.3.70:/var/lib/one//datastores/104/2/disk.0
> Fri Aug 23 09:45:04 2013 [DiM][I]: New VM state is FAILED
>
>
> The problem is that:
>
> 1.  The file, 
> /var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75, exists on 
> the frontend
>
> 40M -rw-rw-r-- 1 oneadmin oneadmin 40M Aug 23 09:43 
> /var/lib/one/datastores/1/4b266abde9ebd791771ff6c8a9b46d75
>
> 2.  SSH keys are working and password-less logins are working between 
> the frontend and the node.
>
> So what is the problem?  Where do I start?  This is a very generic 
> installation of Open Nebula 4.2 on Ubuntu 12.04.
>
> Thanks,
>
> Randall
>
>
> _______________________________________________
> 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/20130823/675e2399/attachment-0002.htm>


More information about the Users mailing list