Hi,<div><br></div><div>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'?</div><div><br></div><div>Regards<br clear="all">
--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Wed, Aug 22, 2012 at 6:14 AM, Tuan Le Doan <span dir="ltr"><<a href="mailto:tuan.fetk52@gmail.com" target="_blank">tuan.fetk52@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="arial, helvetica, sans-serif">I have searched some the same question and i think that had some thing wrong with the DST_PATH :</font><div><div class="im"><pre style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif" color="#000099">Command execution fail: /var/lib/one/remotes/tm/shared/clone front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa kvm01:/var/lib/one</font><font face="arial, helvetica, sans-serif"><font color="#ff0000">//</font><font color="#000099">datastores/0/35/disk.0 35 103</font></font></pre>
</div><pre style="white-space:pre-wrap"><pre style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif">It has on destination path two slashes "//" ->"Error executing image transfer script: Error copying.</font></pre>
<pre style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Someone can help me to change it?</font></pre>
</pre><div><div class="h5"><div class="gmail_quote">2012/8/22 Tuan Le Doan <span dir="ltr"><<a href="mailto:tuan.fetk52@gmail.com" target="_blank">tuan.fetk52@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have just used chown oneadmin:oneadmin /var/lib/one/datastores command, but it's still error :(<div><div><br><br><div class="gmail_quote">2012/8/22 Jurgen Weber <span dir="ltr"><<a href="mailto:jurgen.weber@theiconic.com.au" target="_blank">jurgen.weber@theiconic.com.au</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
need to chown oneadmin:cloud /var/lib/one/datastores<br>
<br>
Jurgen<div><div><br>
<div>On 22/08/12 12:44, Tuan Le Doan wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>Sorry i wrote wrong, this is VM log when i deploy VM
on one-host:<br>
<pre>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.0
<span>Wed 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.</span>
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).
<span>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</span>
Wed Aug 22 09:19:37 2012 [TM][I]: ExitCode: 255
<span>Wed 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</span>
Wed Aug 22 09:19:37 2012 [DiM][I]: New VM state is FAILED</pre>
<br>
<br>
<div class="gmail_quote">2012/8/22 Tuan Le Doan <span dir="ltr"><<a href="mailto:tuan.fetk52@gmail.com" target="_blank">tuan.fetk52@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
Can anyone help me to fix this error? <br>
I had problem when deploy VM.<br>
When i deploy a VM on one-host, it's fail with this VM log:<br>
<div>
<pre>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.0
<span>Wed 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 host</span>
<span>Wed 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</span>
Wed Aug 22 09:26:44 2012 [TM][I]: ExitCode: 255
<span>Wed 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</span>
Wed Aug 22 09:26:44 2012 [DiM][I]: New VM state is FAILED
</pre>
</div>
When i deploy a VM on another host, it's fail with this VM
log:<br>
<pre>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.0
<span>Wed 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 host</span>
<span>Wed 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</span>
Wed Aug 22 09:26:44 2012 [TM][I]: ExitCode: 255
<span>Wed 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</span>
Wed Aug 22 09:26:44 2012 [DiM][I]: New VM state is FAILED</pre>
<br>
Can anyone help me to fix this error? <br>
I created ssh on one host :<br>
$ ssh-keygen<br>
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys<br>
$ chmod 700 ~/.ssh/<br>
$ chmod 600 ~/.ssh/id_rsa.pub<br>
$ chmod 600 ~/.ssh/id_rsa<br>
$ chmod 600 ~/.ssh/authorized_keys<br>
$ cat ~/.ssh/config<br>
Host *<br>
StrictHostKeyChecking no<br>
<br clear="all">
and i copied it to another host.<br>
I'm using Centos 6.3 and Opennebula 3.6.<br>
<br>
Thanks and Regard. <br>
<span><font color="#888888">
<div><b><font color="#3333ff" face="georgia, serif">Le
Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b>
<div><font color="#666666" face="tahoma, sans-serif">Undergraduate
Student of School of Electronic<span style="line-height:19px">s &
Telecommunications.</span></font></div>
<div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi
University of Science & Technology</font><br>
</span></font>
<div>
<div><font color="#999999" face="tahoma, sans-serif">Tel
: <a href="tel:%2B84%20987%20248%20215" value="+84987248215" target="_blank">+84 987 248 215</a></font></div>
<div><font color="#999999" face="tahoma, sans-serif">Yahoo:
ledoantuan1</font></div>
<div><font color="#999999" face="tahoma, sans-serif">Skype:
ledoantuan1</font></div>
</div>
</div>
</div>
<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b>
<div>
<font color="#666666" face="tahoma, sans-serif">Undergraduate
Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div>
<div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi
University of Science & Technology</font><br>
</span></font>
<div>
<div><font color="#999999" face="tahoma, sans-serif">Tel
: <a href="tel:%2B84%20987%20248%20215" value="+84987248215" target="_blank">+84 987 248 215</a></font></div>
<div><font color="#999999" face="tahoma, sans-serif">Yahoo:
ledoantuan1</font></div>
<div><font color="#999999" face="tahoma, sans-serif">Skype:
ledoantuan1</font></div>
</div>
</div>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><span><font color="#888888">
</font></span></pre><span><font color="#888888">
</font></span></blockquote><span><font color="#888888">
<br>
<pre cols="72">--
Jurgen Weber
Systems Engineer
IT Infrastructure Team Leader
THE ICONIC | E <a href="mailto:jurgen.weber@theiconic.com.au" target="_blank">jurgen.weber@theiconic.com.au</a> | <a href="http://www.theiconic.com.au" target="_blank">www.theiconic.com.au</a></pre>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b><div>
<font color="#666666" face="tahoma, sans-serif">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>
</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel : <a href="tel:%2B84%20987%20248%20215" value="+84987248215" target="_blank">+84 987 248 215</a></font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div>
<div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>
</div></div></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font color="#999999" style="font-family:tahoma,sans-serif">-----------------------------------------------------</font></b><div>
<font face="tahoma, sans-serif" color="#666666">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>
</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel : <a href="tel:%2B84%20987%20248%20215" value="+84987248215" target="_blank">+84 987 248 215</a></font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div>
<div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>
</div></div></div><br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>