[openstack-dev] [Openstack] Newton: not able to login via public key

Kevin Benton kevin at benton.pub
Tue Mar 21 09:46:54 UTC 2017


Nova API. Neutron just relays the metadata requests to Nova.

On Sun, Mar 5, 2017 at 8:53 AM, Amit Uniyal <auniyal61 at gmail.com> wrote:

> Hi Kevin,
>
>
> Thanks for response.
>
> Can you tell which service or which configuration(file) is responsible for
> adding metadata to instance. like adding adding keys in new instance ?
>
>
> Thanks and Regards
> Amit Uniyal
>
> On Sun, Mar 5, 2017 at 8:18 PM, Kevin Benton <kevin at benton.pub> wrote:
>
>> The metadata agent in Neutron is just a proxy that relays metadata
>> requests to Nova after adding in HTTP headers that identify the
>> instance.
>>
>> On Sun, Mar 5, 2017 at 5:44 AM, Amit Uniyal <auniyal61 at gmail.com> wrote:
>> > Hi all,
>> >
>> > I have reconfigured everything, working fine but not sure where what
>> went
>> > wrong last time,
>> >
>> > Can anyone explain, how this works, like metadata agent is neutron
>> service,
>> > is it responsible for adding key inside new instance? It should be a
>> job of
>> > nova service.
>> >
>> >
>> > Thanks and Regards
>> > Amit Uniyal
>> >
>> > On Wed, Mar 1, 2017 at 11:03 PM, Amit Uniyal <auniyal61 at gmail.com>
>> wrote:
>> >>
>> >> Hi all,
>> >>
>> >> I have installed a newton openstack, not able to login into machines
>> via
>> >> private keys.
>> >>
>> >> I followed this guide
>> >> https://docs.openstack.org/newton/install-guide-ubuntu/
>> >>
>> >> Configure the metadata agent¶
>> >>
>> >> The metadata agent provides configuration information such as
>> credentials
>> >> to instances.
>> >>
>> >> Edit the /etc/neutron/metadata_agent.ini file and complete the
>> following
>> >> actions:
>> >>
>> >> In the [DEFAULT] section, configure the metadata host and shared
>> secret:
>> >>
>> >> [DEFAULT]
>> >> ...
>> >> nova_metadata_ip = controller
>> >> metadata_proxy_shared_secret = METADATA_SECRET
>> >>
>> >> Replace METADATA_SECRET with a suitable secret for the metadata proxy.
>> >>
>> >>
>> >>
>> >>
>> >> I think region name should also be included here, I tried
>> >>
>> >> RegionName = RegionOne
>> >>
>> >> and then restarted even whole controller node (as it doesn't work by
>> only
>> >> restarting neutron meta-agent service)
>> >>
>> >>
>> >> Another thing is on checking neutron agent-list status, I am not
>> getting
>> >> any availiability zone for mata-agent is it fine?
>> >>
>> >>
>> >> Regards
>> >> Amit
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > Mailing list: http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> > Post to     : openstack at lists.openstack.org
>> > Unsubscribe : http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170321/28c29a5f/attachment.html>


More information about the OpenStack-dev mailing list