blob: 2ecace07d3e346c1dc274a2b2002707bbe2eb22e [file] [log] [blame]
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -04001[DEFAULT]
Attila Fazekasc3a095b2013-08-17 09:15:44 +02002#log_config = /opt/stack/tempest/etc/logging.conf.sample
Attila Fazekasbfd96e12013-07-31 17:19:10 +02003
4# disable logging to the stderr
5use_stderr = False
6
7# log file
8log_file = tempest.log
9
10# lock/semaphore base directory
Matthew Treinish07248e52013-07-26 11:18:44 -040011lock_path=/tmp
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -040012
Marc Kodererb714de52013-08-08 09:21:46 +020013default_log_levels=tempest.stress=INFO,amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN
14
Daryl Walleck587385b2012-03-03 13:00:26 -060015[identity]
Jay Pipes3f981df2012-03-27 18:59:44 -040016# This section contains configuration options that a variety of Tempest
17# test clients use when authenticating with different user/tenant
18# combinations
19
chris fattarsi8ed39ac2012-04-30 14:11:27 -070020# The type of endpoint for a Identity service. Unless you have a
21# custom Keystone service catalog implementation, you probably want to leave
22# this value as "identity"
23catalog_type = identity
Jay Pipescd8eaec2013-01-16 21:03:48 -050024# Ignore SSL certificate validation failures? Use when in testing
25# environments that have self-signed SSL certs.
26disable_ssl_certificate_validation = False
Jay Pipes7c88eb22013-01-16 21:32:43 -050027# URL for where to find the OpenStack Identity API endpoint (Keystone)
28uri = http://127.0.0.1:5000/v2.0/
Brant Knudsonc7ca3342013-03-28 21:08:50 -050029# URL for where to find the OpenStack V3 Identity API endpoint (Keystone)
30uri_v3 = http://127.0.0.1:5000/v3/
Arata Notsu8f440392013-09-13 16:14:20 +090031# The identity region. Also used as the other services' region name unless
32# they are set explicitly.
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080033region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060034
Attila Fazekascadcb1f2013-01-21 23:10:53 +010035# This should be the username of a user WITHOUT administrative privileges
36username = demo
37# The above non-administrative user's password
38password = secret
39# The above non-administrative user's tenant name
40tenant_name = demo
41
42# This should be the username of an alternate user WITHOUT
43# administrative privileges
44alt_username = alt_demo
45# The above non-administrative user's password
46alt_password = secret
47# The above non-administrative user's tenant name
48alt_tenant_name = alt_demo
49
50# This should be the username of a user WITH administrative privileges
51admin_username = admin
Maru Newby28c1dce2013-04-08 20:02:06 +000052# The above administrative user's password
Attila Fazekascadcb1f2013-01-21 23:10:53 +010053admin_password = secret
Maru Newby28c1dce2013-04-08 20:02:06 +000054# The above administrative user's tenant name
Attila Fazekascadcb1f2013-01-21 23:10:53 +010055admin_tenant_name = admin
56
Russell Sim7f894a52013-09-13 10:35:21 +100057# The role that is required to administrate keystone.
58admin_role = admin
59
Daryl Walleck587385b2012-03-03 13:00:26 -060060[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040061# This section contains configuration options used when executing tests
62# against the OpenStack Compute API.
63
Jay Pipesf38eaac2012-06-21 13:37:35 -040064# Allows test cases to create/destroy tenants and users. This option
65# enables isolated test cases and better parallel execution,
66# but also requires that OpenStack Identity API admin credentials
67# are known.
68allow_tenant_isolation = true
69
Dan Smithd6ff6b72012-08-23 10:29:41 -070070# Allows test cases to create/destroy tenants and users. This option
71# enables isolated test cases and better parallel execution,
72# but also requires that OpenStack Identity API admin credentials
73# are known.
74allow_tenant_reuse = true
75
Daryl Walleck587385b2012-03-03 13:00:26 -060076# Reference data for tests. The ref and ref_alt should be
77# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040078image_ref = {$IMAGE_ID}
79image_ref_alt = {$IMAGE_ID_ALT}
80flavor_ref = 1
81flavor_ref_alt = 2
82
Ryan Hsucb2e1252013-09-03 21:44:49 -070083# User name used to authenticate to an instance
Maru Newbyaf292e82013-05-20 21:32:28 +000084image_ssh_user = root
Ryan Hsucb2e1252013-09-03 21:44:49 -070085
86# Password used to authenticate to an instance
87image_ssh_password = password
88
89# User name used to authenticate to an instance using the alternate image
Maru Newbyaf292e82013-05-20 21:32:28 +000090image_alt_ssh_user = root
91
Ryan Hsucb2e1252013-09-03 21:44:49 -070092# Password used to authenticate to an instance using the alternate image
93image_alt_ssh_password = password
94
Jay Pipes3f981df2012-03-27 18:59:44 -040095# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070096# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040097build_interval = 10
98
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070099# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -0400100# to build or reach an expected status
101build_timeout = 600
102
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500103# Run additional tests that use SSH for instance validation?
104# This requires the instances be routable from the host
105# executing the tests
106run_ssh = false
107
Ryan Hsucb2e1252013-09-03 21:44:49 -0700108# Name of a user used to authenticate to an instance.
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100109ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500110
Attila Fazekasb0661652013-05-08 13:01:36 +0200111# Visible fixed network name
112fixed_network_name = private
113
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500114# Network id used for SSH (public, private, etc)
Matt Riedemanna80778d2013-07-31 03:37:41 -0700115network_for_ssh = public
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500116
117# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100118ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500119
Nachi Ueno6d580be2013-07-24 10:58:11 -0700120# Number of seconds to wait to ping to an instance
121ping_timeout = 60
122
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500123# Number of seconds to wait to authenticate to an instance
124ssh_timeout = 300
125
Attila Fazekas0abbc952013-07-01 19:19:42 +0200126# Additinal wait time for clean state, when there is
127# no OS-EXT-STS extension availiable
128ready_wait = 0
129
Chris Yeoh76916042013-02-27 16:25:25 +1030130# Number of seconds to wait for output from ssh channel
131ssh_channel_timeout = 60
132
fujioka yuuichia11994e2013-07-09 11:19:51 +0900133# Dose the SSH uses Floating IP?
134use_floatingip_for_ssh = True
135
Jay Pipes3f981df2012-03-27 18:59:44 -0400136# The type of endpoint for a Compute API service. Unless you have a
137# custom Keystone service catalog implementation, you probably want to leave
138# this value as "compute"
139catalog_type = compute
140
Arata Notsu8f440392013-09-13 16:14:20 +0900141# The name of a region for compute. If empty or commented-out, the value of
142# identity.region is used instead. If no such region is found in the service
143# catalog, the first found one is used.
144#region = RegionOne
145
Jay Pipes3f981df2012-03-27 18:59:44 -0400146# Does the Compute API support creation of images?
147create_image_enabled = true
148
David Kranz30fe84a2012-03-20 16:25:47 -0400149# For resize to work with libvirt/kvm, one of the following must be true:
150# Single node: allow_resize_to_same_host=True must be set in nova.conf
151# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400152resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600153
David Kranzf97d5fd2012-07-30 13:46:45 -0400154# Does the compute API support changing the admin password?
155change_password_available=true
156
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100157# Run live migration tests (requires 2 hosts)
158live_migration_available = false
159
160# Use block live migration (Otherwise, non-block migration will be
161# performed, which requires XenServer pools in case of using XS)
162use_block_migration_for_live_migration = false
163
Bob Ballc078be92013-04-09 14:25:00 +0100164# Supports iSCSI block migration - depends on a XAPI supporting
165# relax-xsm-sr-check
166block_migrate_supports_cinder_iscsi = false
167
Attila Fazekas86950732013-06-08 09:33:08 +0200168# When set to false, disk config tests are forced to skip
169disk_config_enabled = true
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100170
Attila Fazekas86950732013-06-08 09:33:08 +0200171# When set to false, flavor extra data tests are forced to skip
172flavor_extra_enabled = true
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100173
Ryan Hsucb2e1252013-09-03 21:44:49 -0700174# Expected first device name when a volume is attached to an instance
175volume_device_name = vdb
176
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100177[compute-admin]
178# This should be the username of a user WITH administrative privileges
179# If not defined the admin user from the identity section will be used
180username =
181# The above administrative user's password
182password =
183# The above administrative user's tenant name
184tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000185
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500186[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400187# This section contains configuration options used when executing tests
188# against the OpenStack Images API
189
Jay Pipesad6feca2012-04-30 15:10:18 -0400190# The type of endpoint for an Image API service. Unless you have a
191# custom Keystone service catalog implementation, you probably want to leave
192# this value as "image"
193catalog_type = image
194
Arata Notsu8f440392013-09-13 16:14:20 +0900195# The name of a region for image. If empty or commented-out, the value of
196# identity.region is used instead. If no such region is found in the service
197# catalog, the first found one is used.
198#region = RegionOne
199
Jay Pipesad6feca2012-04-30 15:10:18 -0400200# The version of the OpenStack Images API to use
201api_version = 1
202
Sean Dague83401992013-05-06 17:46:36 -0400203# HTTP image to use for glance http image testing
204http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
205
Unmesh Gurjar44986832012-05-08 19:57:10 +0530206[network]
207# This section contains configuration options used when executing tests
208# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700209
Mark McClainf2982e82013-07-06 17:48:03 -0400210# Version of the Neutron API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530211api_version = v1.1
Mark McClainf2982e82013-07-06 17:48:03 -0400212# Catalog type of the Neutron Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530213catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400214
Arata Notsu8f440392013-09-13 16:14:20 +0900215# The name of a region for network. If empty or commented-out, the value of
216# identity.region is used instead. If no such region is found in the service
217# catalog, the first found one is used.
218#region = RegionOne
219
Maru Newby81f07a02012-09-05 20:21:19 -0700220# A large private cidr block from which to allocate smaller blocks for
221# tenant networks.
222tenant_network_cidr = 10.100.0.0/16
223
224# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000225tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700226
227# If tenant networks are reachable, connectivity checks will be
228# performed directly against addresses on those networks.
229tenant_networks_reachable = false
230
231# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000232public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700233
234# Id of a shared public router that provides external connectivity.
235# A shared public router would commonly be used where IP namespaces
236# were disabled. If namespaces are enabled, it would be preferable
237# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000238public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700239
Dan Smithd6c1f882013-02-26 15:50:11 -0500240
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700241[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800242# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700243# against the OpenStack Block Storage API service
244
245# The type of endpoint for a Cinder or Block Storage API service.
246# Unless you have a custom Keystone service catalog implementation, you
247# probably want to leave this value as "volume"
248catalog_type = volume
Arata Notsu8f440392013-09-13 16:14:20 +0900249# The name of a region for volume. If empty or commented-out, the value of
250# identity.region is used instead. If no such region is found in the service
251# catalog, the first found one is used.
252#region = RegionOne
Ryan Hsua67f4632013-08-29 16:03:06 -0700253# The disk format to use when copying a volume to image
254disk_format = raw
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700255# Number of seconds to wait while looping to check the status of a
256# volume that is being made available
257build_interval = 10
258# Number of seconds to time out on waiting for a volume
259# to be available or reach an expected status
260build_timeout = 300
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200261# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100262# They must have different volume_backend_name (backend1_name and backend2_name
263# have to be different)
264multi_backend_enabled = false
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200265backend1_name = BACKEND_1
266backend2_name = BACKEND_2
Adam Gandelman827ad332013-06-24 17:04:09 -0700267# Protocol and vendor of volume backend to target when testing volume-types.
268# You should update to reflect those exported by configured backend driver.
269storage_protocol = iSCSI
270vendor_name = Open Source
dwalleck5d734432012-10-04 01:11:47 -0500271
272[object-storage]
273# This section contains configuration options used when executing tests
274# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100275
276# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500277
278# The type of endpoint for an Object Storage API service. Unless you have a
279# custom Keystone service catalog implementation, you probably want to leave
280# this value as "object-store"
281catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200282
Arata Notsu8f440392013-09-13 16:14:20 +0900283# The name of a region for object storage. If empty or commented-out, the
284# value of identity.region is used instead. If no such region is found in
285# the service catalog, the first found one is used.
286#region = RegionOne
287
nayna-patelb4989b32013-01-09 06:25:13 +0000288# Number of seconds to time on waiting for a container to container
289# synchronization complete
290container_sync_timeout = 120
291# Number of seconds to wait while looping to check the status of a
292# container to container synchronization
293container_sync_interval = 5
Joe H. Rahme2b312572013-07-31 17:53:23 +0200294# Set to True if the Account Quota middleware is enabled
295accounts_quotas_available = True
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800296
Matthew Treinish3fdb80c2013-08-15 11:13:19 -0400297# Set operator role for tests that require creating a container
298operator_role = Member
299
Attila Fazekasa23f5002012-10-23 19:32:45 +0200300[boto]
301# This section contains configuration options used when executing tests
302# with boto.
303
304# EC2 URL
305ec2_url = http://localhost:8773/services/Cloud
306# S3 URL
307s3_url = http://localhost:3333
308
309# Use keystone ec2-* command to get those values for your test user and tenant
310aws_access =
311aws_secret =
312
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200313# Image materials for S3 upload
Attila Fazekasa23f5002012-10-23 19:32:45 +0200314# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030315s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200316
317# The manifest.xml files, must be in the s3_materials_path directory
318# Subdirectories not allowed!
319# The filenames will be used as a Keys in the S3 Buckets
320
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200321# ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030322ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200323
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200324# AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030325ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200326
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200327# AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030328aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200329
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200330# Instance type
Attila Fazekasa23f5002012-10-23 19:32:45 +0200331instance_type = m1.tiny
332
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200333# TCP/IP connection timeout
Attila Fazekasa23f5002012-10-23 19:32:45 +0200334http_socket_timeout = 5
335
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200336# Number of retries actions on connection or 5xx error
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100337num_retries = 1
338
Attila Fazekasa23f5002012-10-23 19:32:45 +0200339# Status change wait timout
340build_timeout = 120
341
342# Status change wait interval
343build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200344
345[orchestration]
Arata Notsu8f440392013-09-13 16:14:20 +0900346# The type of endpoint for an Orchestration API service. Unless you have a
347# custom Keystone service catalog implementation, you probably want to leave
348# this value as "orchestration"
349catalog_type = orchestration
350
351# The name of a region for orchestration. If empty or commented-out, the value
352# of identity.region is used instead. If no such region is found in the service
353# catalog, the first found one is used.
354#region = RegionOne
355
Steve Bakerc60e4e32013-05-06 15:22:41 +1200356# Status change wait interval
357build_interval = 1
358
359# Status change wait timout. This may vary across environments as some some
360# tests spawn full VMs, which could be slow if the test is already in a VM.
361build_timeout = 300
362
Steve Bakerc60e4e32013-05-06 15:22:41 +1200363# Instance type for tests. Needs to be big enough for a
364# full OS plus the test workload
Steve Baker9e86b832013-05-22 15:40:28 +1200365instance_type = m1.micro
Steve Bakerc60e4e32013-05-06 15:22:41 +1200366
367# Name of heat-cfntools enabled image to use when launching test instances
368# If not specified, tests that spawn instances will not run
369#image_ref = ubuntu-vm-heat-cfntools
370
371# Name of existing keypair to launch servers with. The default is not to specify
372# any key, which will generate a keypair for each test class
373#keypair_name = heat_key
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900374
Julie Pichond1017642013-07-24 16:37:23 +0100375[dashboard]
376# URL where to find the dashboard home page
377dashboard_url = 'http://localhost/'
378
379# URL where to submit the login form
380login_url = 'http://localhost/auth/login/'
381
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900382[scenario]
383# Directory containing image files
384img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
385
386# AMI image file name
387ami_img_file = cirros-0.3.1-x86_64-blank.img
388
389# ARI image file name
390ari_img_file = cirros-0.3.1-x86_64-initrd
391
392# AKI image file name
393aki_img_file = cirros-0.3.1-x86_64-vmlinuz
394
395# ssh username for the image file
396ssh_user = cirros
Attila Fazekas86950732013-06-08 09:33:08 +0200397
Joe Gordonb5e10cd2013-07-10 15:51:12 +0000398# specifies how many resources to request at once. Used for large operations
399# testing."
400large_ops_number = 0
401
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500402[cli]
Attila Fazekas86950732013-06-08 09:33:08 +0200403# Enable cli tests
404enabled = True
405# directory where python client binaries are located
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500406cli_dir = /usr/local/bin
Matt Riedemannab038c92013-08-06 06:56:48 -0700407# Number of seconds to wait on a CLI timeout
408timeout = 15
Matthew Treinish4c412922013-07-16 15:27:42 -0400409
410[service_available]
411# Whether or not cinder is expected to be available
412cinder = True
Matthew Treinishfaa340d2013-07-19 16:26:21 -0400413# Whether or not neutron is expected to be available
414neutron = false
Matthew Treinish853ae442013-07-19 16:36:07 -0400415# Whether or not glance is expected to be available
416glance = True
Matthew Treinish61e332b2013-07-19 16:42:31 -0400417# Whether or not swift is expected to be available
418swift = True
Matthew Treinish6b41e242013-07-19 16:49:28 -0400419# Whether or not nova is expected to be available
420nova = True
Matthew Treinisha9d43882013-07-19 16:54:52 -0400421# Whether or not Heat is expected to be available
422heat = false
Julie Pichond1017642013-07-24 16:37:23 +0100423# Whether or not horizon is expected to be available
424horizon = True
Marc Koderer32221b8e2013-08-23 13:57:50 +0200425
426[stress]
427# Maximum number of instances to create during test
428max_instances = 32
429# Time (in seconds) between log file error checks
430log_check_interval = 60
431# The default number of threads created while stress test
Jenkinse67416c2013-08-28 23:09:23 +0000432default_thread_number_per_action=4