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....@lists.launchpad.net 
[mailto:openstack-bounces+george.mihaiescu=q9....@lists.launchpad.net] On 
Behalf Of livemoon
Sent: Thursday, May 10, 2012 9:26 AM
To: Yong Sheng Gong
Cc: openstack@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 <gong...@cn.ibm.com> wrote:


        
        have you started the instance with keypair?
        


        -----openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net wrote: 
-----
        
        

                To: livemoon <mwjpi...@gmail.com> <mailto:mwjpi...@gmail.com> 
                From: Razique Mahroua <razique.mahr...@gmail.com> 
<mailto:razique.mahr...@gmail.com> 
                Sent by: 
openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net
                Date: 05/10/2012 06:29PM
                Cc: openstack@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:mwjpi...@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@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.mahr...@gmail.com
                
                 
                
                _______________________________________________
                Mailing list: https://launchpad.net/~openstack 
<https://launchpad.net/%7Eopenstack> 
                Post to     : openstack@lists.launchpad.net
                Unsubscribe : https://launchpad.net/~openstack 
<https://launchpad.net/%7Eopenstack> 
                More help   : https://help.launchpad.net/ListHelp
                






-- 
非淡薄无以明志,非宁静无以致远

<<Image.part1.05070209.09030403@gmail.com.jpg>>

<<Image.part2.03000908.03060208@gmail.com.jpg>>

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to