> To: openstack at lists.openstack.org > From: christian at 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 > > 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 sufficient? > > https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L343-L344 > > The project_id field is available since the Liberty release of Nova, you > have to use the OpenStack metadata version 2015-10-15 to be able to see > this field. > Ah, that explains why I can't see it - we're still on Juno :( Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160218/ceae57e2/attachment.html>