<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div>Thanks jamie </div>
<div>that worked for me, I figured it out last week by running a scp command directly from the terminal. Didn't understand/know why I needed to add the local key to authorised hosts. I opted for shared storage in the end, too much of a wait for ssh to transfer
 the images (probably because I was running it on my laptop using workstation). Also I've done up a detailed step-by-step guide on setting up a high availability test environment with xen and opennebula, (ideal for newbies!!!) if anybody is interested i will
 send it on or if anybody knows a good site I could post it on I will do that gladly!<br>
<br>
Thanks,
<div>Marc Reilly</div>
<div><br>
</div>
</div>
<div><br>
On 20 Dec 2012, at 13:35, "Jaime Melis" <<a href="mailto:jmelis@opennebula.org">jmelis@opennebula.org</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hello Marc,
<div><br>
</div>
<div style="">you should be able to ssh passwordlessly from the frontend to the frontend (I mean that, no typo here!)</div>
<div style=""><br>
</div>
<div style="">In order to do that, can you do from the frontend (opennebula-host):</div>
<div style="">$ ssh opennebula-host</div>
<div style=""><br>
</div>
<div style="">After getting that to work, try again.</div>
<div style=""><br>
</div>
<div style="">cheers,<br>
Jaime </div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Dec 9, 2012 at 2:00 AM, Marc Reilly <span dir="ltr">
<<a href="mailto:marc.reilly@student.ncirl.ie" target="_blank">marc.reilly@student.ncirl.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi<br>
I can ssh without a password to and from the host using the oneadmin user. I have tried deleting the host key and re-adding it  (<a href="http://i.imgur.com/ol9zu.png" target="_blank">http://i.imgur.com/ol9zu.png</a>) but it still brings the same error. Is
 there any other settings I should check?<br>
Thanks<br>
Marc<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 07 Dec 2012 08:52:19 -0500 (EST)<br>
From: "Gary S. Cuozzo" <<a href="mailto:gary@isgsoftware.net">gary@isgsoftware.net</a>><br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
<div class="im">Subject: Re: [one-users] vm instantiation failed<br>
</div>
Message-ID: <03e2f3e9-fe96-4ae3-8e77-418cbd3e1c75@zimbra1><br>
Content-Type: text/plain; charset="utf-8"<br>
<div class="im"><br>
Hello,<br>
>From the log: " Host key verification failed"<br>
Make sure you ssh as oneadmin user to the host first so that you can accept the key and save it on the initial attempt.<br>
Hope that helps,<br>
gary<br>
<br>
</div>
<div class="im">----- Original Message -----<br>
<br>
From: "Marc Reilly" <<a href="mailto:marc.reilly@student.ncirl.ie">marc.reilly@student.ncirl.ie</a>><br>
</div>
To: "Carlos Mart?n S?nchez" <<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>><br>
<div class="im">Cc: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Sent: Friday, December 7, 2012 7:02:56 AM<br>
Subject: Re: [one-users] vm instantiation failed<br>
<br>
<br>
<br>
Hi<br>
Thanks for the reply, I have changed the datastore to ssh . I have tried the ttyl image provided by Opennebula and a template/image of my own but still no joy. It is still returning the same error:<br>
<br>
Fri Dec 7 08:32:08 2012 [DiM][I]: New VM state is ACTIVE.<br>
Fri Dec 7 08:32:08 2012 [LCM][I]: New VM state is PROLOG.<br>
Fri Dec 7 08:32:08 2012 [VM][I]: Virtual Machine has no context Fri Dec 7 08:32:10 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/ssh/clone opennebula-host:/var/lib/one/datastores/1/deb07f5dc7b760c79f83a7e27f689331 xenhost2:/var/lib/one/datastores/0/11/disk.0<br>
Fri Dec 7 08:32:10 2012 [TM][I]: clone: Cloning opennebula-host:/var/lib/one/datastores/1/deb07f5dc7b760c79f83a7e27f689331 in /var/lib/one/datastores/0/11/disk.0<br>
Fri Dec 7 08:32:10 2012 [TM][E]: clone: Command "scp -r opennebula-host:/var/lib/one/datastores/1/deb07f5dc7b760c79f83a7e27f689331 xenhost2:/var/lib/one/datastores/0/11/disk.0" failed: Host key verification failed.<br>
Fri Dec 7 08:32:10 2012 [TM][E]: Error copying opennebula-host:/var/lib/one/datastores/1/deb07f5dc7b760c79f83a7e27f689331 to xenhost2:/var/lib/one/datastores/0/11/disk.0<br>
Fri Dec 7 08:32:10 2012 [TM][I]: ExitCode: 1 Fri Dec 7 08:32:10 2012 [TM][E]: Error executing image transfer script: Error copying opennebula-host:/var/lib/one/datastores/1/deb07f5dc7b760c79f83a7e27f689331 to xenhost2:/var/lib/one/datastores/0/11/disk.0<br>
Fri Dec 7 08:32:10 2012 [DiM][I]: New VM state is FAILED<br>
<br>
Could it be an error with my Xen configuration?<br>
Thanks<br>
Marc<br>
<br>
</div>
From: Carlos Mart?n S?nchez [mailto:<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>]<br>
<div class="im">Sent: 07 December 2012 10:41<br>
To: Marc Reilly<br>
Cc: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] vm instantiation failed<br>
<br>
Hi,<br>
<br>
<br>
<br>
Are you sure you are using tm_ssh in all your datastores? doesn't look like it:<br>
<br>
<br>
<br>
Command execution fail: /var/lib/one/remotes/tm/ shared /<br>
<br>
<br>
<br>
Regards<br>
--<br>
</div>
Carlos Mart?n, MSc<br>
<div class="im">Project Engineer<br>
OpenNebula - The Open-source Solution for Data Center Virtualization<br>
<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org">
cmartin@opennebula.org</a> | @OpenNebula<br>
<br>
<br>
<br>
<br>
On Thu, Dec 6, 2012 at 10:48 PM, Marc Reilly < <a href="mailto:marc.reilly@student.ncirl.ie">
marc.reilly@student.ncirl.ie</a> > wrote:<br>
Command execution fail: /var/lib/one/remotes/tm/shared/clone<br>
<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>
</div>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121207/4d90d91d/attachment.htm" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121207/4d90d91d/attachment.htm</a>><br>
<br>
------------------------------<br>
<div class="im"><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>
<br>
</div>
End of Users Digest, Vol 58, Issue 24<br>
*************************************<br>
<div class="HOEnZb">
<div class="h5"><br>
<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>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
Jaime Melis<br>
Project Engineer<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">
jmelis@opennebula.org</a> </div>
</blockquote>
</body>
</html>