Configuring Nova-compute with a QEMU Hypervisor emulation

Not all environments always have virtualization capabilities supported by the CPU, for example, test environments running the Nova Compute nodes on virtual machines. In such cases, we can configure Nova to use a QEMU virtualization hypervisor emulation. This significantly reduces the performance of virtual machine instances running with the QEMU hypervisor emulation, but allows you to run virtual machine instances without virtualization support by the CPU.

How to do it…

Follow these steps to configure Nova-compute with the QEMU emulation:

  1. Install QEMU and the libvirt packages:
    [root@compute1 ~]# yum install qemu libvirt libvirt-python libguestfs-tools
    
  2. Start and enable libvirt:
    [root@compute1 ...

Get Production Ready OpenStack - Recipes for Successful Environments now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.