Re: [Openstack] Tenant name from within an instance

2016-02-19 Thread gustavo panizzo (gfa)
gt; Sent: 18. febrúar 2016 15:32 > Til: Davíð Örn Jóhannsson; Mohammed Naser > Afrit: openstack@lists.openstack.org > Efni: Re: [Openstack] Tenant name from within an instance > > If you are using automation outside the instance (for example to create the > instance) you can pass

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Davíð Örn Jóhannsson
Örn Jóhannsson Afrit: openstack@lists.openstack.org Efni: Re: [Openstack] Tenant name from within an instance Hey, I don't think there is an alternative, you will need to make an API call to get the name. The Nova API doesn't know anything about tenant/project names, it only works with IDs a

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread gustavo panizzo (gfa)
il: Davíð Örn Jóhannsson >Afrit: openstack@lists.openstack.org >Efni: Re: [Openstack] Tenant name from within an instance > >Hey, > >I don’t think there is an alternative, you will need to make an API >call to get the name. > >The Nova API doesn’t know anything about tenant/project

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Mohammed Naser
r 2016 14:53 > Til: Davíð Örn Jóhannsson > Afrit: openstack@lists.openstack.org > Efni: Re: [Openstack] Tenant name from within an instance > > Hey, > > I don’t think there is an alternative, you will need to make an API > call to get the name. > > The Nova API doesn’t know an

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Davíð Örn Jóhannsson
within an instance From: davi...@siminn.is To: openstack@lists.openstack.org Date: Thu, 18 Feb 2016 14:38:00 + Subject: [Openstack] Tenant name from within an instance > I'm currently looking for ways to be able to retrieve information on what > ten

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Chris Card
> To: openstack@lists.openstack.org > From: christ...@berendt.io > Date: Thu, 18 Feb 2016 15:51:17 +0100 > Subject: Re: [Openstack] Tenant name from within an instance > > On 02/18/2016 03:38 PM, Davíð Örn Jóhannsson wrote: > > This information is not available from &g

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Davíð Örn Jóhannsson
ð Örn Jóhannsson Afrit: openstack@lists.openstack.org Efni: Re: [Openstack] Tenant name from within an instance Hey, I don’t think there is an alternative, you will need to make an API call to get the name. The Nova API doesn’t know anything about tenant/project names, it only works with IDs an

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Chris Card
From: davi...@siminn.is To: openstack@lists.openstack.org Date: Thu, 18 Feb 2016 14:38:00 + Subject: [Openstack] Tenant name from within an instance > I'm currently looking for ways to be able to retrieve information on what > tenant a given openstack instance lives in

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Christian Berendt
On 02/18/2016 03:38 PM, Davíð Örn Jóhannsson wrote: This information is not available from http://169.254.169.254/latest/meta-data and setting up a nova client to access the api is not the way I want to go. The name of a project is not available at the moment. Maybe the ID of the project is su

Re: [Openstack] Tenant name from within an instance

2016-02-18 Thread Mohammed Naser
Hey, I don’t think there is an alternative, you will need to make an API call to get the name. The Nova API doesn’t know anything about tenant/project names, it only works with IDs anyways. Mohammed On Thu, Feb 18, 2016 at 9:38 AM, Davíð Örn Jóhannsson wrote: > I'm currently looking for ways t

[Openstack] Tenant name from within an instance

2016-02-18 Thread Davíð Örn Jóhannsson
I'm currently looking for ways to be able to retrieve information on what tenant a given openstack instance lives in from within that instance it self. This information is not available from http://169.254.169.254/latest/meta-data and setting up a nova client to access the api is not the way I