<div dir="ltr">Hi all,<div><br></div><div>I have reconfigured everything, working fine but not sure where what went wrong last time,</div><div><br></div><div>Can anyone explain, how this works, like metadata agent is <b>neutron </b>service, is it responsible for adding key inside new instance? It should be a job of <b>nova </b>service.</div><div><br></div><div><br></div><div>Thanks and Regards</div><div>Amit Uniyal</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 1, 2017 at 11:03 PM, Amit Uniyal <span dir="ltr"><<a href="mailto:auniyal61@gmail.com" target="_blank">auniyal61@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I have installed a newton openstack, not able to login into machines via private keys. </div><div><br></div><div>I followed this guide <a href="https://docs.openstack.org/newton/install-guide-ubuntu/" target="_blank">https://docs.openstack.org/ne<wbr>wton/install-guide-ubuntu/</a></div><div><br></div><div><h2 style="box-sizing:border-box;font-family:"open sans",helvetica,arial,sans-serif;font-weight:300;line-height:1.1;color:rgb(40,77,104);margin-top:20px;margin-bottom:25px;font-size:30px">Configure the metadata agent<a class="m_2760829361480768071m_3699223463051694616gmail-headerlink" href="https://docs.openstack.org/newton/install-guide-ubuntu/neutron-controller-install.html#configure-the-metadata-agent" title="Permalink to this headline" style="box-sizing:border-box;background-color:transparent;color:rgb(255,255,255)" target="_blank">¶</a></h2><p style="box-sizing:border-box;margin:0px 0px 10px;color:rgb(51,51,51);font-family:"open sans",helvetica,arial,sans-serif;font-size:14px">The <a class="m_2760829361480768071m_3699223463051694616gmail-reference m_2760829361480768071m_3699223463051694616gmail-internal" href="https://docs.openstack.org/newton/install-guide-ubuntu/common/glossary.html#term-metadata-agent" style="box-sizing:border-box;background-color:transparent;color:rgb(48,115,156)" target="_blank"><span class="m_2760829361480768071m_3699223463051694616gmail-xref m_2760829361480768071m_3699223463051694616gmail-std m_2760829361480768071m_3699223463051694616gmail-std-term" style="box-sizing:border-box">metadata agent</span></a> provides configuration information such as credentials to instances.</p><ul style="box-sizing:border-box;margin-top:0px;margin-bottom:10px;color:rgb(51,51,51);font-family:"open sans",helvetica,arial,sans-serif;font-size:14px"><li style="box-sizing:border-box"><p class="m_2760829361480768071m_3699223463051694616gmail-first" style="box-sizing:border-box;margin:0px 0px 10px">Edit the <code class="m_2760829361480768071m_3699223463051694616gmail-docutils m_2760829361480768071m_3699223463051694616gmail-literal" style="box-sizing:border-box;font-family:menlo,monaco,consolas,"courier new",monospace;font-size:12.6px;padding:2px 4px;color:rgb(199,37,78);background-color:rgb(249,242,244);border-radius:4px"><span class="m_2760829361480768071m_3699223463051694616gmail-pre" style="box-sizing:border-box">/etc/neutron/metadata_agen<wbr>t.ini</span></code> file and complete the following actions:</p></li><ul style="box-sizing:border-box;margin-top:0px;margin-bottom:0px"><li style="box-sizing:border-box"><p class="m_2760829361480768071m_3699223463051694616gmail-first" style="box-sizing:border-box;margin:0px 0px 10px">In the <code class="m_2760829361480768071m_3699223463051694616gmail-docutils m_2760829361480768071m_3699223463051694616gmail-literal" style="box-sizing:border-box;font-family:menlo,monaco,consolas,"courier new",monospace;font-size:12.6px;padding:2px 4px;color:rgb(199,37,78);background-color:rgb(249,242,244);border-radius:4px"><span class="m_2760829361480768071m_3699223463051694616gmail-pre" style="box-sizing:border-box">[DEFAULT]</span></code> section, configure the metadata host and shared secret:</p><div class="m_2760829361480768071m_3699223463051694616gmail-highlight-ini" style="box-sizing:border-box"><div class="m_2760829361480768071m_3699223463051694616gmail-highlight" style="box-sizing:border-box"><pre style="box-sizing:border-box;overflow:auto;font-family:menlo,monaco,consolas,"courier new",monospace;font-size:13px;padding:20px 30px;margin-top:0px;margin-bottom:10px;line-height:1.42857;color:rgb(255,255,255);word-break:break-all;word-wrap:break-word;background-color:rgb(51,51,51);border:1px solid rgb(204,204,204);border-radius:4px"><span style="box-sizing:border-box"></span><span class="m_2760829361480768071m_3699223463051694616gmail-k" style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">[DEFAULT]</span>
<span class="m_2760829361480768071m_3699223463051694616gmail-na" style="box-sizing:border-box;color:rgb(187,187,187)">...</span>
<span class="m_2760829361480768071m_3699223463051694616gmail-na" style="box-sizing:border-box;color:rgb(187,187,187)">nova_metadata_ip</span> <span class="m_2760829361480768071m_3699223463051694616gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">=</span> <span class="m_2760829361480768071m_3699223463051694616gmail-s" style="box-sizing:border-box;color:rgb(237,157,19)">controller</span>
<span class="m_2760829361480768071m_3699223463051694616gmail-na" style="box-sizing:border-box;color:rgb(187,187,187)">metadata_proxy_shared_secret</span> <span class="m_2760829361480768071m_3699223463051694616gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">=</span> <span class="m_2760829361480768071m_3699223463051694616gmail-s" style="box-sizing:border-box;color:rgb(237,157,19)">METADATA_SECRET</span>
</pre></div></div><p style="box-sizing:border-box;margin:0px 0px 10px">Replace <code class="m_2760829361480768071m_3699223463051694616gmail-docutils m_2760829361480768071m_3699223463051694616gmail-literal" style="box-sizing:border-box;font-family:menlo,monaco,consolas,"courier new",monospace;font-size:12.6px;padding:2px 4px;color:rgb(199,37,78);background-color:rgb(249,242,244);border-radius:4px"><span class="m_2760829361480768071m_3699223463051694616gmail-pre" style="box-sizing:border-box">METADATA_SECRET</span></code> with a suitable secret for the metadata proxy.</p></li></ul></ul><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px">I think region name should also be included here, I tried </span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px">RegionName = RegionOne</span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px">and then restarted even whole controller node (as it doesn't work by only restarting neutron meta-agent service)</span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px">Another thing is on checking neutron agent-list status, I am not getting any availiability zone for mata-agent is it fine?</span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px">Regards</span></font></div><span class="HOEnZb"><font color="#888888"><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px">Amit </span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="open sans, helvetica, arial, sans-serif"><span style="font-size:14px"><br></span></font></div></font></span></div>
</blockquote></div><br></div>