[Openstack] Cannot get ssh-key in instance
George Mihaiescu
George.Mihaiescu at Q9.com
Thu May 10 14:42:06 UTC 2012
Hi,
First, check if nova-api is running on the host where your nova-network runs (same as nova-compute if using a multi_host=true setup).
Second, using the console of the instance check if your instance can access the API service by doing a:
GET http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key
You can also read this doc for more info about the metadata service:
http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html
George
________________________________
From: openstack-bounces+george.mihaiescu=q9.com at lists.launchpad.net [mailto:openstack-bounces+george.mihaiescu=q9.com at lists.launchpad.net] On Behalf Of livemoon
Sent: Thursday, May 10, 2012 9:26 AM
To: Yong Sheng Gong
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] Cannot get ssh-key in instance
I am sure image is ok since of I use the same image in both older version installed via devstack on ubuntu11.10 and new version installed on ubuntu12.04.
In older version, it can work well. but now it cannot. Am I missing something in nova.conf ?
On Thu, May 10, 2012 at 8:29 PM, Yong Sheng Gong <gongysh at cn.ibm.com> wrote:
have you started the instance with keypair?
-----openstack-bounces+gongysh=cn.ibm.com at lists.launchpad.net wrote: -----
To: livemoon <mwjpiero at gmail.com> <mailto:mwjpiero at gmail.com>
From: Razique Mahroua <razique.mahroua at gmail.com> <mailto:razique.mahroua at gmail.com>
Sent by: openstack-bounces+gongysh=cn.ibm.com at lists.launchpad.net
Date: 05/10/2012 06:29PM
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] Cannot get ssh-key in instance
Hey livememon,
is it possible to see the content of the rc.local. Also, are other instances able to reach the metadata server ?
livemoon <mailto:mwjpiero at gmail.com>
10 mai 2012 12:24
I running an instance(ubuntu or centos), and it cannot get keypair.
In ubuntu12.04, I have install cloud-init and in centos I have add some command into /etc/rc.local
There is some of instance's logs about cloud-init:
cloud-init start-local running: Thu, 10 May 2012 10:17:33 +0000. up 4.47 seconds
no instance data found in start-local
ci-info: lo : 1 127.0.0.1 255.0.0.0 .
ci-info: eth0 : 1 10.0.200.5 255.255.255.224 fa:16:3e:6a:30:7c
ci-info: route-0: 0.0.0.0 10.0.200.1 0.0.0.0 eth0 UG
ci-info: route-1: 10.0.200.0 0.0.0.0 255.255.255.224 eth0 U
cloud-init start running: Thu, 10 May 2012 10:17:33 +0000. up 5.00 seconds
no instance data found in start
I think it maybe some missing in nova host, How to fix it?
--
非淡薄无以明志,非宁静无以致远
_______________________________________________
Mailing list: https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
Post to : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
More help : https://help.launchpad.net/ListHelp
--
Razique Mahroua
Nuage & Co - Razique Mahroua
razique.mahroua at gmail.com
_______________________________________________
Mailing list: https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
Post to : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
More help : https://help.launchpad.net/ListHelp
--
非淡薄无以明志,非宁静无以致远
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120510/34e94a61/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image.part1.05070209.09030403 at gmail.com.jpg
Type: image/jpeg
Size: 770 bytes
Desc: Image.part1.05070209.09030403 at gmail.com.jpg
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120510/34e94a61/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image.part2.03000908.03060208 at gmail.com.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: Image.part2.03000908.03060208 at gmail.com.jpg
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120510/34e94a61/attachment-0001.jpg>
More information about the Openstack
mailing list