blob: 915e2fa2384e5bc0effe7592cbf90fc5f17494f6 [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/
Brant Knudsonc7ca3342013-03-28 21:08:50 -050015# URL for where to find the OpenStack V3 Identity API endpoint (Keystone)
16uri_v3 = http://127.0.0.1:5000/v3/
Jay Pipes3f981df2012-03-27 18:59:44 -040017# Should typically be left as keystone unless you have a non-Keystone
18# authentication API service
19strategy = keystone
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080020# The identity region
21region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060022
Attila Fazekascadcb1f2013-01-21 23:10:53 +010023# This should be the username of a user WITHOUT administrative privileges
24username = demo
25# The above non-administrative user's password
26password = secret
27# The above non-administrative user's tenant name
28tenant_name = demo
29
30# This should be the username of an alternate user WITHOUT
31# administrative privileges
32alt_username = alt_demo
33# The above non-administrative user's password
34alt_password = secret
35# The above non-administrative user's tenant name
36alt_tenant_name = alt_demo
37
38# This should be the username of a user WITH administrative privileges
39admin_username = admin
Maru Newby28c1dce2013-04-08 20:02:06 +000040# The above administrative user's password
Attila Fazekascadcb1f2013-01-21 23:10:53 +010041admin_password = secret
Maru Newby28c1dce2013-04-08 20:02:06 +000042# The above administrative user's tenant name
Attila Fazekascadcb1f2013-01-21 23:10:53 +010043admin_tenant_name = admin
44
Daryl Walleck587385b2012-03-03 13:00:26 -060045[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040046# This section contains configuration options used when executing tests
47# against the OpenStack Compute API.
48
Jay Pipesf38eaac2012-06-21 13:37:35 -040049# Allows test cases to create/destroy tenants and users. This option
50# enables isolated test cases and better parallel execution,
51# but also requires that OpenStack Identity API admin credentials
52# are known.
53allow_tenant_isolation = true
54
Dan Smithd6ff6b72012-08-23 10:29:41 -070055# Allows test cases to create/destroy tenants and users. This option
56# enables isolated test cases and better parallel execution,
57# but also requires that OpenStack Identity API admin credentials
58# are known.
59allow_tenant_reuse = true
60
Daryl Walleck587385b2012-03-03 13:00:26 -060061# Reference data for tests. The ref and ref_alt should be
62# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040063image_ref = {$IMAGE_ID}
64image_ref_alt = {$IMAGE_ID_ALT}
65flavor_ref = 1
66flavor_ref_alt = 2
67
Maru Newbyaf292e82013-05-20 21:32:28 +000068# User names used to authenticate to an instance for a given image.
69image_ssh_user = root
70image_alt_ssh_user = root
71
Jay Pipes3f981df2012-03-27 18:59:44 -040072# 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
Attila Fazekascadcb1f2013-01-21 23:10:53 +010086ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050087
Attila Fazekasb0661652013-05-08 13:01:36 +020088# Visible fixed network name
89fixed_network_name = private
90
Daryl Walleck6b9b2882012-04-08 21:43:39 -050091# Network id used for SSH (public, private, etc)
Attila Fazekascadcb1f2013-01-21 23:10:53 +010092network_for_ssh = private
Daryl Walleck6b9b2882012-04-08 21:43:39 -050093
94# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +010095ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -050096
97# Number of seconds to wait to authenticate to an instance
98ssh_timeout = 300
99
Chris Yeoh76916042013-02-27 16:25:25 +1030100# Number of seconds to wait for output from ssh channel
101ssh_channel_timeout = 60
102
Jay Pipes3f981df2012-03-27 18:59:44 -0400103# The type of endpoint for a Compute API service. Unless you have a
104# custom Keystone service catalog implementation, you probably want to leave
105# this value as "compute"
106catalog_type = compute
107
108# Does the Compute API support creation of images?
109create_image_enabled = true
110
David Kranz30fe84a2012-03-20 16:25:47 -0400111# For resize to work with libvirt/kvm, one of the following must be true:
112# Single node: allow_resize_to_same_host=True must be set in nova.conf
113# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400114resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600115
David Kranzf97d5fd2012-07-30 13:46:45 -0400116# Does the compute API support changing the admin password?
117change_password_available=true
118
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100119# Run live migration tests (requires 2 hosts)
120live_migration_available = false
121
122# Use block live migration (Otherwise, non-block migration will be
123# performed, which requires XenServer pools in case of using XS)
124use_block_migration_for_live_migration = false
125
Bob Ballc078be92013-04-09 14:25:00 +0100126# Supports iSCSI block migration - depends on a XAPI supporting
127# relax-xsm-sr-check
128block_migrate_supports_cinder_iscsi = false
129
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100130# By default, rely on the status of the diskConfig extension to
131# decide if to execute disk config tests. When set to false, tests
132# are forced to skip, regardless of the extension status
133disk_config_enabled_override = true
134
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100135
136[whitebox]
137# Whitebox options for compute. Whitebox options enable the
138# whitebox test cases, which look at internal Nova database state,
139# SSH into VMs to check instance state, etc.
140
Jay Pipes051075a2012-04-28 17:39:37 -0400141# Should we run whitebox tests for Compute?
142whitebox_enabled = true
143
144# Path of nova source directory
145source_dir = /opt/stack/nova
146
147# Path of nova configuration file
148config_path = /etc/nova/nova.conf
149
150# Directory containing nova binaries such as nova-manage
151bin_dir = /usr/local/bin
152
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100153# Connection string to the database of Compute service
154db_uri = mysql://nova:secret@localhost/nova
155
Jay Pipes051075a2012-04-28 17:39:37 -0400156# Path to a private key file for SSH access to remote hosts
157path_to_private_key = /home/user/.ssh/id_rsa
158
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100159[compute-admin]
160# This should be the username of a user WITH administrative privileges
161# If not defined the admin user from the identity section will be used
162username =
163# The above administrative user's password
164password =
165# The above administrative user's tenant name
166tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000167
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500168[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400169# This section contains configuration options used when executing tests
170# against the OpenStack Images API
171
Jay Pipesad6feca2012-04-30 15:10:18 -0400172# The type of endpoint for an Image API service. Unless you have a
173# custom Keystone service catalog implementation, you probably want to leave
174# this value as "image"
175catalog_type = image
176
177# The version of the OpenStack Images API to use
178api_version = 1
179
Sean Dague83401992013-05-06 17:46:36 -0400180# HTTP image to use for glance http image testing
181http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
182
Unmesh Gurjar44986832012-05-08 19:57:10 +0530183[network]
184# This section contains configuration options used when executing tests
185# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700186
187# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530188api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700189# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530190catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400191
Maru Newby81f07a02012-09-05 20:21:19 -0700192# A large private cidr block from which to allocate smaller blocks for
193# tenant networks.
194tenant_network_cidr = 10.100.0.0/16
195
196# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000197tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700198
199# If tenant networks are reachable, connectivity checks will be
200# performed directly against addresses on those networks.
201tenant_networks_reachable = false
202
203# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000204public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700205
206# Id of a shared public router that provides external connectivity.
207# A shared public router would commonly be used where IP namespaces
208# were disabled. If namespaces are enabled, it would be preferable
209# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000210public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700211
Dan Smithd6c1f882013-02-26 15:50:11 -0500212# Whether or not quantum is expected to be available
213quantum_available = false
214
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700215[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800216# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700217# against the OpenStack Block Storage API service
218
219# The type of endpoint for a Cinder or Block Storage API service.
220# Unless you have a custom Keystone service catalog implementation, you
221# probably want to leave this value as "volume"
222catalog_type = volume
223# Number of seconds to wait while looping to check the status of a
224# volume that is being made available
225build_interval = 10
226# Number of seconds to time out on waiting for a volume
227# to be available or reach an expected status
228build_timeout = 300
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200229# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100230# They must have different volume_backend_name (backend1_name and backend2_name
231# have to be different)
232multi_backend_enabled = false
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200233backend1_name = BACKEND_1
234backend2_name = BACKEND_2
dwalleck5d734432012-10-04 01:11:47 -0500235
236[object-storage]
237# This section contains configuration options used when executing tests
238# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100239
240# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500241
242# The type of endpoint for an Object Storage API service. Unless you have a
243# custom Keystone service catalog implementation, you probably want to leave
244# this value as "object-store"
245catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200246
nayna-patelb4989b32013-01-09 06:25:13 +0000247# Number of seconds to time on waiting for a container to container
248# synchronization complete
249container_sync_timeout = 120
250# Number of seconds to wait while looping to check the status of a
251# container to container synchronization
252container_sync_interval = 5
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800253
Attila Fazekasa23f5002012-10-23 19:32:45 +0200254[boto]
255# This section contains configuration options used when executing tests
256# with boto.
257
258# EC2 URL
259ec2_url = http://localhost:8773/services/Cloud
260# S3 URL
261s3_url = http://localhost:3333
262
263# Use keystone ec2-* command to get those values for your test user and tenant
264aws_access =
265aws_secret =
266
Attila Fazekasa23f5002012-10-23 19:32:45 +0200267#Image materials for S3 upload
268# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030269s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200270
271# The manifest.xml files, must be in the s3_materials_path directory
272# Subdirectories not allowed!
273# The filenames will be used as a Keys in the S3 Buckets
274
275#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030276ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200277
278#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030279ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200280
281#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030282aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200283
284#Instance type
285instance_type = m1.tiny
286
287#TCP/IP connection timeout
288http_socket_timeout = 5
289
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100290#Number of retries actions on connection or 5xx error
291num_retries = 1
292
Attila Fazekasa23f5002012-10-23 19:32:45 +0200293# Status change wait timout
294build_timeout = 120
295
296# Status change wait interval
297build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200298
299[orchestration]
300# Status change wait interval
301build_interval = 1
302
303# Status change wait timout. This may vary across environments as some some
304# tests spawn full VMs, which could be slow if the test is already in a VM.
305build_timeout = 300
306
307# Whether or not Heat is expected to be available
308heat_available = false
309
310# Instance type for tests. Needs to be big enough for a
311# full OS plus the test workload
Steve Baker9e86b832013-05-22 15:40:28 +1200312instance_type = m1.micro
Steve Bakerc60e4e32013-05-06 15:22:41 +1200313
314# Name of heat-cfntools enabled image to use when launching test instances
315# If not specified, tests that spawn instances will not run
316#image_ref = ubuntu-vm-heat-cfntools
317
318# Name of existing keypair to launch servers with. The default is not to specify
319# any key, which will generate a keypair for each test class
320#keypair_name = heat_key
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900321
322[scenario]
323# Directory containing image files
324img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
325
326# AMI image file name
327ami_img_file = cirros-0.3.1-x86_64-blank.img
328
329# ARI image file name
330ari_img_file = cirros-0.3.1-x86_64-initrd
331
332# AKI image file name
333aki_img_file = cirros-0.3.1-x86_64-vmlinuz
334
335# ssh username for the image file
336ssh_user = cirros