blob: 825965f855ee48e80618e16d3b75a680b49cd57c [file] [log] [blame]
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -04001[DEFAULT]
2# log_config = /opt/stack/tempest/etc/logging.conf.sample
Matthew Treinish07248e52013-07-26 11:18:44 -04003lock_path=/tmp
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -04004
Daryl Walleck587385b2012-03-03 13:00:26 -06005[identity]
Jay Pipes3f981df2012-03-27 18:59:44 -04006# This section contains configuration options that a variety of Tempest
7# test clients use when authenticating with different user/tenant
8# combinations
9
chris fattarsi8ed39ac2012-04-30 14:11:27 -070010# The type of endpoint for a Identity service. Unless you have a
11# custom Keystone service catalog implementation, you probably want to leave
12# this value as "identity"
13catalog_type = identity
Jay Pipescd8eaec2013-01-16 21:03:48 -050014# Ignore SSL certificate validation failures? Use when in testing
15# environments that have self-signed SSL certs.
16disable_ssl_certificate_validation = False
Jay Pipes7c88eb22013-01-16 21:32:43 -050017# URL for where to find the OpenStack Identity API endpoint (Keystone)
18uri = http://127.0.0.1:5000/v2.0/
Brant Knudsonc7ca3342013-03-28 21:08:50 -050019# URL for where to find the OpenStack V3 Identity API endpoint (Keystone)
20uri_v3 = http://127.0.0.1:5000/v3/
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080021# The identity region
22region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060023
Attila Fazekascadcb1f2013-01-21 23:10:53 +010024# This should be the username of a user WITHOUT administrative privileges
25username = demo
26# The above non-administrative user's password
27password = secret
28# The above non-administrative user's tenant name
29tenant_name = demo
30
31# This should be the username of an alternate user WITHOUT
32# administrative privileges
33alt_username = alt_demo
34# The above non-administrative user's password
35alt_password = secret
36# The above non-administrative user's tenant name
37alt_tenant_name = alt_demo
38
39# This should be the username of a user WITH administrative privileges
40admin_username = admin
Maru Newby28c1dce2013-04-08 20:02:06 +000041# The above administrative user's password
Attila Fazekascadcb1f2013-01-21 23:10:53 +010042admin_password = secret
Maru Newby28c1dce2013-04-08 20:02:06 +000043# The above administrative user's tenant name
Attila Fazekascadcb1f2013-01-21 23:10:53 +010044admin_tenant_name = admin
45
Daryl Walleck587385b2012-03-03 13:00:26 -060046[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040047# This section contains configuration options used when executing tests
48# against the OpenStack Compute API.
49
Jay Pipesf38eaac2012-06-21 13:37:35 -040050# Allows test cases to create/destroy tenants and users. This option
51# enables isolated test cases and better parallel execution,
52# but also requires that OpenStack Identity API admin credentials
53# are known.
54allow_tenant_isolation = true
55
Dan Smithd6ff6b72012-08-23 10:29:41 -070056# Allows test cases to create/destroy tenants and users. This option
57# enables isolated test cases and better parallel execution,
58# but also requires that OpenStack Identity API admin credentials
59# are known.
60allow_tenant_reuse = true
61
Daryl Walleck587385b2012-03-03 13:00:26 -060062# Reference data for tests. The ref and ref_alt should be
63# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040064image_ref = {$IMAGE_ID}
65image_ref_alt = {$IMAGE_ID_ALT}
66flavor_ref = 1
67flavor_ref_alt = 2
68
Maru Newbyaf292e82013-05-20 21:32:28 +000069# User names used to authenticate to an instance for a given image.
70image_ssh_user = root
71image_alt_ssh_user = root
72
Jay Pipes3f981df2012-03-27 18:59:44 -040073# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070074# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040075build_interval = 10
76
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070077# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040078# to build or reach an expected status
79build_timeout = 600
80
Daryl Walleck6b9b2882012-04-08 21:43:39 -050081# Run additional tests that use SSH for instance validation?
82# This requires the instances be routable from the host
83# executing the tests
84run_ssh = false
85
86# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010087ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050088
Attila Fazekasb0661652013-05-08 13:01:36 +020089# Visible fixed network name
90fixed_network_name = private
91
Daryl Walleck6b9b2882012-04-08 21:43:39 -050092# Network id used for SSH (public, private, etc)
Attila Fazekascadcb1f2013-01-21 23:10:53 +010093network_for_ssh = private
Daryl Walleck6b9b2882012-04-08 21:43:39 -050094
95# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +010096ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -050097
Nachi Ueno6d580be2013-07-24 10:58:11 -070098# Number of seconds to wait to ping to an instance
99ping_timeout = 60
100
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500101# Number of seconds to wait to authenticate to an instance
102ssh_timeout = 300
103
Chris Yeoh76916042013-02-27 16:25:25 +1030104# Number of seconds to wait for output from ssh channel
105ssh_channel_timeout = 60
106
fujioka yuuichia11994e2013-07-09 11:19:51 +0900107# Dose the SSH uses Floating IP?
108use_floatingip_for_ssh = True
109
Jay Pipes3f981df2012-03-27 18:59:44 -0400110# The type of endpoint for a Compute API service. Unless you have a
111# custom Keystone service catalog implementation, you probably want to leave
112# this value as "compute"
113catalog_type = compute
114
115# Does the Compute API support creation of images?
116create_image_enabled = true
117
David Kranz30fe84a2012-03-20 16:25:47 -0400118# For resize to work with libvirt/kvm, one of the following must be true:
119# Single node: allow_resize_to_same_host=True must be set in nova.conf
120# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400121resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600122
David Kranzf97d5fd2012-07-30 13:46:45 -0400123# Does the compute API support changing the admin password?
124change_password_available=true
125
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100126# Run live migration tests (requires 2 hosts)
127live_migration_available = false
128
129# Use block live migration (Otherwise, non-block migration will be
130# performed, which requires XenServer pools in case of using XS)
131use_block_migration_for_live_migration = false
132
Bob Ballc078be92013-04-09 14:25:00 +0100133# Supports iSCSI block migration - depends on a XAPI supporting
134# relax-xsm-sr-check
135block_migrate_supports_cinder_iscsi = false
136
Attila Fazekas86950732013-06-08 09:33:08 +0200137# When set to false, disk config tests are forced to skip
138disk_config_enabled = true
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100139
Attila Fazekas86950732013-06-08 09:33:08 +0200140# When set to false, flavor extra data tests are forced to skip
141flavor_extra_enabled = true
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100142
143[whitebox]
144# Whitebox options for compute. Whitebox options enable the
145# whitebox test cases, which look at internal Nova database state,
146# SSH into VMs to check instance state, etc.
147
Jay Pipes051075a2012-04-28 17:39:37 -0400148# Should we run whitebox tests for Compute?
149whitebox_enabled = true
150
151# Path of nova source directory
152source_dir = /opt/stack/nova
153
154# Path of nova configuration file
155config_path = /etc/nova/nova.conf
156
157# Directory containing nova binaries such as nova-manage
158bin_dir = /usr/local/bin
159
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100160# Connection string to the database of Compute service
161db_uri = mysql://nova:secret@localhost/nova
162
Jay Pipes051075a2012-04-28 17:39:37 -0400163# Path to a private key file for SSH access to remote hosts
164path_to_private_key = /home/user/.ssh/id_rsa
165
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100166[compute-admin]
167# This should be the username of a user WITH administrative privileges
168# If not defined the admin user from the identity section will be used
169username =
170# The above administrative user's password
171password =
172# The above administrative user's tenant name
173tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000174
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500175[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400176# This section contains configuration options used when executing tests
177# against the OpenStack Images API
178
Jay Pipesad6feca2012-04-30 15:10:18 -0400179# The type of endpoint for an Image API service. Unless you have a
180# custom Keystone service catalog implementation, you probably want to leave
181# this value as "image"
182catalog_type = image
183
184# The version of the OpenStack Images API to use
185api_version = 1
186
Sean Dague83401992013-05-06 17:46:36 -0400187# HTTP image to use for glance http image testing
188http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
189
Unmesh Gurjar44986832012-05-08 19:57:10 +0530190[network]
191# This section contains configuration options used when executing tests
192# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700193
Mark McClainf2982e82013-07-06 17:48:03 -0400194# Version of the Neutron API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530195api_version = v1.1
Mark McClainf2982e82013-07-06 17:48:03 -0400196# Catalog type of the Neutron Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530197catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400198
Maru Newby81f07a02012-09-05 20:21:19 -0700199# A large private cidr block from which to allocate smaller blocks for
200# tenant networks.
201tenant_network_cidr = 10.100.0.0/16
202
203# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000204tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700205
206# If tenant networks are reachable, connectivity checks will be
207# performed directly against addresses on those networks.
208tenant_networks_reachable = false
209
210# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000211public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700212
213# Id of a shared public router that provides external connectivity.
214# A shared public router would commonly be used where IP namespaces
215# were disabled. If namespaces are enabled, it would be preferable
216# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000217public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700218
Dan Smithd6c1f882013-02-26 15:50:11 -0500219
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700220[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800221# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700222# against the OpenStack Block Storage API service
223
224# The type of endpoint for a Cinder or Block Storage API service.
225# Unless you have a custom Keystone service catalog implementation, you
226# probably want to leave this value as "volume"
227catalog_type = volume
228# Number of seconds to wait while looping to check the status of a
229# volume that is being made available
230build_interval = 10
231# Number of seconds to time out on waiting for a volume
232# to be available or reach an expected status
233build_timeout = 300
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200234# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100235# They must have different volume_backend_name (backend1_name and backend2_name
236# have to be different)
237multi_backend_enabled = false
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200238backend1_name = BACKEND_1
239backend2_name = BACKEND_2
Adam Gandelman827ad332013-06-24 17:04:09 -0700240# Protocol and vendor of volume backend to target when testing volume-types.
241# You should update to reflect those exported by configured backend driver.
242storage_protocol = iSCSI
243vendor_name = Open Source
dwalleck5d734432012-10-04 01:11:47 -0500244
245[object-storage]
246# This section contains configuration options used when executing tests
247# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100248
249# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500250
251# The type of endpoint for an Object Storage API service. Unless you have a
252# custom Keystone service catalog implementation, you probably want to leave
253# this value as "object-store"
254catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200255
nayna-patelb4989b32013-01-09 06:25:13 +0000256# Number of seconds to time on waiting for a container to container
257# synchronization complete
258container_sync_timeout = 120
259# Number of seconds to wait while looping to check the status of a
260# container to container synchronization
261container_sync_interval = 5
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800262
Attila Fazekasa23f5002012-10-23 19:32:45 +0200263[boto]
264# This section contains configuration options used when executing tests
265# with boto.
266
267# EC2 URL
268ec2_url = http://localhost:8773/services/Cloud
269# S3 URL
270s3_url = http://localhost:3333
271
272# Use keystone ec2-* command to get those values for your test user and tenant
273aws_access =
274aws_secret =
275
Attila Fazekasa23f5002012-10-23 19:32:45 +0200276#Image materials for S3 upload
277# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030278s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200279
280# The manifest.xml files, must be in the s3_materials_path directory
281# Subdirectories not allowed!
282# The filenames will be used as a Keys in the S3 Buckets
283
284#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030285ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200286
287#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030288ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200289
290#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030291aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200292
293#Instance type
294instance_type = m1.tiny
295
296#TCP/IP connection timeout
297http_socket_timeout = 5
298
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100299#Number of retries actions on connection or 5xx error
300num_retries = 1
301
Attila Fazekasa23f5002012-10-23 19:32:45 +0200302# Status change wait timout
303build_timeout = 120
304
305# Status change wait interval
306build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200307
308[orchestration]
309# Status change wait interval
310build_interval = 1
311
312# Status change wait timout. This may vary across environments as some some
313# tests spawn full VMs, which could be slow if the test is already in a VM.
314build_timeout = 300
315
Steve Bakerc60e4e32013-05-06 15:22:41 +1200316# Instance type for tests. Needs to be big enough for a
317# full OS plus the test workload
Steve Baker9e86b832013-05-22 15:40:28 +1200318instance_type = m1.micro
Steve Bakerc60e4e32013-05-06 15:22:41 +1200319
320# Name of heat-cfntools enabled image to use when launching test instances
321# If not specified, tests that spawn instances will not run
322#image_ref = ubuntu-vm-heat-cfntools
323
324# Name of existing keypair to launch servers with. The default is not to specify
325# any key, which will generate a keypair for each test class
326#keypair_name = heat_key
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900327
Julie Pichond1017642013-07-24 16:37:23 +0100328[dashboard]
329# URL where to find the dashboard home page
330dashboard_url = 'http://localhost/'
331
332# URL where to submit the login form
333login_url = 'http://localhost/auth/login/'
334
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900335[scenario]
336# Directory containing image files
337img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
338
339# AMI image file name
340ami_img_file = cirros-0.3.1-x86_64-blank.img
341
342# ARI image file name
343ari_img_file = cirros-0.3.1-x86_64-initrd
344
345# AKI image file name
346aki_img_file = cirros-0.3.1-x86_64-vmlinuz
347
348# ssh username for the image file
349ssh_user = cirros
Attila Fazekas86950732013-06-08 09:33:08 +0200350
Joe Gordonb5e10cd2013-07-10 15:51:12 +0000351# specifies how many resources to request at once. Used for large operations
352# testing."
353large_ops_number = 0
354
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500355[cli]
Attila Fazekas86950732013-06-08 09:33:08 +0200356# Enable cli tests
357enabled = True
358# directory where python client binaries are located
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500359cli_dir = /usr/local/bin
Matthew Treinish4c412922013-07-16 15:27:42 -0400360
361[service_available]
362# Whether or not cinder is expected to be available
363cinder = True
Matthew Treinishfaa340d2013-07-19 16:26:21 -0400364# Whether or not neutron is expected to be available
365neutron = false
Matthew Treinish853ae442013-07-19 16:36:07 -0400366# Whether or not glance is expected to be available
367glance = True
Matthew Treinish61e332b2013-07-19 16:42:31 -0400368# Whether or not swift is expected to be available
369swift = True
Matthew Treinish6b41e242013-07-19 16:49:28 -0400370# Whether or not nova is expected to be available
371nova = True
Matthew Treinisha9d43882013-07-19 16:54:52 -0400372# Whether or not Heat is expected to be available
373heat = false
Julie Pichond1017642013-07-24 16:37:23 +0100374# Whether or not horizon is expected to be available
375horizon = True