On Thu, Feb 18, 2016 at 04:12:24 +0000, Davíð Örn Jóhannsson wrote: > ?I'm using masterless puppet recipes within the project and they instances > are spun up with heat templates i don't have a lot of heat experience but i'm sure it can be done in nova instance definition, besides if you run heat agent inside the vm you can do a lot of stuff with it
sorry i don't have examples, i use my own panel to do that stuff i would suggest you to start playing with nova boot --meta key=value > > ________________________________ > Frá: gustavo panizzo (gfa) <g...@zumbi.com.ar> > Sent: 18. febrúar 2016 15:32 > Til: Davíð Örn Jóhannsson; Mohammed Naser > Afrit: openstack@lists.openstack.org > Efni: Re: [Openstack] Tenant name from within an instance > > If you are using automation outside the instance (for example to create the > instance) you can pass arbitrary metadata to the instance > > Check nova meta and nova boot --meta > > On February 18, 2016 10:56:57 PM GMT+08:00, "Davíð Örn Jóhannsson" > <davi...@siminn.is> wrote: > > In order to access the API, I'd already have to know the Tenant name. > > This is for automation purposes where I need to be able to run scripts with > unique parameters/name per each tenant. > > ________________________________ > > Frá: Mohammed Naser <mna...@vexxhost.com> > Sent: 18. febrúar 2016 14:53 > Til: Davíð Örn Jóhannsson > Afrit: openstack@lists.openstack.org > Efni: Re: [Openstack] Tenant name from within an instance > > 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 <davi...@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@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > ________________________________ > > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333 keybase: http://keybase.io/gfa _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack