How to Manually Install and Configure OpenStack Tempest
How to Manually Install and Configure OpenStack Tempest
http://fosshelp.blogspot.in/2014/02/how-to-manually-install-openstack.html
#mkdir tempest_test
#cd tempest_test
#git clone https://github.com/openstack/tempest.git
#git checkout stable/branch_you_need
3)
You will get dependency errors when running following commands
#nosetests -v tempest
4)
Create virtualenv and install all dependencies
#./run_tempest.sh
5)
Activate virtualenv
#ls -a
#source .venv/bin/activate
6)
Find command help
#nosetests -v tempest –help
7)
Stop running tests after the first error or failure (use -x or –stop option)
#nosetests -vx tempest
or
#nosetests -v tempest –stop
8)
ConfigFilesNotFoundError: Failed to read some config files: /etc/tempest/tempest.conf
=============Solution/Fix================
a)
Goto
#cd tempest_test/tempest/etc
#vim tempest.conf.sample
Read “tempest.conf.sample” file and understand different config options
b)
Copy tempest.conf.sample to /etc/tempest/tempest.conf
#sudo mkdir /etc/tempest
#sudo cp tempest.conf.sample /etc/tempest/tempest.conf
by Nucleus
openstack