<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19222"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012>First, c</SPAN></FONT><FONT color=#0000ff size=2 
face=Arial><SPAN class=798553514-10052012>heck if nova-api is running on the 
host where your nova-network runs (same as nova-compute if using a 
multi_host=true setup).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012>Second, using the console of the instance check if 
your instance can access the API service by doing a:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012></SPAN></FONT><FONT color=#0000ff size=2 
face=Arial><SPAN class=798553514-10052012><STRONG class=userinput><CODE><STRONG 
class=userinput><CODE>GET </CODE></STRONG><A 
href="http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key">http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key</A></CODE></STRONG></DIV></SPAN></FONT>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012>You can also read this doc for more info about the 
metadata service:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012><A 
href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html">http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=798553514-10052012></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=798553514-10052012><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=798553514-10052012><FONT color=#0000ff 
size=2 face=Arial>George</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=798553514-10052012> </SPAN></DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT size=2 face=Tahoma><B>From:</B> 
openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net 
[mailto:openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net] <B>On 
Behalf Of </B>livemoon<BR><B>Sent:</B> Thursday, May 10, 2012 9:26 
AM<BR><B>To:</B> Yong Sheng Gong<BR><B>Cc:</B> 
openstack@lists.launchpad.net<BR><B>Subject:</B> Re: [Openstack] Cannot get 
ssh-key in instance<BR></FONT><BR></DIV>
<DIV></DIV>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.
<DIV><BR></DIV>
<DIV>In older version, it can work well. but now it cannot. Am I missing 
something in nova.conf ?<BR><BR>
<DIV class=gmail_quote>On Thu, May 10, 2012 at 8:29 PM, Yong Sheng Gong <SPAN 
dir=ltr><<A href="mailto:gongysh@cn.ibm.com" 
target=_blank>gongysh@cn.ibm.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote><FONT 
  face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">
  <DIV>have you started the instance with keypair?<BR></DIV>
  <DIV><BR>
  <DIV><BR></DIV><FONT color=#990099>-----openstack-bounces+gongysh=<A 
  href="mailto:cn.ibm.com@lists.launchpad.net" 
  target=_blank>cn.ibm.com@lists.launchpad.net</A> wrote: -----<BR><BR></FONT>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">To: 
    livemoon <A href="mailto:mwjpiero@gmail.com" 
    target=_blank><mwjpiero@gmail.com></A><BR>From: Razique Mahroua <A 
    href="mailto:razique.mahroua@gmail.com" 
    target=_blank><razique.mahroua@gmail.com></A><BR>Sent by: <A 
    href="mailto:openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net" 
    target=_blank>openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net</A><BR>Date: 
    05/10/2012 06:29PM<BR>Cc: <A href="mailto:openstack@lists.launchpad.net" 
    target=_blank>openstack@lists.launchpad.net</A><BR>Subject: Re: [Openstack] 
    Cannot get ssh-key in instance<BR><BR>
    <DIV style="FONT-FAMILY: tt">
    <DIV>
    <DIV class=h5><SPAN style="FONT-FAMILY: monospace"><SMALL>Hey livememon, 
    <BR>is it possible to see the content of the rc.local. Also, are other 
    instances able to reach the metadata server ?</SMALL><BR></SPAN><BR>
    <BLOCKQUOTE 
    style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" 
    type="cite">
      <DIV style="MARGIN: 30px 25px 10px">
      <DIV 
      style="WIDTH: 100%; DISPLAY: table; BORDER-TOP: #edeef0 1px solid; PADDING-TOP: 5px">
      <DIV 
      style="PADDING-RIGHT: 6px; DISPLAY: table-cell; VERTICAL-ALIGN: middle"><IMG 
      src="cid:798553514@10052012-06A1"></DIV>
      <DIV 
      style="WIDTH: 100%; DISPLAY: table-cell; WHITE-SPACE: nowrap; VERTICAL-ALIGN: middle"><A 
      style="PADDING-RIGHT: 6px; FONT-WEIGHT: bold; TEXT-DECORATION: none !important" 
      href="mailto:mwjpiero@gmail.com" target=_blank><FONT 
      color=#737f92>livemoon</FONT></A></DIV>
      <DIV 
      style="DISPLAY: table-cell; WHITE-SPACE: nowrap; VERTICAL-ALIGN: middle"><FONT 
      color=#9fa2a5><SPAN style="PADDING-LEFT: 6px">10 mai 2012 
      12:24</SPAN></FONT></DIV></DIV></DIV>
      <DIV style="MARGIN-LEFT: 24px; MARGIN-RIGHT: 24px"><FONT color=#888888>
      <DIV>I running an instance(ubuntu or centos), and it cannot get 
      keypair.</DIV>
      <DIV><BR></DIV>
      <DIV>In ubuntu12.04, I have install cloud-init and in centos I have add 
      some command into /etc/rc.local</DIV>
      <DIV><BR></DIV>
      <DIV>There is some of instance's logs about cloud-init:</DIV>
      <DIV><BR></DIV>
      <DIV><SPAN><FONT color=#ff0000>cloud-init start-local running: Thu, 10 May 
      2012 10:17:33 +0000. up 4.47 seconds</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000>no instance data found in 
      start-local</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000>ci-info: lo    : 1 127.0.0.1 
            255.0.0.0       .</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000>ci-info: eth0  : 1 10.0.200.5   
         255.255.255.224 fa:16:3e:6a:30:7c</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000>ci-info: route-0: 0.0.0.0     
          10.0.200.1      0.0.0.0       
        eth0   UG</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000>ci-info: route-1: 10.0.200.0     
       0.0.0.0         255.255.255.224 eth0   
      U</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000>cloud-init start running: Thu, 10 May 2012 
      10:17:33 +0000. up 5.00 seconds</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000>no instance data found in 
      start</FONT></SPAN></DIV>
      <DIV><SPAN><FONT color=#ff0000><BR></FONT></SPAN></DIV>
      <DIV>I think it maybe some missing in nova host, How to fix it?</DIV>
      <DIV><BR></DIV>
      <DIV><BR></DIV>-- <BR>非淡薄无以明志,非宁静无以致远<BR>
      <DIV>_______________________________________________<BR>Mailing list: <A 
      href="https://launchpad.net/%7Eopenstack" 
      target=_blank>https://launchpad.net/~openstack</A><BR>Post to : <A 
      href="mailto:openstack@lists.launchpad.net" 
      target=_blank>openstack@lists.launchpad.net</A><BR>Unsubscribe : <A 
      href="https://launchpad.net/%7Eopenstack" 
      target=_blank>https://launchpad.net/~openstack</A><BR>More help : <A 
      href="https://help.launchpad.net/ListHelp" 
      target=_blank>https://help.launchpad.net/ListHelp</A><BR></DIV></FONT></DIV></BLOCKQUOTE><BR></DIV></DIV>
    <DIV>
    <DIV>
    <DIV class=h5>-- <BR><SPAN style="FONT-FAMILY: monospace">Razique 
    Mahroua<BR>Nuage & Co - Razique Mahroua <BR><A 
    href="mailto:razique.mahroua@gmail.com" 
    target=_blank>razique.mahroua@gmail.com</A><BR></SPAN></DIV></DIV><IMG 
    src="cid:798553514@10052012-06A8"><BR></DIV></DIV>
    <DIV class=im><FONT size=3 
    face="Courier New,Courier,monospace">_______________________________________________<BR>Mailing 
    list: <A href="https://launchpad.net/%7Eopenstack" 
    target=_blank>https://launchpad.net/~openstack</A><BR>Post to     
    : <A href="mailto:openstack@lists.launchpad.net" 
    target=_blank>openstack@lists.launchpad.net</A><BR>Unsubscribe : <A 
    href="https://launchpad.net/%7Eopenstack" 
    target=_blank>https://launchpad.net/~openstack</A><BR>More help   : <A 
    href="https://help.launchpad.net/ListHelp" 
    target=_blank>https://help.launchpad.net/ListHelp</A><BR></FONT></DIV></BLOCKQUOTE><BR></DIV></FONT><BR></BLOCKQUOTE></DIV><BR><BR 
clear=all>
<DIV><BR></DIV>-- <BR>非淡薄无以明志,非宁静无以致远<BR></DIV></BODY></HTML>