Menu
Online Notes
  • Privacy Policy
Online Notes

Removing compute node/host from an Openstack deployment

Posted on October 13, 2020October 20, 2020 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"
Uncategorized

Recent Posts

  • Launching an instance
  • Removing compute node/host from an Openstack deployment
  • Cinder – Block storage services – Storage Nodes
  • Cinder – Block storage service – Controller node
  • Horizon – Dashboard on Controller Node
  • Neutron – Networking service on Compute nodes
  • Neutron – Networking service on Controller node
  • Nova – Compute services on Compute nodes
  • Nova – Compute services on Controller node
  • Placement services on Controller Node

Recent Comments

  • Adding ClamAV Anti-virus checks to existing Postfix, Amavis+Spamassasin configuration – Online Notes on Configuring secure mail server using Postfix with Dovecot, Amavis, Spamassasin, Postgrey and OpenDKIM

Archives

  • October 2020
  • February 2020
  • January 2020
  • December 2019

Categories

  • Howto
  • Installation Steps
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2021 Online Notes | Powered by WordPress & Superb Themes