[Openstack] Tenant name from within an instance

Mohammed Naser mnaser at vexxhost.com
Thu Feb 18 14:53:42 UTC 2016


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 <davidoj at siminn.is> wrote:
> 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 want to go.
>
>
> _______________________________________________
> 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