blob: 80c60d5f35eed14c1e5f99f5ff80740464824961 [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
66# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070067# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040068build_interval = 10
69
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070070# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040071# to build or reach an expected status
72build_timeout = 600
73
Daryl Walleck6b9b2882012-04-08 21:43:39 -050074# Run additional tests that use SSH for instance validation?
75# This requires the instances be routable from the host
76# executing the tests
77run_ssh = false
78
79# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010080ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050081
82# Network id used for SSH (public, private, etc)
Attila Fazekascadcb1f2013-01-21 23:10:53 +010083network_for_ssh = private
Daryl Walleck6b9b2882012-04-08 21:43:39 -050084
85# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +010086ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -050087
88# Number of seconds to wait to authenticate to an instance
89ssh_timeout = 300
90
Chris Yeoh76916042013-02-27 16:25:25 +103091# Number of seconds to wait for output from ssh channel
92ssh_channel_timeout = 60
93
Jay Pipes3f981df2012-03-27 18:59:44 -040094# The type of endpoint for a Compute API service. Unless you have a
95# custom Keystone service catalog implementation, you probably want to leave
96# this value as "compute"
97catalog_type = compute
98
99# Does the Compute API support creation of images?
100create_image_enabled = true
101
David Kranz30fe84a2012-03-20 16:25:47 -0400102# For resize to work with libvirt/kvm, one of the following must be true:
103# Single node: allow_resize_to_same_host=True must be set in nova.conf
104# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400105resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600106
David Kranzf97d5fd2012-07-30 13:46:45 -0400107# Does the compute API support changing the admin password?
108change_password_available=true
109
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100110# Run live migration tests (requires 2 hosts)
111live_migration_available = false
112
113# Use block live migration (Otherwise, non-block migration will be
114# performed, which requires XenServer pools in case of using XS)
115use_block_migration_for_live_migration = false
116
117# By default, rely on the status of the diskConfig extension to
118# decide if to execute disk config tests. When set to false, tests
119# are forced to skip, regardless of the extension status
120disk_config_enabled_override = true
121
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100122
123[whitebox]
124# Whitebox options for compute. Whitebox options enable the
125# whitebox test cases, which look at internal Nova database state,
126# SSH into VMs to check instance state, etc.
127
Jay Pipes051075a2012-04-28 17:39:37 -0400128# Should we run whitebox tests for Compute?
129whitebox_enabled = true
130
131# Path of nova source directory
132source_dir = /opt/stack/nova
133
134# Path of nova configuration file
135config_path = /etc/nova/nova.conf
136
137# Directory containing nova binaries such as nova-manage
138bin_dir = /usr/local/bin
139
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100140# Connection string to the database of Compute service
141db_uri = mysql://nova:secret@localhost/nova
142
Jay Pipes051075a2012-04-28 17:39:37 -0400143# Path to a private key file for SSH access to remote hosts
144path_to_private_key = /home/user/.ssh/id_rsa
145
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100146[compute-admin]
147# This should be the username of a user WITH administrative privileges
148# If not defined the admin user from the identity section will be used
149username =
150# The above administrative user's password
151password =
152# The above administrative user's tenant name
153tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000154
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500155[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400156# This section contains configuration options used when executing tests
157# against the OpenStack Images API
158
Jay Pipesad6feca2012-04-30 15:10:18 -0400159# The type of endpoint for an Image API service. Unless you have a
160# custom Keystone service catalog implementation, you probably want to leave
161# this value as "image"
162catalog_type = image
163
164# The version of the OpenStack Images API to use
165api_version = 1
166
Unmesh Gurjar44986832012-05-08 19:57:10 +0530167[network]
168# This section contains configuration options used when executing tests
169# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700170
171# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530172api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700173# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530174catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400175
Maru Newby81f07a02012-09-05 20:21:19 -0700176# A large private cidr block from which to allocate smaller blocks for
177# tenant networks.
178tenant_network_cidr = 10.100.0.0/16
179
180# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000181tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700182
183# If tenant networks are reachable, connectivity checks will be
184# performed directly against addresses on those networks.
185tenant_networks_reachable = false
186
187# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000188public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700189
190# Id of a shared public router that provides external connectivity.
191# A shared public router would commonly be used where IP namespaces
192# were disabled. If namespaces are enabled, it would be preferable
193# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000194public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700195
Dan Smithd6c1f882013-02-26 15:50:11 -0500196# Whether or not quantum is expected to be available
197quantum_available = false
198
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700199[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800200# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700201# against the OpenStack Block Storage API service
202
203# The type of endpoint for a Cinder or Block Storage API service.
204# Unless you have a custom Keystone service catalog implementation, you
205# probably want to leave this value as "volume"
206catalog_type = volume
207# Number of seconds to wait while looping to check the status of a
208# volume that is being made available
209build_interval = 10
210# Number of seconds to time out on waiting for a volume
211# to be available or reach an expected status
212build_timeout = 300
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100213# Runs Cinder multi-backend tests (requires 2 backend declared in cinder.conf)
214# They must have different volume_backend_name (backend1_name and backend2_name
215# have to be different)
216multi_backend_enabled = false
217backend1_name = LVM_iSCSI
218backend2_name = LVM_iSCSI_1
dwalleck5d734432012-10-04 01:11:47 -0500219
220[object-storage]
221# This section contains configuration options used when executing tests
222# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100223
224# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500225
226# The type of endpoint for an Object Storage API service. Unless you have a
227# custom Keystone service catalog implementation, you probably want to leave
228# this value as "object-store"
229catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200230
nayna-patelb4989b32013-01-09 06:25:13 +0000231# Number of seconds to time on waiting for a container to container
232# synchronization complete
233container_sync_timeout = 120
234# Number of seconds to wait while looping to check the status of a
235# container to container synchronization
236container_sync_interval = 5
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800237
Attila Fazekasa23f5002012-10-23 19:32:45 +0200238[boto]
239# This section contains configuration options used when executing tests
240# with boto.
241
242# EC2 URL
243ec2_url = http://localhost:8773/services/Cloud
244# S3 URL
245s3_url = http://localhost:3333
246
247# Use keystone ec2-* command to get those values for your test user and tenant
248aws_access =
249aws_secret =
250
Attila Fazekasa23f5002012-10-23 19:32:45 +0200251#Image materials for S3 upload
252# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030253s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200254
255# The manifest.xml files, must be in the s3_materials_path directory
256# Subdirectories not allowed!
257# The filenames will be used as a Keys in the S3 Buckets
258
259#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030260ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200261
262#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030263ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200264
265#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030266aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200267
268#Instance type
269instance_type = m1.tiny
270
271#TCP/IP connection timeout
272http_socket_timeout = 5
273
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100274#Number of retries actions on connection or 5xx error
275num_retries = 1
276
Attila Fazekasa23f5002012-10-23 19:32:45 +0200277# Status change wait timout
278build_timeout = 120
279
280# Status change wait interval
281build_interval = 1