Posts

Showing posts with the label compute

An overview of the Freezer-DR (Disaster Recovery) project

Image
Freezer-DR is a project that provides compute node high availability for OpenStack. The Freezer-DR comprises 4 main boxes: Monitors: collecting data from compute nodes Fencers: do fencing operations Evacuators: to evacuate VMs Notifiers: notification Freezer-DR is designed using an extensible architecture which allows us to plug any software solution/library into the above boxes by implementing the drivers. For example, I can use Monasca as the monitor, IPMI or libvirt as fencers, open stack nova client as evacuator, python SMTP lib as the notifier, as long as I have the drivers for those software or libraries. Right now, there is only a limited number of supported drivers for monitors, fencers, evacuators, and notifiers but you can always easily write your own drivers to use the desired libraries or software. Below figure describes the workflow of Freezer-DR: (1) Freezer-DR monitors all the compute nodes (2) If it found any fail node, Freezer-DR will fenc...

Openstack Pike (deployed by Kolla-Ansible) can not delete instance from dashboard and how to fix

I's trying to delete an compute instance in an OpenStack environment deployed using Kolla-Ansible from the dashboard but helpless. The instance kept saying error... Then I have to do this workaround to delete it: directly from the database (MariaDB) 1. First login to the bash shell of the nova-compute instance: $ docker exec -it <id or name of the nova docker instance> /bin/bash 2. Go to mariadb console using the password generated when I ran kolla-ansible (/etc/kolla/passwords.yml): $ mysql -u root -p 3. Run these command to delete the instance: use nova; update instances set deleted_at = updated_at,  deleted = id,  power_state = 0,  vm_state = "deleted",  terminated_at = updated_at,  root_device_name = NULL,  task_state = NULL  where  deleted = 0; update instance_info_caches set deleted_at = updated_at, deleted = id where deleted = 0;