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

Kevin Benton kevin at benton.pub
Sun Mar 5 14:48:38 UTC 2017


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
>




More information about the Openstack mailing list