To get hands-on with OpenStack, you need a cloud to practise on. This post installs the latest OpenStack, 2026.2 (Hibiscus), on a single virtual machine (VM) on your PC following the official Kolla-Ansible Quick Start, then launches a first instance and logs in to the web dashboard (Horizon).
If OpenStack's architecture and service names are new to you, read Getting Started with OpenStack first. The commands and settings here follow the official 2026.2 documentation.
Which version should you install?
OpenStack ships a new release every six months. As of December 2026 the status is:
| Version | Name | First released | Status |
|---|---|---|---|
| 2027.1 | Indri | Expected March 2027 | In development |
| 2026.2 | Hibiscus | 2026-09-30 | Maintained (latest) |
| 2026.1 | Gazpacho | 2026-04-01 | Maintained, SLURP |
| 2025.2 | Flamingo | 2025-10-01 | Maintained |
| 2025.1 | Epoxy | 2025-04-02 | Unmaintained |
A SLURP release comes once a year, and production clouds can upgrade from one SLURP to the next, skipping the release in between. For a lab, use the newest, 2026.2. Older material often installs with Packstack on CentOS 7, but CentOS 7 reached end of life on 30 June 2024, so use such material for concepts only.
Which installation tool should you choose?
OpenStack has many services, and installing them one by one by hand takes a day. So people usually use a deployment tool.
| Tool | How it works | Good for |
|---|---|---|
| Kolla-Ansible | Runs each service in a Docker container and deploys with Ansible | Labs through production. Has an official all-in-one guide |
| DevStack | Pulls source code and installs with shell scripts | Developing OpenStack itself |
| OpenStack-Ansible | Installs with Ansible (in LXC containers or directly on hosts) | Production |
| Manual install | Follow the official Installation Guide service by service | Understanding each service's configuration in depth |
This series uses Kolla-Ansible. Because services are split into containers, it is easy to tear down and reinstall, and the same tool carries you on to multi-node setups later. If Ansible is new to you, see Getting Started with Ansible; for Docker, see Getting Started with Docker.
Lab layout

VM specs
The official minimum is two NICs, 8 GB of memory and 40 GB of disk. If you want to run several instances, give it more memory and disk than that.
| Item | Value | Why |
|---|---|---|
| OS | Ubuntu 24.04 LTS (server) | Supported on 2026.2: Ubuntu 24.04, Rocky Linux 10, Debian 13. The official docs recommend Ubuntu 24.04 or Rocky Linux 10 for newcomers |
| vCPU | 4 or more | Dozens of service containers run |
| Memory | 8 GB or more | Official minimum |
| Disk | 40 GB or more | Holds container images and instance disks |
| NIC 1 | NAT network, static IP | Management. network_interface |
| NIC 2 | Same NAT network, no IP | External. neutron_external_interface |
This post assumes the NAT network is 192.168.100.0/24 with gateway 192.168.100.2. Check the real range and gateway in your virtualization software's network settings and substitute them.
Enable nested virtualization
OpenStack instances run as VMs inside this VM. So you need to enable nested virtualization in the VM settings to use KVM acceleration.
- VMware Workstation: VM settings → Processors → Virtualize Intel VT-x/EPT or AMD-V/RVI
- VirtualBox: System → Processor → Enable Nested VT-x/AMD-V
- Linux KVM: enable nested virtualization on the host and set the VM's CPU mode to
host-passthrough(see KVM Virtualization in Practice)
After installing Ubuntu, check inside the VM:
grep -cE 'vmx|svm' /proc/cpuinfo
# 1 or more: KVM acceleration works; 0: set qemu in globals.yml below
For Floating IP traffic to pass through NIC 2, the virtualization software must also let through packets with other MAC addresses on that NIC. In VirtualBox, set NIC 2's Promiscuous Mode to "Allow All".
Bring NIC 2 up without an IP
Check interface names with ip -br link. Below is a netplan config where NIC 1 is ens33 and NIC 2 is ens34.
# /etc/netplan/50-cloud-init.yaml (the file name may differ depending on how you installed)
network:
version: 2
ethernets:
ens33:
dhcp4: false
addresses: [192.168.100.10/24]
routes:
- to: default
via: 192.168.100.2
nameservers:
addresses: [8.8.8.8]
ens34:
dhcp4: false
dhcp6: false
sudo netplan apply
ip -br addr # ens34 must have no IPv4 address
The installation steps at a glance

1. Install Kolla-Ansible
Run everything inside the VM as a regular user with sudo rights.
# Packages needed to build
sudo apt update
sudo apt install -y git python3-dev python3-venv libffi-dev gcc libssl-dev libdbus-glib-1-dev
# Python virtual environment
python3 -m venv ~/kolla-venv
source ~/kolla-venv/bin/activate
pip install -U pip
# Kolla-Ansible for 2026.2
pip install git+https://opendev.org/openstack/kolla-ansible@stable/2026.2
Create the configuration directory and copy the example files.
sudo mkdir -p /etc/kolla
sudo chown $USER:$USER /etc/kolla
cp -r ~/kolla-venv/share/kolla-ansible/etc_examples/kolla/* /etc/kolla
cp ~/kolla-venv/share/kolla-ansible/ansible/inventory/all-in-one ~/
kolla-ansible install-deps # install the required Ansible Galaxy modules
kolla-genpwd # fill every empty password in /etc/kolla/passwords.yml
/etc/kolla now holds globals.yml (deployment settings) and passwords.yml (service passwords). passwords.yml contains the admin password, so do not share it.
2. Configure globals.yml
Almost every line of /etc/kolla/globals.yml is commented out. Uncomment only the lines you need and set values.
kolla_base_distro: "ubuntu"
network_interface: "ens33" # NIC 1, management, has an IP
neutron_external_interface: "ens34" # NIC 2, external, no IP
kolla_internal_vip_address: "192.168.100.250"
nova_compute_virt_type: "kvm" # "qemu" if nested virtualization is unavailable
| Setting | Meaning |
|---|---|
kolla_base_distro |
Base OS of the container images: ubuntu, rocky or debian |
network_interface |
Interface for APIs and traffic between services. Must have an IP |
neutron_external_interface |
Interface Neutron plugs directly into the external bridge. Leave it without an IP |
kolla_internal_vip_address |
Virtual IP used by the APIs and Horizon. Must be an address nobody else uses on the management network |
nova_compute_virt_type |
kvm (hardware acceleration) or qemu (software emulation, slow) |
Keepalived adds the VIP to NIC 1, and HAProxy spreads requests arriving at that address across the services. On a single-node lab you can also turn HAProxy off and set the VIP to NIC 1's own IP (enable_haproxy: "no"). This post uses a separate VIP, as the official Quick Start does.
Keystone, Nova, Neutron, Glance, Heat and Horizon are on by default, while services such as Cinder (block storage) and Octavia (load balancing) are off. You can turn them on with lines like enable_cinder: "yes"; later posts cover them one by one.
3. Deploy
From your home directory, where the inventory file is, run three steps in order.
cd ~
kolla-ansible bootstrap-servers -i ./all-in-one # prepare the host (Docker etc.)
kolla-ansible prechecks -i ./all-in-one # pre-deployment checks
kolla-ansible deploy -i ./all-in-one # the actual deployment
deploy takes quite a while because it downloads every service image. When it finishes, check that the containers are running.
sudo docker ps --format '{{.Names}}\t{{.Status}}' | sort | head -20
If names such as keystone, nova_api, neutron_server, glance_api and horizon show Up, it worked. If it fails, read the last TASK name and the error on screen, fix the cause and run deploy again. Steps that already finished are skipped.
4. Get ready to work as admin
# OpenStack command-line client (using the constraints file for 2026.2)
pip install python-openstackclient -c https://releases.openstack.org/constraints/upper/2026.2
# Generate clouds.yaml with the admin credentials
kolla-ansible post-deploy
mkdir -p ~/.config/openstack
cp /etc/kolla/clouds.yaml ~/.config/openstack/
export OS_CLOUD=kolla-admin
clouds.yaml holds the admin account under the name kolla-admin. With OS_CLOUD set, later openstack commands run as that account.
openstack service list # registered services
openstack compute service list # are nova-scheduler, nova-compute etc. up?
openstack network agent list # are all Neutron agents :-)?
5. Launch your first instance
Kolla-Ansible ships an init-runonce script that creates demo resources in one go: the CirrOS test image, demo-net (10.0.0.0/24), the external network public1, demo-router, flavors such as m1.tiny, and the SSH key mykey. It also opens ping and SSH in the default security group.
The external network defaults to 10.0.2.0/24, so override it with environment variables to match this lab's NAT network. Pick a Floating IP range that does not overlap the NAT network's DHCP range.
EXT_NET_CIDR='192.168.100.0/24' \
EXT_NET_RANGE='start=192.168.100.200,end=192.168.100.229' \
EXT_NET_GATEWAY='192.168.100.2' \
~/kolla-venv/share/kolla-ansible/init-runonce
As the official docs warn, this script is for demos only. It can clash with resources you created yourself, so run it once, right after a fresh install. When it finishes, create an instance and attach a Floating IP.
openstack server create --image cirros --flavor m1.tiny \
--key-name mykey --network demo-net demo1
openstack server list # wait until STATUS is ACTIVE
openstack floating ip create public1 # get one 192.168.100.2xx address
openstack server add floating ip demo1 192.168.100.2xx
Replace 192.168.100.2xx with the address you actually got. Now connect from inside the VM or from your PC.
ping -c 3 192.168.100.2xx
ssh -i ~/.ssh/id_ecdsa cirros@192.168.100.2xx
The key created by init-runonce is ~/.ssh/id_ecdsa. To connect from your PC, copy this key there.
Log in to the web dashboard (Horizon)
In your PC's browser, open http://192.168.100.250 (the VIP). The user name is admin; find the password on the VM like this:
grep keystone_admin_password /etc/kolla/passwords.yml
After logging in, Project → Compute → Instances shows the demo1 you just created, and Network → Network Topology draws how demo-net, demo-router and public1 connect.
Common sticking points
| Symptom | Cause and fix |
|---|---|
Interface error in prechecks |
The interface names in globals.yml do not match. Check again with ip -br link |
| VIP errors, Horizon unreachable | Another device uses the VIP. Change it to a free address on the management network and rerun deploy |
Instance in ERROR, KVM errors in the logs |
Nested virtualization is off. Enable it in the VM settings, or set nova_compute_virt_type: "qemu" and deploy |
Instance is ACTIVE but the Floating IP does not answer ping |
NIC 2 has an IP, the virtualization software blocks other MACs on NIC 2 (promiscuous mode), or the Floating IP range is not in the NAT network |
| After powering the VM off and on, the DB container keeps restarting | The MariaDB cluster stopped because every node went down at once. Run kolla-ansible mariadb-recovery -i ./all-in-one |
| Disk full | Container images are large. Grow the VM disk or remove unused images with sudo docker image prune |
To start over, kolla-ansible destroy -i ./all-in-one --yes-i-really-really-mean-it removes all containers and data. It cannot be undone, so use it only on a lab VM.
Summary
- The latest OpenStack is 2026.2 Hibiscus. Install Kolla-Ansible from the
stable/2026.2branch to match. - The lab VM needs two NICs (one without an IP), 8 GB of memory and 40 GB of disk or more, with nested virtualization enabled. Supported OSes are Ubuntu 24.04, Rocky Linux 10 and Debian 13.
- The install order is kolla-ansible in a venv → globals.yml → bootstrap-servers → prechecks → deploy → post-deploy.
init-runoncecreates demo resources, and handing out Floating IPs from the NAT network lets you reach instances directly from your PC.- From the next post on, this environment is used to work through Keystone (projects and users), Neutron (networks and security groups), Glance and Nova one at a time.
Further reading
- Getting Started with OpenStack: Architecture, Core Services and Node Layout
- KVM Virtualization in Practice: Installation, Bridged Networking and Disk Management
- Getting Started with Ansible: Keeping Dozens of Servers in the Same State
- Getting Started with Docker: Concepts, Commands, Dockerfile and Compose
- Kolla-Ansible 2026.2 Quick Start (official docs)
- Kolla-Ansible supported operating systems
- OpenStack release schedule
OpenStack (2 posts)
- Getting Started with OpenStack: Architecture, Core Services and Node Layout
- All-in-One Install with Kolla-Ansible Reading now
Leave a Reply