blob: f837e69355d3dd507db40e76615e2c4b69f0a0d4 [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[compute-admin]
159# This section contains configuration options for an administrative
160# user of the Compute API. These options are used in tests that stress
161# the admin-only parts of the Compute API
162
163# This should be the username of a user WITH administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400164username = admin
Jay Pipes3f981df2012-03-27 18:59:44 -0400165# The above administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400166password = pass
Jay Pipes3f981df2012-03-27 18:59:44 -0400167# The above administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400168tenant_name = admin
Unmesh Gurjar44986832012-05-08 19:57:10 +0530169
170[network]
171# This section contains configuration options used when executing tests
172# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700173
174# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530175api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700176# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530177catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400178
Maru Newby81f07a02012-09-05 20:21:19 -0700179# This should be the username of a user WITHOUT administrative privileges
180username = demo
181# The above non-administrative user's password
182password = pass
183# The above non-administrative user's tenant name
184tenant_name = demo
185
186# A large private cidr block from which to allocate smaller blocks for
187# tenant networks.
188tenant_network_cidr = 10.100.0.0/16
189
190# The mask bits used to partition the tenant block.
191tenant_network_mask_bits = 29
192
193# If tenant networks are reachable, connectivity checks will be
194# performed directly against addresses on those networks.
195tenant_networks_reachable = false
196
197# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000198public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700199
200# Id of a shared public router that provides external connectivity.
201# A shared public router would commonly be used where IP namespaces
202# were disabled. If namespaces are enabled, it would be preferable
203# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000204public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700205
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700206[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800207# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700208# against the OpenStack Block Storage API service
209
210# The type of endpoint for a Cinder or Block Storage API service.
211# Unless you have a custom Keystone service catalog implementation, you
212# probably want to leave this value as "volume"
213catalog_type = volume
214# Number of seconds to wait while looping to check the status of a
215# volume that is being made available
216build_interval = 10
217# Number of seconds to time out on waiting for a volume
218# to be available or reach an expected status
219build_timeout = 300
dwalleck5d734432012-10-04 01:11:47 -0500220
221[object-storage]
222# This section contains configuration options used when executing tests
223# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100224
225# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500226
227# The type of endpoint for an Object Storage API service. Unless you have a
228# custom Keystone service catalog implementation, you probably want to leave
229# this value as "object-store"
230catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200231
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800232# The object-store region
233region = RegionOne
234
235
Attila Fazekasa23f5002012-10-23 19:32:45 +0200236[boto]
237# This section contains configuration options used when executing tests
238# with boto.
239
240# EC2 URL
241ec2_url = http://localhost:8773/services/Cloud
242# S3 URL
243s3_url = http://localhost:3333
244
245# Use keystone ec2-* command to get those values for your test user and tenant
246aws_access =
247aws_secret =
248
249#Region
250aws_region = RegionOne
251
252#Image materials for S3 upload
253# ALL content of the specified directory will be uploaded to S3
254s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.0
255
256# The manifest.xml files, must be in the s3_materials_path directory
257# Subdirectories not allowed!
258# The filenames will be used as a Keys in the S3 Buckets
259
260#ARI Ramdisk manifest. Must be in the above s3_materials_path
261ari_manifest = cirros-0.3.0-x86_64-initrd.manifest.xml
262
263#AMI Machine Image manifest. Must be in the above s3_materials_path
264ami_manifest = cirros-0.3.0-x86_64-blank.img.manifest.xml
265
266#AKI Kernel Image manifest, Must be in the above s3_materials_path
267aki_manifest = cirros-0.3.0-x86_64-vmlinuz.manifest.xml
268
269#Instance type
270instance_type = m1.tiny
271
272#TCP/IP connection timeout
273http_socket_timeout = 5
274
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100275#Number of retries actions on connection or 5xx error
276num_retries = 1
277
Attila Fazekasa23f5002012-10-23 19:32:45 +0200278# Status change wait timout
279build_timeout = 120
280
281# Status change wait interval
282build_interval = 1