Ask Your Question
1

remove nova-compute node from inventory

asked 2013-10-31 14:27:39 -0600

orbital.mute gravatar image

updated 2014-01-22 15:12:28 -0600

Evgeny gravatar image

Hi, guys! How i can remove compute node from openstack(havana) cluster? I have 2 node:

  1. Controller(cidner, horizon, quantum, keystone, nova)

  2. Compute-node (quantum, nova)

And now i want remove nova and network from first node. If i just stoping services, i see old compute resources in dashboard. How i can delete information about old compute resources in first node from inventory? Best regards

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2013-11-01 00:59:40 -0600

fetahi gravatar image

To make sure that VMs are not scheduled on the compute node, you can disable it by the command sudo nova-manage service disable controller nova-compute (here controller is the hostname) If you must remove it from the list (which I don't believe to be necessary) you can always go to the nova mysql database and remove it from the services table.

edit flag offensive delete link more

Comments

If I have multiple control nodes, do I need to remove it from the DB on each system or are they synchronized?

mfischer gravatar imagemfischer ( 2014-01-02 14:27:57 -0600 )edit
0

answered 2013-11-01 03:36:32 -0600

orbital.mute gravatar image

Fetahi, thanks for answer! But if i disable nova service, i can see info about compute resource in dashboard(but service status in inventory is disabled). And it is necessary, because if one of the compute-node physically damaged how i can detach it from cluster? And i don't think that deleting from database is a good practice.

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

3 followers

Stats

Asked: 2013-10-31 14:27:39 -0600

Seen: 3,878 times

Last updated: Nov 01 '13