Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Removing compute node/host from an Openstack deployment

Posted on October 13, 2020September 27, 2021 by sandeep

Wanted to remove a compute node from the openstack setup.

Stop the services in the compute node

service nova-compute stop
service neutron-linuxbridge-agent stop

# Not sure about the need for stopping the following but did it as I had planned to re-install 

service lvm2-lvmetad stop
service libvirtd stop
service lxcfs stop
service tgt stop

On the contoller node

. admin-openrc
openstack compute service list

Note down the ID against the compute node which needs to be removed

openstack compute service delete <noted-down-id>

openstack network agent list

Note down the UUID against the network agent associated with the compute host

openstack network agent delete <noted-uuid>

When checking services tables in nova database, found the entry to it was not listed with openstack commands. So removed manually :

use nova
delete from services where host="compute1.xxxxxx.net"

Recent Posts

  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server
  • Preparing custom Debian 11 server cloud image
  • Complile Linux Kernel (on Debian 11)
  • Openstack Xena – Test Home Lab
  • Openstack Xena on Ubuntu 20.04 – Horizon
  • Openstack Xena on Ubuntu 20.04 -Home Lab
  • Openstack Xena on Ubuntu 20.04 – Neutron
  • Openstack Xena on Ubuntu 20.04 – Nova

Archives

  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • October 2020
  • February 2020
  • January 2020
  • December 2019
© 2022 Home Lab | Powered by Minimalist Blog WordPress Theme