blob: 8429cd0b9bad1e430ed205fb0fd00042edc61e80 [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 Pipes7c88eb22013-01-16 21:32:43 -050013# URL for where to find the OpenStack Identity API endpoint (Keystone)
14uri = http://127.0.0.1:5000/v2.0/
Jay Pipes3f981df2012-03-27 18:59:44 -040015# Should typically be left as keystone unless you have a non-Keystone
16# authentication API service
17strategy = keystone
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080018# The identity region
19region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060020
21[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040022# This section contains configuration options used when executing tests
23# against the OpenStack Compute API.
24
Jay Pipesf38eaac2012-06-21 13:37:35 -040025# Allows test cases to create/destroy tenants and users. This option
26# enables isolated test cases and better parallel execution,
27# but also requires that OpenStack Identity API admin credentials
28# are known.
29allow_tenant_isolation = true
30
Dan Smithd6ff6b72012-08-23 10:29:41 -070031# Allows test cases to create/destroy tenants and users. This option
32# enables isolated test cases and better parallel execution,
33# but also requires that OpenStack Identity API admin credentials
34# are known.
35allow_tenant_reuse = true
36
Jay Pipes3f981df2012-03-27 18:59:44 -040037# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040038username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040039# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040040password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040041# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040042tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -040043
44# This should be the username of an alternate user WITHOUT
45# administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -040046alt_username = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040047# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -040048alt_password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -040049# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -040050alt_tenant_name = alt_demo
Jay Pipes3f981df2012-03-27 18:59:44 -040051
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080052# The compute region
53region = RegionOne
54
Daryl Walleck587385b2012-03-03 13:00:26 -060055# Reference data for tests. The ref and ref_alt should be
56# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040057image_ref = {$IMAGE_ID}
58image_ref_alt = {$IMAGE_ID_ALT}
59flavor_ref = 1
60flavor_ref_alt = 2
61
62# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070063# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040064build_interval = 10
65
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070066# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040067# to build or reach an expected status
68build_timeout = 600
69
Daryl Walleck6b9b2882012-04-08 21:43:39 -050070# Run additional tests that use SSH for instance validation?
71# This requires the instances be routable from the host
72# executing the tests
73run_ssh = false
74
75# Name of a user used to authenticated to an instance
76ssh_user = {$SSH_USER}
77
78# Network id used for SSH (public, private, etc)
79network_for_ssh = {$SSH_NETWORK}
80
81# IP version of the address used for SSH
82ip_version_for_ssh = {$SSH_IP_VERSION}
83
84# Number of seconds to wait to authenticate to an instance
85ssh_timeout = 300
86
Jay Pipes3f981df2012-03-27 18:59:44 -040087# The type of endpoint for a Compute API service. Unless you have a
88# custom Keystone service catalog implementation, you probably want to leave
89# this value as "compute"
90catalog_type = compute
91
92# Does the Compute API support creation of images?
93create_image_enabled = true
94
David Kranz30fe84a2012-03-20 16:25:47 -040095# For resize to work with libvirt/kvm, one of the following must be true:
96# Single node: allow_resize_to_same_host=True must be set in nova.conf
97# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -040098resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -060099
David Kranzf97d5fd2012-07-30 13:46:45 -0400100# Does the compute API support changing the admin password?
101change_password_available=true
102
David Kranz180fed12012-03-27 14:31:29 -0400103# Level to log Compute API request/response details.
104log_level = ERROR
105
Jay Pipes051075a2012-04-28 17:39:37 -0400106# Whitebox options for compute. Whitebox options enable the
107# whitebox test cases, which look at internal Nova database state,
108# SSH into VMs to check instance state, etc.
109
110# Should we run whitebox tests for Compute?
111whitebox_enabled = true
112
113# Path of nova source directory
114source_dir = /opt/stack/nova
115
116# Path of nova configuration file
117config_path = /etc/nova/nova.conf
118
119# Directory containing nova binaries such as nova-manage
120bin_dir = /usr/local/bin
121
122# Path to a private key file for SSH access to remote hosts
123path_to_private_key = /home/user/.ssh/id_rsa
124
125# Connection string to the database of Compute service
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700126db_uri = mysql://user:pass@localhost/nova
Jay Pipes051075a2012-04-28 17:39:37 -0400127
Mate Lakat99ee9142012-09-14 12:34:46 +0100128# Run live migration tests (requires 2 hosts)
129live_migration_available = false
130
131# Use block live migration (Otherwise, non-block migration will be
132# performed, which requires XenServer pools in case of using XS)
133use_block_migration_for_live_migration = false
134
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000135# By default, rely on the status of the diskConfig extension to
136# decide if to execute disk config tests. When set to false, tests
137# are forced to skip, regardless of the extension status
138disk_config_enabled_override = true
139
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500140[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400141# This section contains configuration options used when executing tests
142# against the OpenStack Images API
143
Jay Pipesad6feca2012-04-30 15:10:18 -0400144# The type of endpoint for an Image API service. Unless you have a
145# custom Keystone service catalog implementation, you probably want to leave
146# this value as "image"
147catalog_type = image
148
149# The version of the OpenStack Images API to use
150api_version = 1
151
152# This is the main host address of the Image API
153host = 127.0.0.1
154
155# Port that the Image API is running on
156port = 9292
157
Jay Pipes3f981df2012-03-27 18:59:44 -0400158# This should be the username of a user WITHOUT administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400159username = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400160# The above non-administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400161password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400162# The above non-administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400163tenant_name = demo
Jay Pipes3f981df2012-03-27 18:59:44 -0400164
165[compute-admin]
166# This section contains configuration options for an administrative
167# user of the Compute API. These options are used in tests that stress
168# the admin-only parts of the Compute API
169
170# This should be the username of a user WITH administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400171username = admin
Jay Pipes3f981df2012-03-27 18:59:44 -0400172# The above administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400173password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400174# The above administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400175tenant_name = admin
Unmesh Gurjar44986832012-05-08 19:57:10 +0530176
177[network]
178# This section contains configuration options used when executing tests
179# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700180
181# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530182api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700183# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530184catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400185
Maru Newby81f07a02012-09-05 20:21:19 -0700186# This should be the username of a user WITHOUT administrative privileges
187username = demo
188# The above non-administrative user's password
189password = pass
190# The above non-administrative user's tenant name
191tenant_name = demo
192
193# A large private cidr block from which to allocate smaller blocks for
194# tenant networks.
195tenant_network_cidr = 10.100.0.0/16
196
197# The mask bits used to partition the tenant block.
198tenant_network_mask_bits = 29
199
200# If tenant networks are reachable, connectivity checks will be
201# performed directly against addresses on those networks.
202tenant_networks_reachable = false
203
204# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000205public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700206
207# Id of a shared public router that provides external connectivity.
208# A shared public router would commonly be used where IP namespaces
209# were disabled. If namespaces are enabled, it would be preferable
210# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000211public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700212
Maru Newbyb72f37c2012-12-14 02:17:06 +0000213[network-admin]
214# This section contains configuration options for an administrative
215# user of the Network API.
216
217# This should be the username of a user WITH administrative privileges
218username = admin
219# The above administrative user's password
220password = pass
221# The above administrative user's tenant name
222tenant_name = admin
223
Jay Pipesf38eaac2012-06-21 13:37:35 -0400224[identity-admin]
225# This section contains configuration options for an administrative
226# user of the Compute API. These options are used in tests that stress
227# the admin-only parts of the Compute API
228
229# This should be the username of a user WITH administrative privileges
230username = admin
231# The above administrative user's password
232password = pass
233# The above administrative user's tenant name
234tenant_name = admin
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700235
236[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800237# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700238# against the OpenStack Block Storage API service
239
240# The type of endpoint for a Cinder or Block Storage API service.
241# Unless you have a custom Keystone service catalog implementation, you
242# probably want to leave this value as "volume"
243catalog_type = volume
244# Number of seconds to wait while looping to check the status of a
245# volume that is being made available
246build_interval = 10
247# Number of seconds to time out on waiting for a volume
248# to be available or reach an expected status
249build_timeout = 300
dwalleck5d734432012-10-04 01:11:47 -0500250
251[object-storage]
252# This section contains configuration options used when executing tests
253# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100254
255# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500256
257# The type of endpoint for an Object Storage API service. Unless you have a
258# custom Keystone service catalog implementation, you probably want to leave
259# this value as "object-store"
260catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200261
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800262# The object-store region
263region = RegionOne
264
265
Attila Fazekasa23f5002012-10-23 19:32:45 +0200266[boto]
267# This section contains configuration options used when executing tests
268# with boto.
269
270# EC2 URL
271ec2_url = http://localhost:8773/services/Cloud
272# S3 URL
273s3_url = http://localhost:3333
274
275# Use keystone ec2-* command to get those values for your test user and tenant
276aws_access =
277aws_secret =
278
279#Region
280aws_region = RegionOne
281
282#Image materials for S3 upload
283# ALL content of the specified directory will be uploaded to S3
284s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.0
285
286# The manifest.xml files, must be in the s3_materials_path directory
287# Subdirectories not allowed!
288# The filenames will be used as a Keys in the S3 Buckets
289
290#ARI Ramdisk manifest. Must be in the above s3_materials_path
291ari_manifest = cirros-0.3.0-x86_64-initrd.manifest.xml
292
293#AMI Machine Image manifest. Must be in the above s3_materials_path
294ami_manifest = cirros-0.3.0-x86_64-blank.img.manifest.xml
295
296#AKI Kernel Image manifest, Must be in the above s3_materials_path
297aki_manifest = cirros-0.3.0-x86_64-vmlinuz.manifest.xml
298
299#Instance type
300instance_type = m1.tiny
301
302#TCP/IP connection timeout
303http_socket_timeout = 5
304
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100305#Number of retries actions on connection or 5xx error
306num_retries = 1
307
Attila Fazekasa23f5002012-10-23 19:32:45 +0200308# Status change wait timout
309build_timeout = 120
310
311# Status change wait interval
312build_interval = 1