[openstack-dev] Within a VM Instance, any method to access information that a cloud controller has?

Vishvananda Ishaya vishvananda at gmail.com
Mon Jan 28 17:22:26 UTC 2013


On Jan 28, 2013, at 12:40 AM, Esun Kim <veblush+openstack at gmail.com> wrote:

> Hi!
> 
> These day I try to find way to let VM instances access information
> that a cloud controller has. VM instances already have a limited
> way to get information by using server meta-data system.
> But meta-data don't look customizable and I'm not sure that this spot
> is a good starting point for providing additional data to VMs.
> I want to give a specific VM instance a full VM list in a tenant
> which is too big to be put into meta-data and dynamic.
> 
> Any suggestions and experiences are welcome!

I would suggest giving the vm credentials to hit the public api in this case.
Putting large dynamic data in metadata seems a bit messy.

You could lock down role permissions a bit and create a role that only has
permission to list vms.

Vish



More information about the OpenStack-dev mailing list