Ask Your Question

remove nova-compute node from inventory

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

orbital.mute gravatar image

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

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

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

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


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 -0500 )edit

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools



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

Seen: 4,310 times

Last updated: Nov 01 '13