blob: 3cbe1b5bb1c3ba2d1c6c078a5ff423f3d61b1179 [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
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080025# The identity region
26region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060027
28[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040029# This section contains configuration options used when executing tests
30# against the OpenStack Compute API.
31
Jay Pipesf38eaac2012-06-21 13:37:35 -040032# Allows test cases to create/destroy tenants and users. This option
33# enables isolated test cases and better parallel execution,
34# but also requires that OpenStack Identity API admin credentials
35# are known.
36allow_tenant_isolation = true
37
Dan Smithd6ff6b72012-08-23 10:29:41 -070038# Allows test cases to create/destroy tenants and users. This option
39# enables isolated test cases and better parallel execution,
40# but also requires that OpenStack Identity API admin credentials
41# are known.
42allow_tenant_reuse = true
43
Jay Pipes3f981df2012-03-27 18:59:44 -040044# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040045username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040046# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040047password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040048# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040049tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040050
51# This should be the username of an alternate user WITHOUT
52# administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040053alt_username = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040054# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040055alt_password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040056# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040057alt_tenant_name = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040058
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080059# The compute region
60region = RegionOne
61
Daryl Walleck587385b2012-03-03 13:00:26 -060062# Reference data for tests. The ref and ref_alt should be
63# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040064image_ref = {$IMAGE_ID}
65image_ref_alt = {$IMAGE_ID_ALT}
66flavor_ref = 1
67flavor_ref_alt = 2
68
69# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070070# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040071build_interval = 10
72
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070073# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040074# to build or reach an expected status
75build_timeout = 600
76
Daryl Walleck6b9b2882012-04-08 21:43:39 -050077# Run additional tests that use SSH for instance validation?
78# This requires the instances be routable from the host
79# executing the tests
80run_ssh = false
81
82# Name of a user used to authenticated to an instance
83ssh_user = {$SSH_USER}
84
85# Network id used for SSH (public, private, etc)
86network_for_ssh = {$SSH_NETWORK}
87
88# IP version of the address used for SSH
89ip_version_for_ssh = {$SSH_IP_VERSION}
90
91# Number of seconds to wait to authenticate to an instance
92ssh_timeout = 300
93
Jay Pipes3f981df2012-03-27 18:59:44 -040094# The type of endpoint for a Compute API service. Unless you have a
95# custom Keystone service catalog implementation, you probably want to leave
96# this value as "compute"
97catalog_type = compute
98
99# Does the Compute API support creation of images?
100create_image_enabled = true
101
David Kranz30fe84a2012-03-20 16:25:47 -0400102# For resize to work with libvirt/kvm, one of the following must be true:
103# Single node: allow_resize_to_same_host=True must be set in nova.conf
104# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400105resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600106
David Kranzf97d5fd2012-07-30 13:46:45 -0400107# Does the compute API support changing the admin password?
108change_password_available=true
109
David Kranz180fed12012-03-27 14:31:29 -0400110# Level to log Compute API request/response details.
111log_level = ERROR
112
Jay Pipes051075a2012-04-28 17:39:37 -0400113# Whitebox options for compute. Whitebox options enable the
114# whitebox test cases, which look at internal Nova database state,
115# SSH into VMs to check instance state, etc.
116
117# Should we run whitebox tests for Compute?
118whitebox_enabled = true
119
120# Path of nova source directory
121source_dir = /opt/stack/nova
122
123# Path of nova configuration file
124config_path = /etc/nova/nova.conf
125
126# Directory containing nova binaries such as nova-manage
127bin_dir = /usr/local/bin
128
129# Path to a private key file for SSH access to remote hosts
130path_to_private_key = /home/user/.ssh/id_rsa
131
132# Connection string to the database of Compute service
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700133db_uri = mysql://user:pass@localhost/nova
Jay Pipes051075a2012-04-28 17:39:37 -0400134
Mate Lakat99ee9142012-09-14 12:34:46 +0100135# Run live migration tests (requires 2 hosts)
136live_migration_available = false
137
138# Use block live migration (Otherwise, non-block migration will be
139# performed, which requires XenServer pools in case of using XS)
140use_block_migration_for_live_migration = false
141
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000142# By default, rely on the status of the diskConfig extension to
143# decide if to execute disk config tests. When set to false, tests
144# are forced to skip, regardless of the extension status
145disk_config_enabled_override = true
146
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500147[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400148# This section contains configuration options used when executing tests
149# against the OpenStack Images API
150
Jay Pipesad6feca2012-04-30 15:10:18 -0400151# The type of endpoint for an Image API service. Unless you have a
152# custom Keystone service catalog implementation, you probably want to leave
153# this value as "image"
154catalog_type = image
155
156# The version of the OpenStack Images API to use
157api_version = 1
158
159# This is the main host address of the Image API
160host = 127.0.0.1
161
162# Port that the Image API is running on
163port = 9292
164
Jay Pipes3f981df2012-03-27 18:59:44 -0400165# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400166username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400167# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400168password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400169# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400170tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400171
172[compute-admin]
173# This section contains configuration options for an administrative
174# user of the Compute API. These options are used in tests that stress
175# the admin-only parts of the Compute API
176
177# This should be the username of a user WITH administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400178username = admin
Jay Pipes3f981df2012-03-27 18:59:44 -0400179# The above administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400180password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400181# The above administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400182tenant_name = admin
Unmesh Gurjar44986832012-05-08 19:57:10 +0530183
184[network]
185# This section contains configuration options used when executing tests
186# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700187
188# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530189api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700190# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530191catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400192
Maru Newby81f07a02012-09-05 20:21:19 -0700193# This should be the username of a user WITHOUT administrative privileges
194username = demo
195# The above non-administrative user's password
196password = pass
197# The above non-administrative user's tenant name
198tenant_name = demo
199
200# A large private cidr block from which to allocate smaller blocks for
201# tenant networks.
202tenant_network_cidr = 10.100.0.0/16
203
204# The mask bits used to partition the tenant block.
205tenant_network_mask_bits = 29
206
207# If tenant networks are reachable, connectivity checks will be
208# performed directly against addresses on those networks.
209tenant_networks_reachable = false
210
211# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000212public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700213
214# Id of a shared public router that provides external connectivity.
215# A shared public router would commonly be used where IP namespaces
216# were disabled. If namespaces are enabled, it would be preferable
217# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000218public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700219
Maru Newbyb72f37c2012-12-14 02:17:06 +0000220[network-admin]
221# This section contains configuration options for an administrative
222# user of the Network API.
223
224# This should be the username of a user WITH administrative privileges
225username = admin
226# The above administrative user's password
227password = pass
228# The above administrative user's tenant name
229tenant_name = admin
230
Jay Pipesf38eaac2012-06-21 13:37:35 -0400231[identity-admin]
232# This section contains configuration options for an administrative
233# user of the Compute API. These options are used in tests that stress
234# the admin-only parts of the Compute API
235
236# This should be the username of a user WITH administrative privileges
237username = admin
238# The above administrative user's password
239password = pass
240# The above administrative user's tenant name
241tenant_name = admin
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700242
243[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800244# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700245# against the OpenStack Block Storage API service
246
247# The type of endpoint for a Cinder or Block Storage API service.
248# Unless you have a custom Keystone service catalog implementation, you
249# probably want to leave this value as "volume"
250catalog_type = volume
251# Number of seconds to wait while looping to check the status of a
252# volume that is being made available
253build_interval = 10
254# Number of seconds to time out on waiting for a volume
255# to be available or reach an expected status
256build_timeout = 300
dwalleck5d734432012-10-04 01:11:47 -0500257
258[object-storage]
259# This section contains configuration options used when executing tests
260# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100261
262# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500263
264# The type of endpoint for an Object Storage API service. Unless you have a
265# custom Keystone service catalog implementation, you probably want to leave
266# this value as "object-store"
267catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200268
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800269# The object-store region
270region = RegionOne
271
272
Attila Fazekasa23f5002012-10-23 19:32:45 +0200273[boto]
274# This section contains configuration options used when executing tests
275# with boto.
276
277# EC2 URL
278ec2_url = http://localhost:8773/services/Cloud
279# S3 URL
280s3_url = http://localhost:3333
281
282# Use keystone ec2-* command to get those values for your test user and tenant
283aws_access =
284aws_secret =
285
286#Region
287aws_region = RegionOne
288
289#Image materials for S3 upload
290# ALL content of the specified directory will be uploaded to S3
291s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.0
292
293# The manifest.xml files, must be in the s3_materials_path directory
294# Subdirectories not allowed!
295# The filenames will be used as a Keys in the S3 Buckets
296
297#ARI Ramdisk manifest. Must be in the above s3_materials_path
298ari_manifest = cirros-0.3.0-x86_64-initrd.manifest.xml
299
300#AMI Machine Image manifest. Must be in the above s3_materials_path
301ami_manifest = cirros-0.3.0-x86_64-blank.img.manifest.xml
302
303#AKI Kernel Image manifest, Must be in the above s3_materials_path
304aki_manifest = cirros-0.3.0-x86_64-vmlinuz.manifest.xml
305
306#Instance type
307instance_type = m1.tiny
308
309#TCP/IP connection timeout
310http_socket_timeout = 5
311
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100312#Number of retries actions on connection or 5xx error
313num_retries = 1
314
Attila Fazekasa23f5002012-10-23 19:32:45 +0200315# Status change wait timout
316build_timeout = 120
317
318# Status change wait interval
319build_interval = 1