Custom Search

Monday, February 24, 2014

How to Test OpenStack Deployment With Tempest - Scenario Tests

How to Manually Install OpenStack Tempest
============================
http://fosshelp.blogspot.com/2014/02/how-to-manually-install-openstack.html


1)
Minimum Config

Comment all other config under the "[identity]" section and use default value for that.
#sudo vim /etc/tempest/tempest.conf
[identity]
uri=http://127.0.0.1:5000/v2.0/
password=openstack
admin_password=openstack


2)
a)
#nosetests -vx tempest.scenario.test_minimum_basic:TestMinimumBasicScenario.nova_keypair_add

b)
#nosetests -vx tempest.scenario.test_dashboard_basic_ops
#nosetests -vxl tempest.scenario.test_dashboard_basic_ops

Additional config
#sudo vim /etc/tempest/tempest.conf
[DEFAULT]
lock_path=/tmp

[compute]
image_ref=c6942e06-2ad5-4ff6-877b-1652f85d93e8
image_ref_alt=c6942e06-2ad5-4ff6-877b-1652f85d93e8

[compute-admin]
password=openstack

3)
-vxl 
x ---> Stop running tests after the first error or failure
l ---> Run test in Debug mode: So we can see better error message

No comments:

Post a Comment