Jump to: navigation, search


Revision as of 12:07, 16 September 2013 by Avishay Traeger (talk | contribs) (Hypervisor feature support matrix)

Compute Drivers

OpenStack Compute (Nova) has an abstraction layer for compute drivers. This is what allows you to choose which hypervisor(s) to use for your Nova deployment. The reality is that the support of each of the options is not equal. They are not tested the same amount. They also do not all support the same features. The purpose of this page is to describe the current support state of each compute driver in terms of testing and functionality.

Driver Testing Status

Group A

These drivers are fully supported. Test coverage includes:

  • unit tests that gate commits
  • functional testing that gate commits

Drivers in this group include:

  • libvirt (qemu/KVM on x86)

Group B

These drivers are in a bit of a middle ground. Test coverage includes:

  • unit tests that gate commits
  • functional testing providing by an external system that does not gate commits, but advises patch authors and reviewers of results in gerrit (the code review system).

Drivers in this group include:

  • XenAPI on x86

Group C

These drivers have minimal testing and may or may not work at any given time. Use them at your own risk. Test coverage includes:

  • (maybe) unit tests that gate commits
  • no public functional testing

Drivers in this group include.

  • baremetal
  • Hyper-V
  • libvirt (LXC, Xen)
  • powervm
  • VMware

Hypervisor feature support matrix

This is an attempt to help new users decide on a hypervisor based on features that can be controlled through compute.

Most OpenStack development is done with the KVM and XEN hypervisors. This means that (currently at least) you are more likely to find community support for issues with these hypervisors. All features that are currently supported in KVM are also supported in QEMU.

As far as the Xen hypervisor is concerned, it is worth noting the following definitions:

  • XenServer: Open Source but commercially supported product from Citrix (Free edition also available)
  • Xen Cloud Platform (XCP): Open-source equivalent of XenServer (and the development project for the toolstack). Everything said about XenServer below applies equally to XCP.
  • XenAPI: The management API exposed by XenServer and XCP.
  • XAPI: The primary daemon on XenServer and Xen Cloud Platform; the one that exposes the XenAPI.

Nova has support for XenServer and XCP through the XenAPI virt layer. Note that this does not imply support for other Xen-based platforms such as those shipped with RHEL 6 or SUSE, which is provided via the libvirt layer.

Please help keep this list up-to-date.

Legend: ✔ indicates support, ✗ indicates the feature is not supported, G indicates the feature will be added in Grizzly, * indicates there is a caveat to the functionality (caveats need to be documented!), and a blank cell generally indicates more testing is needed to make a judgment.

Feature XenServer/XCP KVM on x86 QEMU on x86 LXC ESXi/VC Hyper-V Baremetal PowerVM
Reboot ✔*(11)
Inject Networking ✔*(1)(2) ✔*(1) ✔*(1) ✔*
Inject File ✔* ✔* ✗*(6)
Serial Console Output ✔(4) ✔*
VNC Console ✔* ✔* ✔*
SPICE Console
Attach Volume
Detach Volume
Live Migration ✗ (10)
Fibre Channel
Set Admin Pass ✗*(6)
Get Guest Info
Get Host Info
Glance Integration
Service Control
VLAN Networking ✗*(7)
Flat Networking
Security Groups ✗*(9)
Firewall Rules
Routing ✗*(7)
nova diagnostics
Config Drive
Auto configure disk
Volume swap
Volume rate limiting
  1. Inject Networking only works with nova-network in Flat mode, and only with Debian/Ubuntu based virtual machines, and only at boot time
  2. XenServer integration also supports using a guest agent to inject networking settings, at any time when a VM has the guest agent installed, through an admin API extension
  3. (unused)
  4. XenAPI support for serial console was added in Havana
  5. (unsued)
  6. Functionality provided by cloudbase-init for windows http://www.cloudbase.it/cloud-init-for-windows-instances/
  7. Vlan and Routing is only supported on Hyper-V when using the Quantum Hyper-V Plugin; VlanManager mode is not supported with nova-network.
  8. Support of Xen using Libvirt
  9. Security Groups supported on VC/ESX Driver when using the Quantum NVP Plugin
  10. https://bugs.launchpad.net/nova/+bug/1192192
  11. The PowerVM driver currently only supports hard reboot.

Description of features

Auto configure disk

Automatically reconfigure the size of the partition to match the size of the flavor's root drive before booting.

nova diagnostics

The `nova diagnostics` command will provide some information about resource use associated with an instance. See the OpenStack Compute admin guide for more details.

Set Admin Pass

This feature is the use of a guest agent to change the administrative (root) password on an instance.

Known bugs, by hypervisor