<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
need to chown oneadmin:cloud /var/lib/one/datastores<br>
<br>
Jurgen<br>
<div class="moz-cite-prefix">On 22/08/12 12:44, Tuan Le Doan wrote:<br>
</div>
<blockquote
cite="mid:CAGeYoHB31W1hmOh06s59dh_dTZLiho2+oiw2XHC1uJbJk=Mh7w@mail.gmail.com"
type="cite">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 class="vm_log_error">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 class="vm_log_error">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 class="vm_log_error">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
moz-do-not-send="true" 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 class="HOEnZb"><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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jurgen Weber
Systems Engineer
IT Infrastructure Team Leader
THE ICONIC | E <a class="moz-txt-link-abbreviated" href="mailto:jurgen.weber@theiconic.com.au">jurgen.weber@theiconic.com.au</a> | <a class="moz-txt-link-abbreviated" href="http://www.theiconic.com.au">www.theiconic.com.au</a></pre>
</body>
</html>