[Openstack] openstack meta-data
Tim.Bell at cern.ch
Sun Sep 15 11:39:46 UTC 2013
I don’t think there is a formal exit inside OpenStack to do this. You may have to make a small patch to Nova.
It would be an interesting feature to define a plug-in architecture for this which would have several other uses.
> -----Original Message-----
> From: Francesco Ceccarelli [mailto:ceccarel at fnal.gov]
> Sent: 14 September 2013 20:40
> To: Tim Bell
> Cc: openstack at lists.openstack.org
> Subject: Re: [Openstack] openstack meta-data
> thanks for the help! I hadn't seen the command in the documentation, this can be helpful.
> BTW my problem is to update metadata every time a machine is launched.
> For example let's talk about the hostname. Every time I launch a machine, I would like to have well-configured metadata, with the
> parameter public-hostname already set to a customized value. I don't want the instance name as public-hostname.
> I hope I was clear and thanks again for the help, Francesco
> On Sat, 2013-09-14 at 07:18 +0000, Tim Bell wrote:
> > You can update the metadata associated with an instance using the 'nova meta' command. However, this only updates the metadata
> > key value pairs) rather than the other attributes.
> > Changing the server name would not alter the hostname of the VM, it would only alter the description in Nova.
> > Can you explain a little more what you would like to be doing ?
> > Tim
> > > -----Original Message-----
> > > From: Francesco Ceccarelli [mailto:ceccarel at fnal.gov]
> > > Sent: 14 September 2013 00:11
> > > To: openstack at lists.openstack.org
> > > Subject: [Openstack] openstack meta-data
> > >
> > > Is it possible to update instance meta-data, for example to set the public hostname?
> > >
> > > Thanks in advance,
> > > Francesco
> > >
> > >
> > > _______________________________________________
> > > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7414 bytes
Desc: not available
More information about the Openstack