I have just used chown oneadmin:oneadmin /var/lib/one/datastores command, but it's still error :(<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 class="h5"><br>
<div>On 22/08/12 12:44, Tuan Le Doan wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">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
: +84 987 248 215</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
: +84 987 248 215</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 class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><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 : +84 987 248 215</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>