OpenStack Ansible Installation
I believe this is the installation where we can start exploring OpenStack and understanding the components.
OpenStack Ansible installation can be used for testing environments by installing in all-in-one mode or in a production environment but in a more advanced installation. In our project, we'll create only one machine that will be responsible for all necessary resources, that is, in all-in-one mode.
The documentation is at this link https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/
In the recommendations, there are several possible operating systems, but we'll use Ubuntu 22.04 LTS, but we could use Rocky Linux 9 if that's your preference. SSH client and Python 3.10 are required.
You need to have VirtualBox which will be our provisioner and Vagrant which will configure the VM.
sudo apt-get install virtualbox
We'll launch a virtual machine using Vagrant, and for this, we need Vagrant installed and VirtualBox to be the Vagrant provisioner.
Vagrant.require_version ">= 2.4.0"
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/jammy64"
config.vm.hostname = "devstack"
# Change your network interface
config.vagrant.plugins = "vagrant-disksize"
config.disksize.size = '60GB'
config.vm.network "public_network", bridge: "wlp0s20f3"
config.vm.provider "virtualbox" do |vb|
vb.name = "devstack"
vb.memory = 10240
vb.cpus = 10
end
config.vm.provision "shell", path: "bootstrap-devstack.sh"
end