OpenStack devstack

From FedoraProject

Revision as of 21:17, 21 March 2012 by Russellb (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Devstack is a script used primarily for upstream OpenStack development. This wiki page documents usage information for devstack on Fedora.


Getting Devstack for Fedora

Devstack does not currently officially support Fedora. However, there is a patch that adds support for Fedora 16 which you can find here. Optionally, you can grab a version from github that includes support for using Qpid as the messaging system instead of RabbitMq: russellb's github repo.

In either case, start by clong the upstream devstack repo.

 $ git clone git://

Using the patch from gerrit

Go to the gerrit page for the patch and find the Download section. It will provide a git command to use to get the latest version of the patch.

Using russellb's github repo

 $ git remote add russellb git://
 $ git remote update
 $ git checkout -b fedora-support russellb/fedora-support

Initial Setup

Devstack allows you to create a localrc file with settings specific to your environment. Creating this file isn't strictly necessary, but it's likely you'll want to use it at some point. Here are some options commonly used that are worth noting:

    • Set this option if you are using the version from russellb's github repo and would like to use Qpid instead of RabbitMQ.
    • By default, devstack assumes your primary network interface is eth0. Set this option if it's something else, like em1.

For a list of other variables that can be specified, including ones that allow you specify custom git repos and branches to use for testing, see the stackrc file.

Running Devstack

Note that this script expects to be run as non-root, but with sudo access. If you run the script as root, it will automatically create a new user.
$ ./