← Back to team overview

openstack team mailing list archive

Re: How to create vm instance to specific compute node?

 

Great to know, Phil!

We did add to the docs to explain that you couldn't choose a host any more:

http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-host-to-boot-instances-on.html
and then added this page to let people know how to choose a zone

http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-zone-to-boot-instances-on.html

This doc bug requests the additional information about the policy
enforcement so we can update the doc.
https://bugs.launchpad.net/openstack-manuals/+bug/1096168

Thanks,
Anne



On Thu, Jan 3, 2013 at 7:03 AM, Day, Phil <philip.day@xxxxxx> wrote:

> > Note this is an admin-only ability by default and can oversubscribe the
> compute node the instance goes on.
>
> It is now controlled by a policy (create:forced_host) - so if you want to
> extend it to other users you can, for example, set up the policy file to
> control this via a Keystone role
>
> Phil
>
> -----Original Message-----
> From: openstack-bounces+philip.day=hp.com@xxxxxxxxxxxxxxxxxxx [mailto:
> openstack-bounces+philip.day=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jay
> Pipes
> Sent: 27 December 2012 22:39
> To: openstack@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Openstack] How to create vm instance to specific compute
> node?
>
> No.
>
> Use nova boot --availability_zone=nova:hostname where nova: is your
> availability zone and hostname is the hostname of the compute node you wish
> to put the instance on.
>
> Note this is an admin-only ability by default and can oversubscribe the
> compute node the instance goes on.
>
> Best,
> -jay
>
> On 12/27/2012 02:45 PM, Rick Jones wrote:
> > Does the convention of adding --onhost--computenodename to the instanc
> > name being created still work?
> >
> > rick jones
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

References