Description

Setup

Make sure the nbd kernel module is loaded so that injecting SSH key files into the filesystem on the qcow2 image works:

$> sudo modprobe nbd

OpenStack in a Virtual Machine

If you are not testing OpenStack in a virtual machine, you may skip this section of the setup.

If you are testing OpenStack in a virtual machine, everything will have worked up to this point. However, launching an instance will fail unless you set an additional configuration option. Edit /etc/nova/nova.conf and add the following text to a new line in the configuration file:

--libvirt_type=qemu

After adding this item, you will need to restart the OpenStack services.