<div dir="ltr">Hi,<div><br></div><div style>Can you try to manually execute this command?</div><div style><br></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Thu Apr 18 02:31:41 2013 [TM][E]: clone: Command "scp -r master:/var/lib/one/</span><span style="font-family:arial,sans-serif;font-size:13px">datastores/104/</span><span style="font-family:arial,sans-serif;font-size:13px">1083db10130780eaf4e22afc9d2c81</span><span style="font-family:arial,sans-serif;font-size:13px">90 slave01:/var/lib/one//</span><span style="font-family:arial,sans-serif;font-size:13px">datastores/0/7/disk.0" failed: Permission denied, please try again.</span><br>

</div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">It looks like it may be fixed allowing oneadmin to ssh to master from master itself.</span></div>

<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><font face="arial, sans-serif">Regards</font></div></div><div class="gmail_extra"><br clear="all"><div>--<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>

</div>
<br><br><div class="gmail_quote">On Thu, Apr 18, 2013 at 8:02 AM, Guilherme Guimaraes <span dir="ltr"><<a href="mailto:gboulhosa@gmail.com" target="_blank">gboulhosa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><span lang="en"><span></span><span></span><span></span><span></span><span></span><span></span></span><span lang="en"><span>Hi,<br>
</span></span><br><span lang="en"><span>I have</span> <span>two computers</span><span>:<br><br></span></span><div><span lang="en"><span>1- Master - front-end - 192.168.0.2<br>
</span></span></div><div><span lang="en"><span>2 Slave01 - 192.168.0.3<br></span></span></div><span lang="en"><span><br></span></span></div><div><span lang="en"><span>I'm having trouble</span> <span>creating</span> <span>Vm</span> <span>is giving</span> <span>the following error</span><span>.</span></span><br>


<span lang="en"><span></span></span><span lang="en"><span><br></span></span><table><thead><tr><th colspan="2">Virtual Machine information - teste</th>
</tr>            </thead>            <tbody>              <tr>                 <td>ID</td>                 <td>7</td>              </tr>              <tr>                 <td>Name</td>                 <td>
teste</td>              </tr>              <tr>                 <td>Owner</td>                 <td>oneadmin</td>              </tr>              <tr>                 <td>Group</td>                 <td>
oneadmin</td>              </tr>              <tr>                 <td>State</td>                 <td>FAILED</td>              </tr>              <tr>                 <td>LCM State</td>                 <td>
LCM_INIT</td>              </tr>              <tr>                 <td>Host</td>              <td>--</td>              </tr>              <tr>                 <td>Start time</td>                 <td>
02:31:13 04/18/2013</td>              </tr>              <tr>                 <td>Deploy ID</td>                 <td>-</td>              </tr>              <tr><td>Permissions</td><td><br></td></tr>
              <tr>                <td>     Owner</td>                <td style="font-family:monospace">um-</td>              </tr>              <tr>                <td>     Group</td>                <td style="font-family:monospace">


---</td>              </tr>              <tr>                <td>      Other</td>                <td style="font-family:monospace">---</td>              </tr>                 </tbody>                </table>
                                   <table><thead>                     <tr><th colspan="2">Monitoring information</th></tr>                   </thead>                   <tbody>                      <tr>
                        <td>Net_TX</td>                        <td>0</td>                      </tr>                      <tr>                        <td>Net_RX</td>                        <td>
0</td>                      </tr>                      <tr>                        <td>Used Memory</td>                        <td>0K</td>                      </tr>                      <tr>                        <td>
Used CPU</td>                        <td>0</td>                      </tr>                      <tr>                        <td>VNC Session</td>                        <td><img alt="VNC Disabled"></td>
</tr></tbody></table><br><br><table><thead><tr><th colspan="2">VM template</th></tr></thead><tbody><tr>                    <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


VCPU</td>                    <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">1</td>                </tr><tr>                  <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


NIC</td>                  <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">                  <br></td>                </tr><tr>                  <td style="border-bottom:0px none">
<br></td>                  <td style="border-bottom:0px none"><br></td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


VLAN</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">NO</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


BRIDGE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">virbr0</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


IP</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">192.168.122.1</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


NETWORK_UNAME</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">oneadmin</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


MAC</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">02:00:c0:a8:7a:01</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


CLUSTER_ID</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">103</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


NETWORK_ID</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">3</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


NETWORK</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">rede</td>                </tr><tr>                  <td><br></td>                  <td><br></td>
               </tr><tr>                    <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">VMID</td>                    <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


7</td>                </tr><tr>                  <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">OS</td>                  <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


                  <br></td>                </tr><tr>                  <td style="border-bottom:0px none"><br></td>                  <td style="border-bottom:0px none"><br></td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


ARCH</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">i686</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


BOOT</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">hd</td>                </tr><tr>                  <td><br></td>                  <td><br></td>               </tr>
<tr>                    <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">CPU</td>                    <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


1</td>                </tr><tr>                    <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">NAME</td>                    <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


teste</td>                </tr><tr>                  <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">DISK</td>                  <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


                  <br></td>                </tr><tr>                  <td style="border-bottom:0px none"><br></td>                  <td style="border-bottom:0px none"><br></td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


IMAGE_UNAME</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">oneadmin</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


IMAGE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">ttylinux - kvm</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


TARGET</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">hda</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


DATASTORE_ID</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">104</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


TYPE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">FILE</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


SAVE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">NO</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


IMAGE_ID</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">2</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


DEV_PREFIX</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">hd</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


CLONE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">YES</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


DRIVER</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">raw</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


CLUSTER_ID</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">103</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


SOURCE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


DISK_ID</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">0</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


DATASTORE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">mydatasotre</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


TM_MAD</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">ssh</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


READONLY</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">NO</td>                </tr><tr>                  <td><br></td>                  <td><br></td>
               </tr><tr>                  <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">GRAPHICS</td>                  <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


                  <br></td>                </tr><tr>                  <td style="border-bottom:0px none"><br></td>                  <td style="border-bottom:0px none"><br></td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


TYPE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">vnc</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


PORT</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">5907</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


LISTEN</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">0.0.0.0</td>                </tr><tr>                  <td><br></td>                  <td><br>
</td>               </tr><tr>                    <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">MEMORY</td>                    <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


256</td>                </tr><tr>                    <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">TEMPLATE_ID</td>                    <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


4</td>                </tr><tr>                  <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">ERROR</td>                  <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


                  <br></td>                </tr><tr>                  <td style="border-bottom:0px none"><br></td>                  <td style="border-bottom:0px none"><br></td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


MESSAGE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">Error
 executing image transfer script: Error copying 
master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 to 
slave01:/var/lib/one//datastores/0/7/disk.0</td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">TIMESTAMP</td>
                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">Thu Apr 18 02:31:41 2013</td>                </tr><tr>                  <td><br></td>                  <td>
<br></td>               </tr><tr>                  <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">RAW</td>                  <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


                  <br></td>                </tr><tr>                  <td style="border-bottom:0px none"><br></td>                  <td style="border-bottom:0px none"><br></td>                </tr><tr>                    <td style="padding-left:25px;font-weight:normal;border-bottom:0px none;padding-top:1px;padding-bottom:1px">


TYPE</td>                    <td style="border-bottom:0px none;padding-top:1px;padding-bottom:1px">kvm</td>                </tr><tr>                  <td><br></td>                  <td><br></td>
               </tr><tr>                    <td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">REQUIREMENTS</td>                    <td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">


CLUSTER_ID = 103</td></tr></tbody></table><br><br><br></div><span lang="en"></span><span lang="en"><span><br>According to</span> <span>the log</span> <span>appears to be</span> <span>permission denied</span><span>. </span></span><span lang="en"><span>But I</span> <span>access to the Slave01 machine</span> <span>through the</span> <span>Master machine</span><span></span> <span>using the</span> <span>oneadmin</span> <span>user</span> <span>without</span> <span>password.<br>


<br></span></span><span lang="en"><span></span></span>


        
        
        
        


<p style="margin-bottom:0cm">Thu Apr 18 02:31:40
2013 [DiM][I]: New VM state is ACTIVE.
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [LCM][I]: New VM state is PROLOG.
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [VM][I]: Virtual Machine has no context
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/ssh/clone
master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190
slave01:/var/lib/one//datastores/0/7/disk.0 7 104
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [TM][I]: clone: Cloning
master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190
in /var/lib/one/datastores/0/7/disk.0
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [TM][E]: clone: Command "scp -r
master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190
slave01:/var/lib/one//datastores/0/7/disk.0" failed: Permission
denied, please try again.
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [TM][I]: Permission denied, please try again.
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [TM][I]: Permission denied (publickey,password).
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [TM][E]: Error copying
master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190
to slave01:/var/lib/one//datastores/0/7/disk.0
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:41
2013 [TM][I]: ExitCode: 1
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:42
2013 [TM][E]: Error executing image transfer script: Error copying
master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190
to slave01:/var/lib/one//datastores/0/7/disk.0
</p>
<p style="margin-bottom:0cm">Thu Apr 18 02:31:42
2013 [DiM][I]: New VM state is FAILED
</p><span class="HOEnZb"><font color="#888888">

<br><div><br>-- <br><div><i style="color:rgb(153,153,153)">Atenciosamente, <br>Guilherme B. Guimarães</i><br><i style="color:rgb(153,153,153)">Mestrando em Ciência da Computação - PPGCC/UFPA</i><br><i style="color:rgb(153,153,153)">Especialista em desenvovilemento para Internet - UFPA<br>


Bacharel em Ciência da Computação - UNAMA </i><br><font><span style="font-weight:bold;font-family:arial,helvetica,sans-serif"></span></font><br>
</div></div></font></span></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>