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

  • Ceph + KVM: 4. Orchestrating Ceph RBD backed VMs on KVM Hosts
  • Rabbit MQ Cluster + HAProxy + Keepalived
  • Install and configure MariaDB / Galera cluster
  • Ceph + KVM : 3. Installing KVM, cutsomized monitoring scripts
  • Ceph + KVM : 5. Service checks and CLI commands
  • Ceph + KVM : 2. Installation – Ceph Storage
  • Ceph + KVM : 1. Planning and preparing for Ceph Storage
  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server

Archives

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