From Fedora Project Wiki

Line 3: Line 3:
It can be useful to use these to sanity check your configuration.
It can be useful to use these to sanity check your configuration.


|setup=First off, you need the nova-adminclient python library which isn't yet packaged:
|setup=
You need these packages


$> sudo yum install python-nova-adminclient --enablerepo=updates-testing -y
  $> sudo yum install python-nose python-paramiko fedpkg python-nova-adminclient
 
You also need these packages
 
  $> sudo yum install python-nose python-paramiko fedpkg


Make sure you have a block of floating IPs created, also as described above.
Make sure you have a block of floating IPs created, also as described above.

Revision as of 15:10, 8 March 2012

Description

Nova comes with a selection of fairly basic smoke tests which you can run against your installation. It can be useful to use these to sanity check your configuration.

Setup

You need these packages

$> sudo yum install python-nose python-paramiko fedpkg python-nova-adminclient

Make sure you have a block of floating IPs created, also as described above.

How to test

Then, run the tests from a fedpkg checkout:

$> git clone git://pkgs.fedoraproject.org/openstack-nova.git
$> cd openstack-nova
$> git checkout f16
$> fedpkg prep
$> cd nova-2011.3/smoketests
$> python ./run_tests.py

Expected Results

Ensure all tests pass