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

2017-03-21 Thread Kevin Benton
Nova API. Neutron just relays the metadata requests to Nova.

On Sun, Mar 5, 2017 at 8:53 AM, Amit Uniyal  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  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  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 
>> 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 : openst...@lists.openstack.org
>> > Unsubscribe : http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> >
>>
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2017-03-05 Thread Amit Uniyal
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  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  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 
> 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 : openst...@lists.openstack.org
> > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> >
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2017-03-05 Thread Kevin Benton
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  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  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 : openst...@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev