[Openstack-operators] Rename VM (was: how can I make a new VM use the project name as sub-domain ?)
Aubrey Wells
aubrey at vocalcloud.com
Fri Aug 22 15:22:33 UTC 2014
both commands exist in grizzly (i dont have anything older to check),
though I never noticed them either until you asked
On Fri, Aug 22, 2014 at 11:12 AM, Tim Bell <Tim.Bell at cern.ch> wrote:
>
>
> Fantastic… is this new with Icehouse ? I don’t remember them being there
> before.
>
>
>
> They seem to do what is expected.
>
>
>
> Tim
>
>
>
> *From:* Ahmed Ali (ahmeali) [mailto:ahmeali at cisco.com]
> *Sent:* 21 August 2014 17:41
> *To:* Alex Leonhardt; Juan José Pavlik Salles
> *Cc:* openstack-operators
>
> *Subject:* Re: [Openstack-operators] Rename VM (was: how can I make a new
> VM use the project name as sub-domain ?)
>
>
>
> Why not use nova/keystone to rename instance/project
>
>
>
> # nova rename <instance_name> <new_*instance_*name>
>
>
>
> Also you cane rename a project using keystone:
>
>
>
> # keystone tenant-update --name <new_name> <tenant_id>
>
>
>
> Ali
>
>
>
> *From: *Alex Leonhardt <aleonhardt.py at gmail.com>
> *Date: *Thursday, August 21, 2014 at 6:15 AM
> *To: *Juan José Pavlik Salles <jjpavlik at gmail.com>
> *Cc: *openstack-operators <openstack-operators at lists.openstack.org>
> *Subject: *Re: [Openstack-operators] Rename VM (was: how can I make a new
> VM use the project name as sub-domain ?)
>
>
>
> actually, I found it in compute/api.py - inside the use of the templating
> for when you create more than 1 VM - all I need is to add
> context.project_name - i'll add this in properly this week and make a pull
> req to openstack nova api so everyone can add the project_id and/or the
> project_name as part of the hostname/s
>
>
>
> Alex
>
>
>
> On 21 August 2014 14:12, Juan José Pavlik Salles <jjpavlik at gmail.com>
> wrote:
>
> If it is extremly necesary you could change it from the DB, but is not
> an API call at all.
>
>
>
> 2014-08-21 9:40 GMT-03:00 Tim Bell <Tim.Bell at cern.ch>:
>
>
> I don't think there is a rename VM command. I could not find a rename
> project command either when I looked in the past.
>
> Tim
>
> On 21 Aug 2014, at 10:35, Alex Leonhardt <aleonhardt.py at gmail.com> wrote:
>
> > HI guys,
> >
> > any clues what API call I can make to nova-api to rename a VM ?
> >
> > Alex
> >
> >
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
>
>
>
> --
>
> Pavlik Salles Juan José
>
> Blog - http://viviendolared.blogspot.com
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140822/377ffcf0/attachment.html>
More information about the OpenStack-operators
mailing list