blob: 020baa1b20cf0b58cf9a72b7361c9a623a82cfcf [file] [log] [blame]
Daryl Walleck587385b2012-03-03 13:00:26 -06001[identity]
Jay Pipes3f981df2012-03-27 18:59:44 -04002# This section contains configuration options that a variety of Tempest
3# test clients use when authenticating with different user/tenant
4# combinations
5
chris fattarsi8ed39ac2012-04-30 14:11:27 -07006# The type of endpoint for a Identity service. Unless you have a
7# custom Keystone service catalog implementation, you probably want to leave
8# this value as "identity"
9catalog_type = identity
Jay Pipes3f981df2012-03-27 18:59:44 -040010# Set to True if your test environment's Keystone authentication service should
11# be accessed over HTTPS
12use_ssl = False
13# This is the main host address of the authentication service API
14host = 127.0.0.1
15# Port that the authentication service API is running on
16port = 5000
17# Version of the authentication service API (a string)
18api_version = v2.0
19# Path to the authentication service tokens resource (do not modify unless you
20# have a custom authentication API and are not using Keystone)
21path = tokens
22# Should typically be left as keystone unless you have a non-Keystone
23# authentication API service
24strategy = keystone
Daryl Walleck587385b2012-03-03 13:00:26 -060025
26[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040027# This section contains configuration options used when executing tests
28# against the OpenStack Compute API.
29
Jay Pipesf38eaac2012-06-21 13:37:35 -040030# Allows test cases to create/destroy tenants and users. This option
31# enables isolated test cases and better parallel execution,
32# but also requires that OpenStack Identity API admin credentials
33# are known.
34allow_tenant_isolation = true
35
Dan Smithd6ff6b72012-08-23 10:29:41 -070036# Allows test cases to create/destroy tenants and users. This option
37# enables isolated test cases and better parallel execution,
38# but also requires that OpenStack Identity API admin credentials
39# are known.
40allow_tenant_reuse = true
41
Jay Pipes3f981df2012-03-27 18:59:44 -040042# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040043username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040044# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040045password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040046# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040047tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040048
49# This should be the username of an alternate user WITHOUT
50# administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040051alt_username = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040052# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040053alt_password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040054# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040055alt_tenant_name = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040056
Daryl Walleck587385b2012-03-03 13:00:26 -060057# Reference data for tests. The ref and ref_alt should be
58# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040059image_ref = {$IMAGE_ID}
60image_ref_alt = {$IMAGE_ID_ALT}
61flavor_ref = 1
62flavor_ref_alt = 2
63
64# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070065# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040066build_interval = 10
67
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070068# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040069# to build or reach an expected status
70build_timeout = 600
71
Daryl Walleck6b9b2882012-04-08 21:43:39 -050072# Run additional tests that use SSH for instance validation?
73# This requires the instances be routable from the host
74# executing the tests
75run_ssh = false
76
77# Name of a user used to authenticated to an instance
78ssh_user = {$SSH_USER}
79
80# Network id used for SSH (public, private, etc)
81network_for_ssh = {$SSH_NETWORK}
82
83# IP version of the address used for SSH
84ip_version_for_ssh = {$SSH_IP_VERSION}
85
86# Number of seconds to wait to authenticate to an instance
87ssh_timeout = 300
88
Jay Pipes3f981df2012-03-27 18:59:44 -040089# The type of endpoint for a Compute API service. Unless you have a
90# custom Keystone service catalog implementation, you probably want to leave
91# this value as "compute"
92catalog_type = compute
93
94# Does the Compute API support creation of images?
95create_image_enabled = true
96
David Kranz30fe84a2012-03-20 16:25:47 -040097# For resize to work with libvirt/kvm, one of the following must be true:
98# Single node: allow_resize_to_same_host=True must be set in nova.conf
99# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400100resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600101
David Kranzf97d5fd2012-07-30 13:46:45 -0400102# Does the compute API support changing the admin password?
103change_password_available=true
104
David Kranz180fed12012-03-27 14:31:29 -0400105# Level to log Compute API request/response details.
106log_level = ERROR
107
Jay Pipes051075a2012-04-28 17:39:37 -0400108# Whitebox options for compute. Whitebox options enable the
109# whitebox test cases, which look at internal Nova database state,
110# SSH into VMs to check instance state, etc.
111
112# Should we run whitebox tests for Compute?
113whitebox_enabled = true
114
115# Path of nova source directory
116source_dir = /opt/stack/nova
117
118# Path of nova configuration file
119config_path = /etc/nova/nova.conf
120
121# Directory containing nova binaries such as nova-manage
122bin_dir = /usr/local/bin
123
124# Path to a private key file for SSH access to remote hosts
125path_to_private_key = /home/user/.ssh/id_rsa
126
127# Connection string to the database of Compute service
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700128db_uri = mysql://user:pass@localhost/nova
Jay Pipes051075a2012-04-28 17:39:37 -0400129
Mate Lakat99ee9142012-09-14 12:34:46 +0100130# Run live migration tests (requires 2 hosts)
131live_migration_available = false
132
133# Use block live migration (Otherwise, non-block migration will be
134# performed, which requires XenServer pools in case of using XS)
135use_block_migration_for_live_migration = false
136
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500137[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400138# This section contains configuration options used when executing tests
139# against the OpenStack Images API
140
Jay Pipesad6feca2012-04-30 15:10:18 -0400141# The type of endpoint for an Image API service. Unless you have a
142# custom Keystone service catalog implementation, you probably want to leave
143# this value as "image"
144catalog_type = image
145
146# The version of the OpenStack Images API to use
147api_version = 1
148
149# This is the main host address of the Image API
150host = 127.0.0.1
151
152# Port that the Image API is running on
153port = 9292
154
Jay Pipes3f981df2012-03-27 18:59:44 -0400155# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400156username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400157# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400158password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400159# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400160tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400161
162[compute-admin]
163# This section contains configuration options for an administrative
164# user of the Compute API. These options are used in tests that stress
165# the admin-only parts of the Compute API
166
167# This should be the username of a user WITH administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400168username = admin
Jay Pipes3f981df2012-03-27 18:59:44 -0400169# The above administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400170password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400171# The above administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400172tenant_name = admin
Unmesh Gurjar44986832012-05-08 19:57:10 +0530173
174[network]
175# This section contains configuration options used when executing tests
176# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700177
178# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530179api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700180# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530181catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400182
183[identity-admin]
184# This section contains configuration options for an administrative
185# user of the Compute API. These options are used in tests that stress
186# the admin-only parts of the Compute API
187
188# This should be the username of a user WITH administrative privileges
189username = admin
190# The above administrative user's password
191password = pass
192# The above administrative user's tenant name
193tenant_name = admin
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700194
195[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800196# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700197# against the OpenStack Block Storage API service
198
199# The type of endpoint for a Cinder or Block Storage API service.
200# Unless you have a custom Keystone service catalog implementation, you
201# probably want to leave this value as "volume"
202catalog_type = volume
203# Number of seconds to wait while looping to check the status of a
204# volume that is being made available
205build_interval = 10
206# Number of seconds to time out on waiting for a volume
207# to be available or reach an expected status
208build_timeout = 300
dwalleck5d734432012-10-04 01:11:47 -0500209
210[object-storage]
211# This section contains configuration options used when executing tests
212# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100213
214# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500215
216# The type of endpoint for an Object Storage API service. Unless you have a
217# custom Keystone service catalog implementation, you probably want to leave
218# this value as "object-store"
219catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200220
221[boto]
222# This section contains configuration options used when executing tests
223# with boto.
224
225# EC2 URL
226ec2_url = http://localhost:8773/services/Cloud
227# S3 URL
228s3_url = http://localhost:3333
229
230# Use keystone ec2-* command to get those values for your test user and tenant
231aws_access =
232aws_secret =
233
234#Region
235aws_region = RegionOne
236
237#Image materials for S3 upload
238# ALL content of the specified directory will be uploaded to S3
239s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.0
240
241# The manifest.xml files, must be in the s3_materials_path directory
242# Subdirectories not allowed!
243# The filenames will be used as a Keys in the S3 Buckets
244
245#ARI Ramdisk manifest. Must be in the above s3_materials_path
246ari_manifest = cirros-0.3.0-x86_64-initrd.manifest.xml
247
248#AMI Machine Image manifest. Must be in the above s3_materials_path
249ami_manifest = cirros-0.3.0-x86_64-blank.img.manifest.xml
250
251#AKI Kernel Image manifest, Must be in the above s3_materials_path
252aki_manifest = cirros-0.3.0-x86_64-vmlinuz.manifest.xml
253
254#Instance type
255instance_type = m1.tiny
256
257#TCP/IP connection timeout
258http_socket_timeout = 5
259
260# Status change wait timout
261build_timeout = 120
262
263# Status change wait interval
264build_interval = 1