blob: dc26e180dd5e366f1432980dce7d87f77fcf1eb5 [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
Attila Fazekascadcb1f2013-01-21 23:10:53 +010021# This should be the username of a user WITHOUT administrative privileges
22username = demo
23# The above non-administrative user's password
24password = secret
25# The above non-administrative user's tenant name
26tenant_name = demo
27
28# This should be the username of an alternate user WITHOUT
29# administrative privileges
30alt_username = alt_demo
31# The above non-administrative user's password
32alt_password = secret
33# The above non-administrative user's tenant name
34alt_tenant_name = alt_demo
35
36# This should be the username of a user WITH administrative privileges
37admin_username = admin
Maru Newby28c1dce2013-04-08 20:02:06 +000038# The above administrative user's password
Attila Fazekascadcb1f2013-01-21 23:10:53 +010039admin_password = secret
Maru Newby28c1dce2013-04-08 20:02:06 +000040# The above administrative user's tenant name
Attila Fazekascadcb1f2013-01-21 23:10:53 +010041admin_tenant_name = admin
42
Daryl Walleck587385b2012-03-03 13:00:26 -060043[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040044# This section contains configuration options used when executing tests
45# against the OpenStack Compute API.
46
Jay Pipesf38eaac2012-06-21 13:37:35 -040047# Allows test cases to create/destroy tenants and users. This option
48# enables isolated test cases and better parallel execution,
49# but also requires that OpenStack Identity API admin credentials
50# are known.
51allow_tenant_isolation = true
52
Dan Smithd6ff6b72012-08-23 10:29:41 -070053# Allows test cases to create/destroy tenants and users. This option
54# enables isolated test cases and better parallel execution,
55# but also requires that OpenStack Identity API admin credentials
56# are known.
57allow_tenant_reuse = true
58
Daryl Walleck587385b2012-03-03 13:00:26 -060059# Reference data for tests. The ref and ref_alt should be
60# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040061image_ref = {$IMAGE_ID}
62image_ref_alt = {$IMAGE_ID_ALT}
63flavor_ref = 1
64flavor_ref_alt = 2
65
Maru Newbyaf292e82013-05-20 21:32:28 +000066# User names used to authenticate to an instance for a given image.
67image_ssh_user = root
68image_alt_ssh_user = root
69
Jay Pipes3f981df2012-03-27 18:59:44 -040070# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070071# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040072build_interval = 10
73
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070074# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040075# to build or reach an expected status
76build_timeout = 600
77
Daryl Walleck6b9b2882012-04-08 21:43:39 -050078# Run additional tests that use SSH for instance validation?
79# This requires the instances be routable from the host
80# executing the tests
81run_ssh = false
82
83# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010084ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050085
Attila Fazekasb0661652013-05-08 13:01:36 +020086# Visible fixed network name
87fixed_network_name = private
88
Daryl Walleck6b9b2882012-04-08 21:43:39 -050089# Network id used for SSH (public, private, etc)
Attila Fazekascadcb1f2013-01-21 23:10:53 +010090network_for_ssh = private
Daryl Walleck6b9b2882012-04-08 21:43:39 -050091
92# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +010093ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -050094
95# Number of seconds to wait to authenticate to an instance
96ssh_timeout = 300
97
Chris Yeoh76916042013-02-27 16:25:25 +103098# Number of seconds to wait for output from ssh channel
99ssh_channel_timeout = 60
100
Jay Pipes3f981df2012-03-27 18:59:44 -0400101# The type of endpoint for a Compute API service. Unless you have a
102# custom Keystone service catalog implementation, you probably want to leave
103# this value as "compute"
104catalog_type = compute
105
106# Does the Compute API support creation of images?
107create_image_enabled = true
108
David Kranz30fe84a2012-03-20 16:25:47 -0400109# For resize to work with libvirt/kvm, one of the following must be true:
110# Single node: allow_resize_to_same_host=True must be set in nova.conf
111# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400112resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600113
David Kranzf97d5fd2012-07-30 13:46:45 -0400114# Does the compute API support changing the admin password?
115change_password_available=true
116
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100117# Run live migration tests (requires 2 hosts)
118live_migration_available = false
119
120# Use block live migration (Otherwise, non-block migration will be
121# performed, which requires XenServer pools in case of using XS)
122use_block_migration_for_live_migration = false
123
Bob Ballc078be92013-04-09 14:25:00 +0100124# Supports iSCSI block migration - depends on a XAPI supporting
125# relax-xsm-sr-check
126block_migrate_supports_cinder_iscsi = false
127
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100128# By default, rely on the status of the diskConfig extension to
129# decide if to execute disk config tests. When set to false, tests
130# are forced to skip, regardless of the extension status
131disk_config_enabled_override = true
132
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100133
134[whitebox]
135# Whitebox options for compute. Whitebox options enable the
136# whitebox test cases, which look at internal Nova database state,
137# SSH into VMs to check instance state, etc.
138
Jay Pipes051075a2012-04-28 17:39:37 -0400139# Should we run whitebox tests for Compute?
140whitebox_enabled = true
141
142# Path of nova source directory
143source_dir = /opt/stack/nova
144
145# Path of nova configuration file
146config_path = /etc/nova/nova.conf
147
148# Directory containing nova binaries such as nova-manage
149bin_dir = /usr/local/bin
150
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100151# Connection string to the database of Compute service
152db_uri = mysql://nova:secret@localhost/nova
153
Jay Pipes051075a2012-04-28 17:39:37 -0400154# Path to a private key file for SSH access to remote hosts
155path_to_private_key = /home/user/.ssh/id_rsa
156
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100157[compute-admin]
158# This should be the username of a user WITH administrative privileges
159# If not defined the admin user from the identity section will be used
160username =
161# The above administrative user's password
162password =
163# The above administrative user's tenant name
164tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000165
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500166[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400167# This section contains configuration options used when executing tests
168# against the OpenStack Images API
169
Jay Pipesad6feca2012-04-30 15:10:18 -0400170# The type of endpoint for an Image API service. Unless you have a
171# custom Keystone service catalog implementation, you probably want to leave
172# this value as "image"
173catalog_type = image
174
175# The version of the OpenStack Images API to use
176api_version = 1
177
Sean Dague83401992013-05-06 17:46:36 -0400178# HTTP image to use for glance http image testing
179http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
180
Unmesh Gurjar44986832012-05-08 19:57:10 +0530181[network]
182# This section contains configuration options used when executing tests
183# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700184
185# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530186api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700187# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530188catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400189
Maru Newby81f07a02012-09-05 20:21:19 -0700190# A large private cidr block from which to allocate smaller blocks for
191# tenant networks.
192tenant_network_cidr = 10.100.0.0/16
193
194# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000195tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700196
197# If tenant networks are reachable, connectivity checks will be
198# performed directly against addresses on those networks.
199tenant_networks_reachable = false
200
201# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000202public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700203
204# Id of a shared public router that provides external connectivity.
205# A shared public router would commonly be used where IP namespaces
206# were disabled. If namespaces are enabled, it would be preferable
207# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000208public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700209
Dan Smithd6c1f882013-02-26 15:50:11 -0500210# Whether or not quantum is expected to be available
211quantum_available = false
212
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700213[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800214# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700215# against the OpenStack Block Storage API service
216
217# The type of endpoint for a Cinder or Block Storage API service.
218# Unless you have a custom Keystone service catalog implementation, you
219# probably want to leave this value as "volume"
220catalog_type = volume
221# Number of seconds to wait while looping to check the status of a
222# volume that is being made available
223build_interval = 10
224# Number of seconds to time out on waiting for a volume
225# to be available or reach an expected status
226build_timeout = 300
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100227# Runs Cinder multi-backend tests (requires 2 backend declared in cinder.conf)
228# They must have different volume_backend_name (backend1_name and backend2_name
229# have to be different)
230multi_backend_enabled = false
231backend1_name = LVM_iSCSI
232backend2_name = LVM_iSCSI_1
dwalleck5d734432012-10-04 01:11:47 -0500233
234[object-storage]
235# This section contains configuration options used when executing tests
236# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100237
238# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500239
240# The type of endpoint for an Object Storage API service. Unless you have a
241# custom Keystone service catalog implementation, you probably want to leave
242# this value as "object-store"
243catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200244
nayna-patelb4989b32013-01-09 06:25:13 +0000245# Number of seconds to time on waiting for a container to container
246# synchronization complete
247container_sync_timeout = 120
248# Number of seconds to wait while looping to check the status of a
249# container to container synchronization
250container_sync_interval = 5
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800251
Attila Fazekasa23f5002012-10-23 19:32:45 +0200252[boto]
253# This section contains configuration options used when executing tests
254# with boto.
255
256# EC2 URL
257ec2_url = http://localhost:8773/services/Cloud
258# S3 URL
259s3_url = http://localhost:3333
260
261# Use keystone ec2-* command to get those values for your test user and tenant
262aws_access =
263aws_secret =
264
Attila Fazekasa23f5002012-10-23 19:32:45 +0200265#Image materials for S3 upload
266# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030267s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200268
269# The manifest.xml files, must be in the s3_materials_path directory
270# Subdirectories not allowed!
271# The filenames will be used as a Keys in the S3 Buckets
272
273#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030274ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200275
276#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030277ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200278
279#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030280aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200281
282#Instance type
283instance_type = m1.tiny
284
285#TCP/IP connection timeout
286http_socket_timeout = 5
287
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100288#Number of retries actions on connection or 5xx error
289num_retries = 1
290
Attila Fazekasa23f5002012-10-23 19:32:45 +0200291# Status change wait timout
292build_timeout = 120
293
294# Status change wait interval
295build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200296
297[orchestration]
298# Status change wait interval
299build_interval = 1
300
301# Status change wait timout. This may vary across environments as some some
302# tests spawn full VMs, which could be slow if the test is already in a VM.
303build_timeout = 300
304
305# Whether or not Heat is expected to be available
306heat_available = false
307
308# Instance type for tests. Needs to be big enough for a
309# full OS plus the test workload
310instance_type = m1.tiny
311
312# Name of heat-cfntools enabled image to use when launching test instances
313# If not specified, tests that spawn instances will not run
314#image_ref = ubuntu-vm-heat-cfntools
315
316# Name of existing keypair to launch servers with. The default is not to specify
317# any key, which will generate a keypair for each test class
318#keypair_name = heat_key