[Openstack] Tenant name from within an instance

Chris Card ctcard at hotmail.com
Thu Feb 18 14:58:35 UTC 2016



From: davidoj at siminn.is
To: openstack at lists.openstack.org
Date: Thu, 18 Feb 2016 14:38:00 +0000
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 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.






I don't know a way using the meta-data server, but one way would be to get cloud-init to write a file when the instance is created.

Chris
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160218/064b0f02/attachment.html>


More information about the Openstack mailing list