<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi, <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>We have deployed OpenStack using the guide provided at the OpenStack webpage:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Host A : controller node<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Host B : network node <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Host C : compute node<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Everything went fine during the installation process, but when we try to instantiate a VM, the logs show that the VMs are unable to connect to the metadata service (169.254.169.254).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>We’ve tried this with the Ubuntu image and the Cirros image, but the result is the same.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>From what I understood, without the retrieval of the metadata from the server, the keys are not downloaded to the VM, is this correct?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Because we can ping the IP address assigned to the VM from the network node, and if we assign a floating IP to the VM, the public IP also responds to ping replys.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But we are unable to ssh into the VMs, with the error: “Read from socket failed: Connection reset by peer”<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If we try to telnet into the public IP this is the result:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>controller@controller:~$ telnet x.x.x.x 22<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Trying x.x.x.x...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Connected to x.x.x.x.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Escape character is '^]'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Protocol mismatch.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Connection closed by foreign host.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Questions:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>In which node is the metadata service supposed to be running (compute, network or controller)?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Should the IP address 169.254.169.254 be reachable outside the VM?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Is there an alternative to the metadata service?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Kind regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Bruno Parreira<o:p></o:p></span></p></div></body></html>