How To Install openstack-cluster-installer-poc on Debian 10
Introduction
In this tutorial we learn how to install openstack-cluster-installer-poc on Debian 10.
What is openstack-cluster-installer-poc
openstack-cluster-installer-poc is:
OCI (OpenStack Cluster Installer) is a software to provision an OpenStack cluster automatically. This package install a provisioning machine, which consists of a DHCP server, a PXE boot server, and a puppet-master.
Once computers in the cluster boot for the first time, a Debian live system is served by OCI, to act as a discovery image. This live system then reports the hardware features back to OCI. The computers can then be installed with Debian from that live system, configured with a puppet-agent that will connect to the puppet-master of OCI. OpenStack is then provisionned in these machines.
All of this is managed through a web interface or through the CLI.
This package installs a PoC (Proof of Concept) server running VMs to test, contribute and debug OCI. Note that you need at least 80 GB of RAM to run it, as it will provision 8 nodes, with 2 nodes for each role: controller, computes, volume and network, plus the OCI node.
There are three methods to install openstack-cluster-installer-poc on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install openstack-cluster-installer-poc Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install openstack-cluster-installer-poc using apt-get by running the following command:
sudo apt-get -y install openstack-cluster-installer-poc
Install openstack-cluster-installer-poc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install openstack-cluster-installer-poc using apt by running the following command:
sudo apt -y install openstack-cluster-installer-poc
Install openstack-cluster-installer-poc Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install openstack-cluster-installer-poc using aptitude by running the following command:
sudo aptitude -y install openstack-cluster-installer-poc
How To Uninstall openstack-cluster-installer-poc on Debian 10
To uninstall only the openstack-cluster-installer-poc package we can use the following command:
sudo apt-get remove openstack-cluster-installer-poc
Uninstall openstack-cluster-installer-poc And Its Dependencies
To uninstall openstack-cluster-installer-poc and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove openstack-cluster-installer-poc
Remove openstack-cluster-installer-poc Configurations and Data
To remove openstack-cluster-installer-poc configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge openstack-cluster-installer-poc
Remove openstack-cluster-installer-poc configuration, data, and all of its dependencies
We can use the following command to remove openstack-cluster-installer-poc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge openstack-cluster-installer-poc
Dependencies
openstack-cluster-installer-poc have the following dependencies:
- bridge-utils
- curl
- ipcalc
- jq
- lsb-base
- net-tools
- openipmi
- openstack-debian-images
- openstack-pkg-tools
- qemu
- qemu-utils
References
Summary
In this tutorial we learn how to install openstack-cluster-installer-poc package on Debian 10 using different package management tools: apt, apt-get and aptitude.