Skip to content

3. GPUs in OpenStack

Note

Being written. This page says what the step will hold. It reads OpenStack 2026.1 (Nova 33.0.2, Kolla-Ansible 22.2.0), with a box on what changes in 2026.2 (Sources).

In one minute. A GPU can reach a virtual machine in four ways, and Nova sees each one differently. This step explains the four, then how to configure, schedule, migrate and maintain GPU instances with Nova and Kolla-Ansible.

What this step will hold

Page What you will understand
How a GPU reaches a guest Full passthrough, vGPU through mediated devices, vGPU through SR-IOV virtual functions, MIG-backed vGPU: what the host, the guest and Nova each see.
PCI passthrough in Nova IOMMU, device specifications, aliases, flavors, NUMA affinity, tracking in Placement.
Virtual GPUs in Nova vGPU types, one resource provider per physical GPU, the limits of SR-IOV GPUs.
Scheduling and capacity Placement, traits and flavors; why a "free" host refuses an instance; keeping GPU hosts for GPU instances.
Configure with Kolla-Ansible What stays on the host (driver, licence), what goes in the containers, configuration per group of hosts.
Lifecycle of a GPU instance Live and cold migration, resize, evacuation, and draining a GPU host for maintenance.
Choose for the context A decision path: share or dedicate, migrate or not, with three scenarios.
Cyborg or Nova alone What Cyborg adds, what OpenStack 2026.2 changes, and when it is worth it.

Previous step: 2. The hardware. Next step: 4. Run AI on OpenStack.