Installing an OpenStack Compute (Nova) Development Snapshot (Austin release)
These instructions are for the Austin release of Nova, 2010.1. This release is still in development and has a bug: #668342 in nova "Austin released packaging error" [Undecided,New] https://launchpad.net/bugs/668342. So you may want to run the more recent code rather than the packaged release until this bug is fixed by referring to NovaInstall.
Ideally, you have root access to where you want to install and can use the install script on github rather than stepping through all the dependencies and configuration.
Please ask for assistance in the #openstack IRC channel if you want more information or run into problems.
Single Machine Installation
Step 1: Downloading the Nova packaged software
Download the released package at http://launchpad.net/nova/austin/2010.1/+download/nova-2010.1.tar.gz.
Extract the file to the server where you want to install and run Nova.
tar xvzf nova-2010.1.tar.gz
Step 2: Install dependencies
Nova requires rabbitmq for messaging and optionally you can use redis for storing state, so install these first.
Note: You must have sudo installed to run these commands as shown here.
sudo apt-get install rabbitmq-server redis-server
You'll see messages starting with "Reading package lists... Done" and you must confirm by typing Y that you want to continue.
If you're running on Ubuntu 10.04, you'll need to install Twisted and python-gflags which is included in the OpenStack PPA.
sudo apt-get install python-twisted sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 95C71FE2 sudo sh -c 'echo "deb http://ppa.launchpad.net/openstack/openstack-ppa/ubuntu lucid main" > /etc/apt/sources.list.d/openstackppa.list' sudo apt-get update && sudo apt-get install python-gflags
Step 3: Build and install Nova services
Switch to the directory where the Python files for Nova are extracted.
Type or copy/paste in the following line to compile the Python code for OpenStack Compute.
sudo python setup.py build sudo python setup.py install
When the installation is complete, you'll see the following lines:
Installing nova-network script to /usr/local/bin Installing nova-volume script to /usr/local/bin Installing nova-objectstore script to /usr/local/bin Installing nova-manage script to /usr/local/bin Installing nova-scheduler script to /usr/local/bin Installing nova-dhcpbridge script to /usr/local/bin Installing nova-compute script to /usr/local/bin Installing nova-instancemonitor script to /usr/local/bin Installing nova-api script to /usr/local/bin Installing nova-import-canonical-imagestore script to /usr/local/bin Installed /usr/local/lib/python2.6/dist-packages/nova-2010.1-py2.6.egg Processing dependencies for nova==2010.1 Finished processing dependencies for nova==2010.1
Next, refer to RunningNova for more information about getting images and starting instances.