Ask Your Question

How to launch an instance on specific host

asked 2014-09-18 16:45:27 -0600

kolobok gravatar image

updated 2014-09-18 18:42:57 -0600

smaffulli gravatar image

I have seen some docs that indicate that you can launch an instance on a specific compute host. Does anybody know how to properly structure the cli request ? I have tried with this

--hint force_hosts=
somthing like 
nova boot --image 79ced6dd-a9a1-4843-9e38-a4337228adb6  --flavor --nic net-id=9a2a3961-9afd-4cb2-940f-3a8e5badb82a --hint force_hosts=host1  testhost

Would appriciate any help i can get

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2019-03-11 08:42:19 -0600

arbermejo gravatar image

You can use Host Aggregates for that, i had a similar problem here is a link with the solution that worked for me (

edit flag offensive delete link more

answered 2014-09-18 18:24:51 -0600

fgorbat gravatar image

According to the OpenStack Admin User Guide you should be able to use

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

to get list of available hypervisor, use:

nova hypervisor-list
edit flag offensive delete link more

answered 2014-09-18 18:01:52 -0600

kolobok gravatar image

The solution was simple --availability-zone nova:host i was specifying fully qualified name instead of shorthand

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-18 16:45:27 -0600

Seen: 15,740 times

Last updated: Mar 11 '19