blob: d12da448aec5a9fee68233b8f19a73c8cb9b24c4 [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 Pipescd8eaec2013-01-16 21:03:48 -050010# Ignore SSL certificate validation failures? Use when in testing
11# environments that have self-signed SSL certs.
12disable_ssl_certificate_validation = False
Jay Pipes3f981df2012-03-27 18:59:44 -040013# Set to True if your test environment's Keystone authentication service should
14# be accessed over HTTPS
15use_ssl = False
16# This is the main host address of the authentication service API
17host = 127.0.0.1
18# Port that the authentication service API is running on
19port = 5000
20# Version of the authentication service API (a string)
21api_version = v2.0
22# Path to the authentication service tokens resource (do not modify unless you
23# have a custom authentication API and are not using Keystone)
24path = tokens
25# Should typically be left as keystone unless you have a non-Keystone
26# authentication API service
27strategy = keystone
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080028# The identity region
29region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060030
31[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040032# This section contains configuration options used when executing tests
33# against the OpenStack Compute API.
34
Jay Pipesf38eaac2012-06-21 13:37:35 -040035# Allows test cases to create/destroy tenants and users. This option
36# enables isolated test cases and better parallel execution,
37# but also requires that OpenStack Identity API admin credentials
38# are known.
39allow_tenant_isolation = true
40
Dan Smithd6ff6b72012-08-23 10:29:41 -070041# Allows test cases to create/destroy tenants and users. This option
42# enables isolated test cases and better parallel execution,
43# but also requires that OpenStack Identity API admin credentials
44# are known.
45allow_tenant_reuse = true
46
Jay Pipes3f981df2012-03-27 18:59:44 -040047# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040048username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040049# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040050password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040051# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040052tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040053
54# This should be the username of an alternate user WITHOUT
55# administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040056alt_username = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040057# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040058alt_password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040059# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040060alt_tenant_name = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040061
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080062# The compute region
63region = RegionOne
64
Daryl Walleck587385b2012-03-03 13:00:26 -060065# Reference data for tests. The ref and ref_alt should be
66# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040067image_ref = {$IMAGE_ID}
68image_ref_alt = {$IMAGE_ID_ALT}
69flavor_ref = 1
70flavor_ref_alt = 2
71
72# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070073# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040074build_interval = 10
75
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070076# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040077# to build or reach an expected status
78build_timeout = 600
79
Daryl Walleck6b9b2882012-04-08 21:43:39 -050080# Run additional tests that use SSH for instance validation?
81# This requires the instances be routable from the host
82# executing the tests
83run_ssh = false
84
85# Name of a user used to authenticated to an instance
86ssh_user = {$SSH_USER}
87
88# Network id used for SSH (public, private, etc)
89network_for_ssh = {$SSH_NETWORK}
90
91# IP version of the address used for SSH
92ip_version_for_ssh = {$SSH_IP_VERSION}
93
94# Number of seconds to wait to authenticate to an instance
95ssh_timeout = 300
96
Jay Pipes3f981df2012-03-27 18:59:44 -040097# The type of endpoint for a Compute API service. Unless you have a
98# custom Keystone service catalog implementation, you probably want to leave
99# this value as "compute"
100catalog_type = compute
101
102# Does the Compute API support creation of images?
103create_image_enabled = true
104
David Kranz30fe84a2012-03-20 16:25:47 -0400105# For resize to work with libvirt/kvm, one of the following must be true:
106# Single node: allow_resize_to_same_host=True must be set in nova.conf
107# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400108resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600109
David Kranzf97d5fd2012-07-30 13:46:45 -0400110# Does the compute API support changing the admin password?
111change_password_available=true
112
David Kranz180fed12012-03-27 14:31:29 -0400113# Level to log Compute API request/response details.
114log_level = ERROR
115
Jay Pipes051075a2012-04-28 17:39:37 -0400116# Whitebox options for compute. Whitebox options enable the
117# whitebox test cases, which look at internal Nova database state,
118# SSH into VMs to check instance state, etc.
119
120# Should we run whitebox tests for Compute?
121whitebox_enabled = true
122
123# Path of nova source directory
124source_dir = /opt/stack/nova
125
126# Path of nova configuration file
127config_path = /etc/nova/nova.conf
128
129# Directory containing nova binaries such as nova-manage
130bin_dir = /usr/local/bin
131
132# Path to a private key file for SSH access to remote hosts
133path_to_private_key = /home/user/.ssh/id_rsa
134
135# Connection string to the database of Compute service
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700136db_uri = mysql://user:pass@localhost/nova
Jay Pipes051075a2012-04-28 17:39:37 -0400137
Mate Lakat99ee9142012-09-14 12:34:46 +0100138# Run live migration tests (requires 2 hosts)
139live_migration_available = false
140
141# Use block live migration (Otherwise, non-block migration will be
142# performed, which requires XenServer pools in case of using XS)
143use_block_migration_for_live_migration = false
144
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000145# By default, rely on the status of the diskConfig extension to
146# decide if to execute disk config tests. When set to false, tests
147# are forced to skip, regardless of the extension status
148disk_config_enabled_override = true
149
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500150[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400151# This section contains configuration options used when executing tests
152# against the OpenStack Images API
153
Jay Pipesad6feca2012-04-30 15:10:18 -0400154# The type of endpoint for an Image API service. Unless you have a
155# custom Keystone service catalog implementation, you probably want to leave
156# this value as "image"
157catalog_type = image
158
159# The version of the OpenStack Images API to use
160api_version = 1
161
162# This is the main host address of the Image API
163host = 127.0.0.1
164
165# Port that the Image API is running on
166port = 9292
167
Jay Pipes3f981df2012-03-27 18:59:44 -0400168# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400169username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400170# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400171password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400172# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400173tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400174
175[compute-admin]
176# This section contains configuration options for an administrative
177# user of the Compute API. These options are used in tests that stress
178# the admin-only parts of the Compute API
179
180# This should be the username of a user WITH administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400181username = admin
Jay Pipes3f981df2012-03-27 18:59:44 -0400182# The above administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400183password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400184# The above administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400185tenant_name = admin
Unmesh Gurjar44986832012-05-08 19:57:10 +0530186
187[network]
188# This section contains configuration options used when executing tests
189# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700190
191# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530192api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700193# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530194catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400195
Maru Newby81f07a02012-09-05 20:21:19 -0700196# This should be the username of a user WITHOUT administrative privileges
197username = demo
198# The above non-administrative user's password
199password = pass
200# The above non-administrative user's tenant name
201tenant_name = demo
202
203# A large private cidr block from which to allocate smaller blocks for
204# tenant networks.
205tenant_network_cidr = 10.100.0.0/16
206
207# The mask bits used to partition the tenant block.
208tenant_network_mask_bits = 29
209
210# If tenant networks are reachable, connectivity checks will be
211# performed directly against addresses on those networks.
212tenant_networks_reachable = false
213
214# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000215public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700216
217# Id of a shared public router that provides external connectivity.
218# A shared public router would commonly be used where IP namespaces
219# were disabled. If namespaces are enabled, it would be preferable
220# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000221public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700222
Maru Newbyb72f37c2012-12-14 02:17:06 +0000223[network-admin]
224# This section contains configuration options for an administrative
225# user of the Network API.
226
227# This should be the username of a user WITH administrative privileges
228username = admin
229# The above administrative user's password
230password = pass
231# The above administrative user's tenant name
232tenant_name = admin
233
Jay Pipesf38eaac2012-06-21 13:37:35 -0400234[identity-admin]
235# This section contains configuration options for an administrative
236# user of the Compute API. These options are used in tests that stress
237# the admin-only parts of the Compute API
238
239# This should be the username of a user WITH administrative privileges
240username = admin
241# The above administrative user's password
242password = pass
243# The above administrative user's tenant name
244tenant_name = admin
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700245
246[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800247# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700248# against the OpenStack Block Storage API service
249
250# The type of endpoint for a Cinder or Block Storage API service.
251# Unless you have a custom Keystone service catalog implementation, you
252# probably want to leave this value as "volume"
253catalog_type = volume
254# Number of seconds to wait while looping to check the status of a
255# volume that is being made available
256build_interval = 10
257# Number of seconds to time out on waiting for a volume
258# to be available or reach an expected status
259build_timeout = 300
dwalleck5d734432012-10-04 01:11:47 -0500260
261[object-storage]
262# This section contains configuration options used when executing tests
263# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100264
265# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500266
267# The type of endpoint for an Object Storage API service. Unless you have a
268# custom Keystone service catalog implementation, you probably want to leave
269# this value as "object-store"
270catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200271
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800272# The object-store region
273region = RegionOne
274
275
Attila Fazekasa23f5002012-10-23 19:32:45 +0200276[boto]
277# This section contains configuration options used when executing tests
278# with boto.
279
280# EC2 URL
281ec2_url = http://localhost:8773/services/Cloud
282# S3 URL
283s3_url = http://localhost:3333
284
285# Use keystone ec2-* command to get those values for your test user and tenant
286aws_access =
287aws_secret =
288
289#Region
290aws_region = RegionOne
291
292#Image materials for S3 upload
293# ALL content of the specified directory will be uploaded to S3
294s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.0
295
296# The manifest.xml files, must be in the s3_materials_path directory
297# Subdirectories not allowed!
298# The filenames will be used as a Keys in the S3 Buckets
299
300#ARI Ramdisk manifest. Must be in the above s3_materials_path
301ari_manifest = cirros-0.3.0-x86_64-initrd.manifest.xml
302
303#AMI Machine Image manifest. Must be in the above s3_materials_path
304ami_manifest = cirros-0.3.0-x86_64-blank.img.manifest.xml
305
306#AKI Kernel Image manifest, Must be in the above s3_materials_path
307aki_manifest = cirros-0.3.0-x86_64-vmlinuz.manifest.xml
308
309#Instance type
310instance_type = m1.tiny
311
312#TCP/IP connection timeout
313http_socket_timeout = 5
314
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100315#Number of retries actions on connection or 5xx error
316num_retries = 1
317
Attila Fazekasa23f5002012-10-23 19:32:45 +0200318# Status change wait timout
319build_timeout = 120
320
321# Status change wait interval
322build_interval = 1