[one-users] vm instantiation failed

Marc Reilly marc.reilly at student.ncirl.ie
Thu Dec 20 13:48:14 PST 2012


Thanks jamie
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!

Thanks,
Marc Reilly


On 20 Dec 2012, at 13:35, "Jaime Melis" <jmelis at opennebula.org<mailto:jmelis at opennebula.org>> wrote:

Hello Marc,

you should be able to ssh passwordlessly from the frontend to the frontend (I mean that, no typo here!)

In order to do that, can you do from the frontend (opennebula-host):
$ ssh opennebula-host

After getting that to work, try again.

cheers,
Jaime


On Sun, Dec 9, 2012 at 2:00 AM, Marc Reilly <marc.reilly at student.ncirl.ie<mailto:marc.reilly at student.ncirl.ie>> wrote:

Hi
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  (http://i.imgur.com/ol9zu.png) but it still brings the same error. Is there any other settings I should check?
Thanks
Marc
------------------------------

Message: 4
Date: Fri, 07 Dec 2012 08:52:19 -0500 (EST)
From: "Gary S. Cuozzo" <gary at isgsoftware.net<mailto:gary at isgsoftware.net>>
To: users at lists.opennebula.org<mailto:users at lists.opennebula.org>
Subject: Re: [one-users] vm instantiation failed
Message-ID: <03e2f3e9-fe96-4ae3-8e77-418cbd3e1c75 at zimbra1>
Content-Type: text/plain; charset="utf-8"

Hello,
>From the log: " Host key verification failed"
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.
Hope that helps,
gary

----- Original Message -----

From: "Marc Reilly" <marc.reilly at student.ncirl.ie<mailto:marc.reilly at student.ncirl.ie>>
To: "Carlos Mart?n S?nchez" <cmartin at opennebula.org<mailto:cmartin at opennebula.org>>
Cc: users at lists.opennebula.org<mailto:users at lists.opennebula.org>
Sent: Friday, December 7, 2012 7:02:56 AM
Subject: Re: [one-users] vm instantiation failed



Hi
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:

Fri Dec 7 08:32:08 2012 [DiM][I]: New VM state is ACTIVE.
Fri Dec 7 08:32:08 2012 [LCM][I]: New VM state is PROLOG.
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
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
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.
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
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
Fri Dec 7 08:32:10 2012 [DiM][I]: New VM state is FAILED

Could it be an error with my Xen configuration?
Thanks
Marc

From: Carlos Mart?n S?nchez [mailto:cmartin at opennebula.org<mailto:cmartin at opennebula.org>]
Sent: 07 December 2012 10:41
To: Marc Reilly
Cc: users at lists.opennebula.org<mailto:users at lists.opennebula.org>
Subject: Re: [one-users] vm instantiation failed

Hi,



Are you sure you are using tm_ssh in all your datastores? doesn't look like it:



Command execution fail: /var/lib/one/remotes/tm/ shared /



Regards
--
Carlos Mart?n, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization

www.OpenNebula.org<http://www.OpenNebula.org> | cmartin at opennebula.org<mailto:cmartin at opennebula.org> | @OpenNebula




On Thu, Dec 6, 2012 at 10:48 PM, Marc Reilly < marc.reilly at student.ncirl.ie<mailto:marc.reilly at student.ncirl.ie> > wrote:
Command execution fail: /var/lib/one/remotes/tm/shared/clone

_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121207/4d90d91d/attachment.htm>

------------------------------

_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


End of Users Digest, Vol 58, Issue 24
*************************************


_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org<http://www.OpenNebula.org> | jmelis at opennebula.org<mailto:jmelis at opennebula.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121220/22b4bf64/attachment-0002.htm>


More information about the Users mailing list