[one-users] It is not possible to clone a VM to another node

Alexandre Bezroutchko abb at gremwell.com
Thu Apr 11 10:59:45 PDT 2013


It should probably be TM_MAD=ssh.

On 04/11/2013 06:39 PM, Евгений Суворов wrote:
> I changed
> DS_MAD="-"
> SYSTEM="YES"
> TM_MAD="shh"
>
> and restart the One
>
> Thu Apr 11 20:23:34 2013 [TM][I]: Command execution fail:
> /var/lib/one/remotes/tm/shared/clone
> debian1:/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
> debian:/var/lib/one//datastores/0/76/disk.0 76 1
> Thu Apr 11 20:23:34 2013 [TM][I]: clone: Cloning
> /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb in
> debian:/var/lib/one//datastores/0/76/disk.0
> Thu Apr 11 20:23:34 2013 [TM][E]: clone: Command "cd
> /var/lib/one/datastores/0/76; cp -r
> /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
> /var/lib/one/datastores/0/76/disk.0" failed: cp: невозможно выполнить
> stat для ?/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb?:
> Нет такого файла или каталога
> Thu Apr 11 20:23:34 2013 [TM][E]: Error copying
> debian1:/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb to
> debian:/var/lib/one//datastores/0/76/disk.0
>
>
>
>
>
> 2013/4/11 Alexandre Bezroutchko <abb at gremwell.com
> <mailto:abb at gremwell.com>>
>
>     You are currently using shared transfer manager:
>
>>     Tue Apr  9 17:40:31 2013 [TM][I]: Command execution fail:
>>     /var/lib/one/remotes/tm/_shared_/clone
>
>     If you use local storage for images, you should use ssh transfer
>     driver I think. Never tried it myself though.
>
>     http://opennebula.org/documentation:rel3.8:system_ds#using_the_ssh_transfer_driver
>
>     Regards,
>     Alex
>
>
>     On 04/11/2013 01:21 PM, Евгений Суворов wrote:
>>     Helo Alexandre,
>>     The system datastore has ID 0, and it is located in
>>     |/var/lib/one/datastores/0 ||in bothnodes. I don`t use NAS.
>>
>>     |
>>     |If I run command
>>     /oneadmin at debian1:~$ scp
>>     *debian1:*/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb 
>>     debian:/var/lib/one//datastores/0/73/disk.0/
>>      then nothing is happend.
>>
>>     |
>>     |If I run command /without '*debian1*'
>>     oneadmin at debian1:~$ scp
>>     /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb 
>>     debian:/var/lib/one//datastores/0/73/disk.0
>>     601ff612f5ea1cc257de6913bd23a0cb              100%   40MB 
>>     10.0MB/s   00:04   
>>     oneadmin at debian1:~$
>>     /||then copy is done.|
>>
>>
>>     2013/4/11 Alexandre Bezroutchko <abb at gremwell.com
>>     <mailto:abb at gremwell.com>>
>>
>>         Hello,
>>
>>         Have you mounted the system data store on your nodes? See
>>         http://opennebula.org/documentation:rel3.8:system_ds.
>>
>>         Or maybe something else goes wrong, to troubleshoot log into
>>         'debian' node as 'oneadmin' and make sure the image file
>>         /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
>>         exists and readable.
>>
>>         Cheers,
>>         Alex
>>
>>
>>         On 04/10/2013 03:32 PM, Евгений Суворов wrote:
>>>         Dear all,
>>>         I have two nodes. Frontend called 'debian1'. The second is
>>>         called 'Debian'
>>>         When I run the VM on the frontend node, it is not cloned to
>>>         the node 'Debian'
>>>         root at debian1:/var/log/one# cat 73.log
>>>         Tue Apr  9 17:40:21 2013 [DiM][I]: New VM state is ACTIVE.
>>>         Tue Apr  9 17:40:21 2013 [LCM][I]: New VM state is PROLOG.
>>>         Tue Apr  9 17:40:21 2013 [VM][I]: Virtual Machine has no context
>>>         Tue Apr  9 17:40:31 2013 [TM][I]: Command execution fail:
>>>         /var/lib/one/remotes/tm/shared/clone
>>>         debian1:/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
>>>         debian:/var/lib/one//datastores/0/73/disk.0 73 1
>>>         Tue Apr  9 17:40:31 2013 [TM][I]: clone: Cloning
>>>         /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
>>>         in debian:/var/lib/one//datastores/0/73/disk.0
>>>         Tue Apr  9 17:40:31 2013 [TM][E]: clone: Command "cd
>>>         /var/lib/one/datastores/0/73; cp -r
>>>         /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
>>>         /var/lib/one/datastores/0/73/disk.0" failed: cp: невозможно
>>>         выполнить stat для ??: Нет такого файла или каталога
>>>         Tue Apr  9 17:40:31 2013 [TM][E]: Error copying
>>>         debian1:/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
>>>         to debian:/var/lib/one//datastores/0/73/disk.0
>>>         Tue Apr  9 17:40:31 2013 [TM][I]: ExitCode: 1
>>>         Tue Apr  9 17:40:31 2013 [TM][E]: Error executing image
>>>         transfer script: Error copying
>>>         debian1:/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
>>>         to debian:/var/lib/one//datastores/0/73/disk.0
>>>         Tue Apr  9 17:40:31 2013 [DiM][I]: New VM state is FAILED
>>>         Tue Apr  9 17:46:05 2013 [DiM][I]: New VM state is DONE.
>>>         Tue Apr  9 17:46:11 2013 [TM][W]: Ignored: LOG I 73 delete:
>>>         Deleting /var/lib/one/datastores/0/73/disk.0
>>>
>>>         Tue Apr  9 17:46:11 2013 [TM][W]: Ignored: LOG I 73 ExitCode: 0
>>>
>>>         Tue Apr  9 17:46:16 2013 [TM][W]: Ignored: LOG I 73 delete:
>>>         Deleting /var/lib/one/datastores/0/73
>>>
>>>         Tue Apr  9 17:46:16 2013 [TM][W]: Ignored: LOG I 73 ExitCode: 0
>>>
>>>         Tue Apr  9 17:46:16 2013 [TM][W]: Ignored: TRANSFER SUCCESS 73 -
>>>
>>>         What's the problem?
>>>         -- 
>>>         С уважением, Евгений.
>>>
>>>         Тел: +79060665574
>>>                +79263906748
>>>         ICQ: 380264507
>>>
>>>
>>>         _______________________________________________
>>>         Users mailing list
>>>         Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>>         http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>         _______________________________________________
>>         Users mailing list
>>         Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>         http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>>     -- 
>>     С уважением, Евгений.
>>
>>     Тел: +79060665574
>>            +79263906748
>>     ICQ: 380264507
>
>
>
>
> -- 
> С уважением, Евгений.
>
> Тел: +79060665574
>        +79263906748
> ICQ: 380264507

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130411/19cc74ac/attachment-0002.htm>


More information about the Users mailing list