Ask Your Question
0

why my controller node in hypervisor-list

asked 2013-07-11 07:35:26 -0500

chengjia-su gravatar image

Hi,

I try to build multi-node cluster IaaS system by devstack. When I finished and tested it.

I found that some instances launch into controller node.

I use nova hypervisor-list command to check, the following is respond: +----+---------------------+ | ID | Hypervisor hostname | +----+---------------------+ | 1 | controller | | 2 | node1 | +----+---------------------+

how can I let all instances launch into compute node (node1)?

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
0

answered 2013-07-11 09:58:26 -0500

xianghui gravatar image

I think dashboard don't support this feature now.

edit flag offensive delete link more
0

answered 2013-07-11 20:07:38 -0500

armando-migliaccio gravatar image

if your controller runs a service called nova-compute you can disable it by using nova-manage.

You can do so:

nova-manage service disable [-h] [--host <host>] [--service <service>]

edit flag offensive delete link more
0

answered 2013-07-12 01:03:23 -0500

chengjia-su gravatar image

Thanks Armando Migliaccio, that solved my question.

edit flag offensive delete link more
0

answered 2013-07-11 08:11:52 -0500

xianghui gravatar image

use availability zone to select a specified host to launch compute node, an example is like : nova boot --image 6cc22762-d684-42de-a3da-d8acd770d346 --flavor 1 --availability-zone nova:node1 test

where the 'nova' in '--availability-zone nova:node1' is the <zone> your host belongs to, default is equal to nova, you can check by run #nova-manage service list nova-compute XH nova enabled :-) 2013-07-11 08:11:11 and the 'node1' is your host name to launch a vm.

edit flag offensive delete link more
0

answered 2013-07-11 09:11:24 -0500

chengjia-su gravatar image

Thank you for your reply.

I use this command which you offer to boot instance on specific host successfully.

but my system has installed dashboard, so I use dashboard to launch instances.

I still don't know how to use dashboard to launch instances on specific host.

edit flag offensive delete link more
0

answered 2013-07-11 15:48:43 -0500

chengjia-su gravatar image

Should the controller node must install hypervisor?

Can this problem be solved by uninstalling hypervisor which install on controller node?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-11 07:35:26 -0500

Seen: 199 times

Last updated: Jul 12 '13