← Back to team overview

openstack team mailing list archive

Forcing a VM to a specific node in grizzly

 

I see that in grizzly an admin can use a scheduler hint to force a VM to
launch on a particular host, e.g.:

nova boot --image 1 --flavor 2 --key_name test --hint force_hosts=server2
my-first-server
(from:
http://docs.openstack.org/trunk/openstack-compute/admin/content/specify-host-to-boot-instances-on.html
)

In Folsom, an admin could do this with the availability zone flag:

nova boot --image <uuid> --flavor m1.tiny --key_name test
--availability-zone nova:server2

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

Does the second method work in grizzly as well? If so, should we recommend
one approach over the other in the docs?

Lorin

Follow ups