![]() Deploy OpenStack using DevStack on Ubuntu 22.04/Ubuntu 20.04 You can check the sample nf configuration file under the devstack/samples/ directory. In its simplest setup, the above configurations are enough to get you started with the deployment of single node OpenStack for a proof of concept on Ubuntu 22.04 or Ubuntu 20.04. Similarly, define the OpenStack Host IP address HOST_IP=192.168.56.124Ĭhange that to your system IP that will allow you to access OpenStack. Note that we used same password for all those services in this example setup. Thus, navigate to the devstack Github repository directory cd devstack vim nfĮnter the settings below, and update the value of each variable to your preferred password ] If you do not define these passwords, you will be prompted by the installer to enter them during the installation of OpenStack. These passwords need to be defined on the nf file under the root directory of the DevStack repository. To begin with, you need to create to define/create passwords for some OpenStack services such Horizon, database, RabbitMQ and services password. Switch to deployment user created above and clone the DevStack Github repository which contains a script that installs OpenStack and templates for configuration files sudo -u cloud-admin -i git clone ls -1 devstack clean.shĬonfigure DevStack for OpenStack Deployment Give the user passwordless sudo rights sudo visudo -f /etc/sudoers.d/cloud-adminĮnter the line below cloud-admin ALL = NOPASSWD: ALL To create a user account, run the command below sudo useradd -m -s /bin/bash cloud-admin ![]() To deploy OpenStack using DevStack, you need to optionally have a standard user account, with passwordless sudo rights on your system. Once the system is up, you can update the system package repos sudo apt update -y sudo apt upgrade -y & sudo systemctl reboot -i Create an Optional Deployment User In this tutorial, we are using Ubuntu 22.04/20.04 servers running on VirtualBox. You need deploy a minimal version of the Linux system you want to deploy OpenStack on since DevStack will install all the required packages. Of course if you have the capability to use more, please do! Item Specifics Linux System Minimal Ubuntu 22.04/20.04 VM running on VirtualBox Processors 4 vCPUs RAM 8 GB Disk 50 GB Internet Access Yes Install Minimal Linux System In order to deploy OpenStack using DevStack on Ubuntu 22.04/Ubuntu 20.04, below are our system resources assigned to the vms. DevStack is a set of scripts and utilities to quickly deploy an OpenStack cloud from git source trees. We will use DevStack to deploy a single node OpenStack on Ubuntu 22.04/Ubuntu 20.04. Such include Ansible-kolla, openstack-ansible e.t.c. ![]() There are different methods/tools that you can use to deploy OpenStack. In this tutorial, you will learn how to deploy OpenStack using DevStack on Ubuntu 22.04/Ubuntu 20.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |