How To Install openstack-cluster-installer on Debian 11
Introduction
In this tutorial we learn how to install openstack-cluster-installer
on Debian 11.
What is openstack-cluster-installer
openstack-cluster-installer is:
OCI (OpenStack Cluster Installer) is a software to provision an OpenStack clusters automatically. This package installs a provisioning machine, which uses the below components:
- a DHCP server (isc-dhcp-server)
- a PXE boot server (tftp-hpa)
- a web server (apache2)
- a puppet-master
Once computers in the cluster boot for the first time, a Debian live system is served by OCI over PXE, to act as a discovery image. This live system then reports the hardware features back to OCI. 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. After Debian is installed, the server reboots, and OpenStack services are provisionned, depending on the server role in the cluster.
OCI is fully packaged in Debian, including all of the Puppet modules. After installing the OCI package and its dependencies, no other artificat needs to be installed on your provisioning server, meaning that if a local debian mirror is available, the OpenStack cluster installation can be done completely offline.
This package contains the provisionning server.
There are three methods to install openstack-cluster-installer
on Debian 11. 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 Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install openstack-cluster-installer
using apt-get
by running the following command:
Install openstack-cluster-installer Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install openstack-cluster-installer
using apt
by running the following command:
Install openstack-cluster-installer 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.
After updating apt database, We can install openstack-cluster-installer
using aptitude
by running the following command:
How To Uninstall openstack-cluster-installer on Debian 11
To uninstall only the openstack-cluster-installer
package we can use the following command:
Uninstall openstack-cluster-installer And Its Dependencies
To uninstall openstack-cluster-installer
and its dependencies that are no longer needed by Debian 11, we can use the command below:
Remove openstack-cluster-installer Configurations and Data
To remove openstack-cluster-installer
configuration and data from Debian 11 we can use the following command:
Remove openstack-cluster-installer configuration, data, and all of its dependencies
We can use the following command to remove openstack-cluster-installer
configurations, data and all of its dependencies, we can use the following command:
Dependencies
openstack-cluster-installer have the following dependencies:
- adduser
- apache2
- apache2-utils
- bind9
- bind9-host
- bind9utils
- bridge-utils
- ceph-common
- curl
- dbconfig-common
- default-mysql-server
- ipcalc
- ipmitool
- isc-dhcp-server
- jq
- live-build
- lsb-base
- net-tools
- openstack-debian-images
- openstack-cluster-installer-cli
- openstack-pkg-tools
- openstack-puppet-modules
- php
- php-cli
- php-mysql
- php-radius
- php-ssh2
- puppet-master
- puppet-module-heini-wait-for
- puppet-module-icann-quagga
- puppet-module-oci
- puppet-module-puppetlabs-firewall
- pxelinux
- qemu-utils
- sudo
- swift
- tftpd-hpa
- debconf
References
Summary
In this tutorial we learn how to install openstack-cluster-installer
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.