blob: f9f02dc7d50c35fedac93379d4dbc21d5a1d5e2e [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
68# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070069# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040070build_interval = 10
71
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070072# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040073# to build or reach an expected status
74build_timeout = 600
75
Daryl Walleck6b9b2882012-04-08 21:43:39 -050076# Run additional tests that use SSH for instance validation?
77# This requires the instances be routable from the host
78# executing the tests
79run_ssh = false
80
81# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010082ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050083
Attila Fazekasb0661652013-05-08 13:01:36 +020084# Visible fixed network name
85fixed_network_name = private
86
Daryl Walleck6b9b2882012-04-08 21:43:39 -050087# Network id used for SSH (public, private, etc)
Attila Fazekascadcb1f2013-01-21 23:10:53 +010088network_for_ssh = private
Daryl Walleck6b9b2882012-04-08 21:43:39 -050089
90# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +010091ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -050092
93# Number of seconds to wait to authenticate to an instance
94ssh_timeout = 300
95
Chris Yeoh76916042013-02-27 16:25:25 +103096# Number of seconds to wait for output from ssh channel
97ssh_channel_timeout = 60
98
Jay Pipes3f981df2012-03-27 18:59:44 -040099# The type of endpoint for a Compute API service. Unless you have a
100# custom Keystone service catalog implementation, you probably want to leave
101# this value as "compute"
102catalog_type = compute
103
104# Does the Compute API support creation of images?
105create_image_enabled = true
106
David Kranz30fe84a2012-03-20 16:25:47 -0400107# For resize to work with libvirt/kvm, one of the following must be true:
108# Single node: allow_resize_to_same_host=True must be set in nova.conf
109# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400110resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600111
David Kranzf97d5fd2012-07-30 13:46:45 -0400112# Does the compute API support changing the admin password?
113change_password_available=true
114
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100115# Run live migration tests (requires 2 hosts)
116live_migration_available = false
117
118# Use block live migration (Otherwise, non-block migration will be
119# performed, which requires XenServer pools in case of using XS)
120use_block_migration_for_live_migration = false
121
Bob Ballc078be92013-04-09 14:25:00 +0100122# Supports iSCSI block migration - depends on a XAPI supporting
123# relax-xsm-sr-check
124block_migrate_supports_cinder_iscsi = false
125
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100126# By default, rely on the status of the diskConfig extension to
127# decide if to execute disk config tests. When set to false, tests
128# are forced to skip, regardless of the extension status
129disk_config_enabled_override = true
130
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100131
132[whitebox]
133# Whitebox options for compute. Whitebox options enable the
134# whitebox test cases, which look at internal Nova database state,
135# SSH into VMs to check instance state, etc.
136
Jay Pipes051075a2012-04-28 17:39:37 -0400137# Should we run whitebox tests for Compute?
138whitebox_enabled = true
139
140# Path of nova source directory
141source_dir = /opt/stack/nova
142
143# Path of nova configuration file
144config_path = /etc/nova/nova.conf
145
146# Directory containing nova binaries such as nova-manage
147bin_dir = /usr/local/bin
148
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100149# Connection string to the database of Compute service
150db_uri = mysql://nova:secret@localhost/nova
151
Jay Pipes051075a2012-04-28 17:39:37 -0400152# Path to a private key file for SSH access to remote hosts
153path_to_private_key = /home/user/.ssh/id_rsa
154
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100155[compute-admin]
156# This should be the username of a user WITH administrative privileges
157# If not defined the admin user from the identity section will be used
158username =
159# The above administrative user's password
160password =
161# The above administrative user's tenant name
162tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000163
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500164[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400165# This section contains configuration options used when executing tests
166# against the OpenStack Images API
167
Jay Pipesad6feca2012-04-30 15:10:18 -0400168# The type of endpoint for an Image API service. Unless you have a
169# custom Keystone service catalog implementation, you probably want to leave
170# this value as "image"
171catalog_type = image
172
173# The version of the OpenStack Images API to use
174api_version = 1
175
Sean Dague83401992013-05-06 17:46:36 -0400176# HTTP image to use for glance http image testing
177http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
178
Unmesh Gurjar44986832012-05-08 19:57:10 +0530179[network]
180# This section contains configuration options used when executing tests
181# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700182
183# Version of the Quantum API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530184api_version = v1.1
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700185# Catalog type of the Quantum Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530186catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400187
Maru Newby81f07a02012-09-05 20:21:19 -0700188# A large private cidr block from which to allocate smaller blocks for
189# tenant networks.
190tenant_network_cidr = 10.100.0.0/16
191
192# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000193tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700194
195# If tenant networks are reachable, connectivity checks will be
196# performed directly against addresses on those networks.
197tenant_networks_reachable = false
198
199# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000200public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700201
202# Id of a shared public router that provides external connectivity.
203# A shared public router would commonly be used where IP namespaces
204# were disabled. If namespaces are enabled, it would be preferable
205# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000206public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700207
Dan Smithd6c1f882013-02-26 15:50:11 -0500208# Whether or not quantum is expected to be available
209quantum_available = false
210
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700211[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800212# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700213# against the OpenStack Block Storage API service
214
215# The type of endpoint for a Cinder or Block Storage API service.
216# Unless you have a custom Keystone service catalog implementation, you
217# probably want to leave this value as "volume"
218catalog_type = volume
219# Number of seconds to wait while looping to check the status of a
220# volume that is being made available
221build_interval = 10
222# Number of seconds to time out on waiting for a volume
223# to be available or reach an expected status
224build_timeout = 300
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100225# Runs Cinder multi-backend tests (requires 2 backend declared in cinder.conf)
226# They must have different volume_backend_name (backend1_name and backend2_name
227# have to be different)
228multi_backend_enabled = false
229backend1_name = LVM_iSCSI
230backend2_name = LVM_iSCSI_1
dwalleck5d734432012-10-04 01:11:47 -0500231
232[object-storage]
233# This section contains configuration options used when executing tests
234# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100235
236# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500237
238# The type of endpoint for an Object Storage API service. Unless you have a
239# custom Keystone service catalog implementation, you probably want to leave
240# this value as "object-store"
241catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200242
nayna-patelb4989b32013-01-09 06:25:13 +0000243# Number of seconds to time on waiting for a container to container
244# synchronization complete
245container_sync_timeout = 120
246# Number of seconds to wait while looping to check the status of a
247# container to container synchronization
248container_sync_interval = 5
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800249
Attila Fazekasa23f5002012-10-23 19:32:45 +0200250[boto]
251# This section contains configuration options used when executing tests
252# with boto.
253
254# EC2 URL
255ec2_url = http://localhost:8773/services/Cloud
256# S3 URL
257s3_url = http://localhost:3333
258
259# Use keystone ec2-* command to get those values for your test user and tenant
260aws_access =
261aws_secret =
262
Attila Fazekasa23f5002012-10-23 19:32:45 +0200263#Image materials for S3 upload
264# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030265s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200266
267# The manifest.xml files, must be in the s3_materials_path directory
268# Subdirectories not allowed!
269# The filenames will be used as a Keys in the S3 Buckets
270
271#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030272ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200273
274#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030275ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200276
277#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030278aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200279
280#Instance type
281instance_type = m1.tiny
282
283#TCP/IP connection timeout
284http_socket_timeout = 5
285
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100286#Number of retries actions on connection or 5xx error
287num_retries = 1
288
Attila Fazekasa23f5002012-10-23 19:32:45 +0200289# Status change wait timout
290build_timeout = 120
291
292# Status change wait interval
293build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200294
295[orchestration]
296# Status change wait interval
297build_interval = 1
298
299# Status change wait timout. This may vary across environments as some some
300# tests spawn full VMs, which could be slow if the test is already in a VM.
301build_timeout = 300
302
303# Whether or not Heat is expected to be available
304heat_available = false
305
306# Instance type for tests. Needs to be big enough for a
307# full OS plus the test workload
308instance_type = m1.tiny
309
310# Name of heat-cfntools enabled image to use when launching test instances
311# If not specified, tests that spawn instances will not run
312#image_ref = ubuntu-vm-heat-cfntools
313
314# Name of existing keypair to launch servers with. The default is not to specify
315# any key, which will generate a keypair for each test class
316#keypair_name = heat_key