Ask Your Question
0

How to remove a Compute Node from Juno release [closed]

asked 2015-10-21 15:42:26 -0500

Dickson gravatar image

Hi :

My Openstack Cluster have 16 compute nodes and I need to scale down the size to use the hardware for other purpose so I need to remove some compute node servers. Did anyone know how to remove a Compute Node from Juno release?

Regards Dickson

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Dickson
close date 2015-10-27 18:50:35.946450

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-24 03:07:39 -0500

wangrich gravatar image

If you want the service records to be removed from the controller after you have done the migration, you can use nova service-delete <id> on the controller host, where <id> can be found from nova service-list.

edit flag offensive delete link more

Comments

I first use nova-manage service disable --host hostname --service nova-compute. Then nova service-delete <id>. This will solve my problem. Thanks.

Dickson gravatar imageDickson ( 2015-10-27 18:46:53 -0500 )edit
0

answered 2015-10-23 23:56:29 -0500

You migrate its instances to different hosts, then just shut it down and remove it. OpenStack will cope with the loss.

Further reading: Operations Guide.

edit flag offensive delete link more

Comments

Bernd, the key is how long for controller to automatically delete that shut-down service. I've waited for 10 mins, so ,....give up , issue the command above instead.

evan gravatar imageevan ( 2016-02-18 03:07:49 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-10-21 15:42:26 -0500

Seen: 5,725 times

Last updated: Oct 24 '15