Hi,

Looks like the problem is related to the ssh keys. Can you check if
oneadmin can ssh without being prompt for a password to 'kvm01' and 'front'?

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org>



On Wed, Aug 22, 2012 at 6:14 AM, Tuan Le Doan <tuan.fet...@gmail.com> wrote:

> I have searched some the same question and i think that had some thing
> wrong with the DST_PATH :
>
> Command execution fail: /var/lib/one/remotes/tm/shared/clone 
> front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa 
> kvm01:/var/lib/one//datastores/0/35/disk.0 35 103
>
> It has on destination path two slashes "//" ->"Error executing image transfer 
> script: Error copying.
>
> Someone can help me to change it?
>
> 2012/8/22 Tuan Le Doan <tuan.fet...@gmail.com>
>
>> I have just used chown oneadmin:oneadmin /var/lib/one/datastores command,
>> but it's still error :(
>>
>>
>> 2012/8/22 Jurgen Weber <jurgen.we...@theiconic.com.au>
>>
>>>  need to chown oneadmin:cloud /var/lib/one/datastores
>>>
>>> Jurgen
>>>
>>> On 22/08/12 12:44, Tuan Le Doan wrote:
>>>
>>> Sorry i wrote wrong, this is VM log when i deploy VM on one-host:
>>>
>>> Wed Aug 22 09:19:37 2012 [DiM][I]: New VM state is ACTIVE.
>>> Wed Aug 22 09:19:37 2012 [LCM][I]: New VM state is PROLOG.
>>> Wed Aug 22 09:19:37 2012 [VM][I]: Virtual Machine has no context
>>> Wed Aug 22 09:19:37 2012 [TM][I]: Command execution fail: 
>>> /var/lib/one/remotes/tm/shared/clone 
>>> front:/var/lib/one/datastores/103/3726d732de0be21e57cb72a5bf2aff23 
>>> front:/var/lib/one//datastores/0/34/disk.0 34 103
>>> Wed Aug 22 09:19:37 2012 [TM][I]: clone: Cloning 
>>> ../../103/3726d732de0be21e57cb72a5bf2aff23 in 
>>> front:/var/lib/one//datastores/0/34/disk.0Wed Aug 22 09:19:37 2012 [TM][E]: 
>>> clone: Command "cd /var/lib/one/datastores/0/34; cp -r 
>>> ../../103/3726d732de0be21e57cb72a5bf2aff23 
>>> /var/lib/one/datastores/0/34/disk.0" failed: Permission denied, please try 
>>> again.
>>> Wed Aug 22 09:19:37 2012 [TM][I]: Permission denied, please try again.
>>> Wed Aug 22 09:19:37 2012 [TM][I]: Permission denied 
>>> (publickey,gssapi-keyex,gssapi-with-mic,password).Wed Aug 22 09:19:37 2012 
>>> [TM][E]: Error copying 
>>> front:/var/lib/one/datastores/103/3726d732de0be21e57cb72a5bf2aff23 to 
>>> front:/var/lib/one//datastores/0/34/disk.0
>>> Wed Aug 22 09:19:37 2012 [TM][I]: ExitCode: 255Wed Aug 22 09:19:37 2012 
>>> [TM][E]: Error executing image transfer script: Error copying 
>>> front:/var/lib/one/datastores/103/3726d732de0be21e57cb72a5bf2aff23 to 
>>> front:/var/lib/one//datastores/0/34/disk.0
>>> Wed Aug 22 09:19:37 2012 [DiM][I]: New VM state is FAILED
>>>
>>>
>>>
>>> 2012/8/22 Tuan Le Doan <tuan.fet...@gmail.com>
>>>
>>>> Dear all,
>>>> Can anyone help me to fix this error?
>>>> I had problem when deploy VM.
>>>> When i deploy a VM on one-host, it's fail with this VM log:
>>>>
>>>> Wed Aug 22 09:26:37 2012 [DiM][I]: New VM state is ACTIVE.
>>>> Wed Aug 22 09:26:37 2012 [LCM][I]: New VM state is PROLOG.
>>>> Wed Aug 22 09:26:37 2012 [VM][I]: Virtual Machine has no context
>>>> Wed Aug 22 09:26:44 2012 [TM][I]: Command execution fail: 
>>>> /var/lib/one/remotes/tm/shared/clone 
>>>> front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0 35 103
>>>> Wed Aug 22 09:26:44 2012 [TM][I]: clone: Cloning 
>>>> ../../103/89fd1e28a39eab1006525591158fe3fa in 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0Wed Aug 22 09:26:44 2012 
>>>> [TM][E]: clone: Command "cd /var/lib/one/datastores/0/35; cp -r 
>>>> ../../103/89fd1e28a39eab1006525591158fe3fa 
>>>> /var/lib/one/datastores/0/35/disk.0" failed: ssh: connect to host kvm01 
>>>> port 22: No route to hostWed Aug 22 09:26:44 2012 [TM][E]: Error copying 
>>>> front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0
>>>> Wed Aug 22 09:26:44 2012 [TM][I]: ExitCode: 255Wed Aug 22 09:26:44 2012 
>>>> [TM][E]: Error executing image transfer script: Error copying 
>>>> front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0
>>>> Wed Aug 22 09:26:44 2012 [DiM][I]: New VM state is FAILED
>>>>
>>>>
>>>>  When i deploy a VM on another host, it's fail with this VM log:
>>>>
>>>> Wed Aug 22 09:26:37 2012 [DiM][I]: New VM state is ACTIVE.
>>>> Wed Aug 22 09:26:37 2012 [LCM][I]: New VM state is PROLOG.
>>>> Wed Aug 22 09:26:37 2012 [VM][I]: Virtual Machine has no context
>>>> Wed Aug 22 09:26:44 2012 [TM][I]: Command execution fail: 
>>>> /var/lib/one/remotes/tm/shared/clone 
>>>> front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0 35 103
>>>> Wed Aug 22 09:26:44 2012 [TM][I]: clone: Cloning 
>>>> ../../103/89fd1e28a39eab1006525591158fe3fa in 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0Wed Aug 22 09:26:44 2012 
>>>> [TM][E]: clone: Command "cd /var/lib/one/datastores/0/35; cp -r 
>>>> ../../103/89fd1e28a39eab1006525591158fe3fa 
>>>> /var/lib/one/datastores/0/35/disk.0" failed: ssh: connect to host kvm01 
>>>> port 22: No route to hostWed Aug 22 09:26:44 2012 [TM][E]: Error copying 
>>>> front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0
>>>> Wed Aug 22 09:26:44 2012 [TM][I]: ExitCode: 255Wed Aug 22 09:26:44 2012 
>>>> [TM][E]: Error executing image transfer script: Error copying 
>>>> front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to 
>>>> kvm01:/var/lib/one//datastores/0/35/disk.0
>>>> Wed Aug 22 09:26:44 2012 [DiM][I]: New VM state is FAILED
>>>>
>>>>
>>>> Can anyone help me to fix this error?
>>>> I created ssh on one host :
>>>> $ ssh-keygen
>>>> $ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
>>>> $ chmod 700 ~/.ssh/
>>>> $ chmod 600 ~/.ssh/id_rsa.pub
>>>> $ chmod 600 ~/.ssh/id_rsa
>>>> $ chmod 600 ~/.ssh/authorized_keys
>>>> $ cat ~/.ssh/config
>>>> Host *
>>>>     StrictHostKeyChecking no
>>>>
>>>> and i copied it to another host.
>>>> I'm using Centos 6.3 and Opennebula 3.6.
>>>>
>>>> Thanks and Regard.
>>>>  *Le Doan Tuan-----------------------------------------------------*
>>>> Undergraduate Student of School of Electronics & Telecommunications.
>>>> Hanoi University of Science & Technology
>>>>  Tel    : +84 987 248 215
>>>> Yahoo: ledoantuan1
>>>> Skype: ledoantuan1
>>>>
>>>>
>>>
>>>
>>> --
>>> *Le Doan Tuan-----------------------------------------------------*
>>> Undergraduate Student of School of Electronics & Telecommunications.
>>> Hanoi University of Science & Technology
>>>  Tel    : +84 987 248 215
>>> Yahoo: ledoantuan1
>>> Skype: ledoantuan1
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing 
>>> listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>> --
>>> Jurgen Weber
>>>
>>> Systems Engineer
>>> IT Infrastructure Team Leader
>>>
>>> THE ICONIC | E jurgen.we...@theiconic.com.au | www.theiconic.com.au
>>>
>>>
>>
>>
>> --
>> *Le Doan Tuan-----------------------------------------------------*
>> Undergraduate Student of School of Electronics & Telecommunications.
>> Hanoi University of Science & Technology
>> Tel    : +84 987 248 215
>> Yahoo: ledoantuan1
>> Skype: ledoantuan1
>>
>>
>
>
> --
> *Le Doan Tuan-----------------------------------------------------*
> Undergraduate Student of School of Electronics & Telecommunications.
> Hanoi University of Science & Technology
> Tel    : +84 987 248 215
> Yahoo: ledoantuan1
> Skype: ledoantuan1
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to