Skip to content

Commit 3a4ad51

Browse files
author
Isaac Karrer
committed
Include documentation on Tempest configuration
1 parent a234cd0 commit 3a4ad51

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

tempest.md

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Install Prerequisites
2+
3+
- sudo apt-get install libffi-dev
4+
- sudo apt-get install libxml2-dev libxslt1-dev
5+
# Clone the Tempest Git Repository
6+
The Tempest source MUST be inside the Jumpgate source directory.
7+
Change directory into the Jumpgate source directory, then do
8+
- sudo git clone https://github.com/openstack/tempest
9+
10+
# Install Tempest Requirements
11+
Change directory into the Tempest source directory, then do
12+
- sudo pip install -r requirements.txt
13+
14+
# Configure Tempest
15+
Change directory into the Jumpgate source directory.
16+
- sudo cp etc/tempest.conf.sample etc/tempest.conf
17+
Now edit etc/tempest.conf
18+
19+
## URL for OpenStack Identity API endpoint
20+
These do not need to be changed unless you configured Jumpgate ( /etc/jumpgate/jumpgate.conf ) to respond to a different IP address or port
21+
22+
uri = http://127.0.0.1:5000/v2.0/
23+
24+
uri_v3 = http://127.0.0.1:5000/v3/
25+
26+
## Identity Users
27+
The user information will be the same as used from the testing nova section from Installing Jumpgate.
28+
29+
Same value as OS_USERNAME, your SoftLayer username
30+
31+
username =
32+
33+
Same value as OS_PASSWORD, your SoftLayer API key
34+
35+
password =
36+
37+
Same value as OS_TENANT_ID, your SoftLayer account id
38+
39+
tenant_name =
40+
41+
42+
The Admin user will have the same values as the user above.
43+
44+
admin_username =
45+
46+
admin_password =
47+
48+
admin\_tenant\_name =
49+
50+
## Image Refs
51+
The image refs need values. These values are UUIDs of public images in SoftLayer. You can use the values below or choose your own by using the SoftLayer CLI, 'sl image list --public'.
52+
53+
image_ref = 54f4ed9f-f7e6-4fe6-8b54-3a7faacd82b3
54+
55+
image\_ref\_alt = c27eb0ad-bddd-44c7-a37a-e3ddbbfed277
56+
57+
## Networking
58+
Some things have changed in the tempest.conf.sample from the Tempest project. In order for networking to work properly, change these values to EMPTY.
59+
60+
public\_network\_id = {$PUBLIC_NETWORK_ID}
61+
62+
public\_router\_id = {$PUBLIC_ROUTER_ID}
63+
64+
Like so
65+
66+
public\_network\_id =
67+
68+
public\_router\_id =
69+
70+
DO NOT CHANGE ANY OTHER VALUES
71+
72+
73+
74+
From the Jumpgate source directory, execute the following
75+
python run\_tempest\_tests.py
76+
You will see output in the terminal. Also a tempest.log file will be created in the tempest directory.
77+
If everything worked properly, you should see some new instances created in your SoftLayer account.
78+
79+
# Known Issues
80+
Tempest is still not working correctly as it should clean up its mess ( delete the test instances ) when it is done.
81+

0 commit comments

Comments
 (0)