blob: d39ef707dc573b11bde451c57ee740a52e50675a [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/
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080031# The identity region
32region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060033
Attila Fazekascadcb1f2013-01-21 23:10:53 +010034# This should be the username of a user WITHOUT administrative privileges
35username = demo
36# The above non-administrative user's password
37password = secret
38# The above non-administrative user's tenant name
39tenant_name = demo
40
41# This should be the username of an alternate user WITHOUT
42# administrative privileges
43alt_username = alt_demo
44# The above non-administrative user's password
45alt_password = secret
46# The above non-administrative user's tenant name
47alt_tenant_name = alt_demo
48
49# This should be the username of a user WITH administrative privileges
50admin_username = admin
Maru Newby28c1dce2013-04-08 20:02:06 +000051# The above administrative user's password
Attila Fazekascadcb1f2013-01-21 23:10:53 +010052admin_password = secret
Maru Newby28c1dce2013-04-08 20:02:06 +000053# The above administrative user's tenant name
Attila Fazekascadcb1f2013-01-21 23:10:53 +010054admin_tenant_name = admin
55
Daryl Walleck587385b2012-03-03 13:00:26 -060056[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040057# This section contains configuration options used when executing tests
58# against the OpenStack Compute API.
59
Jay Pipesf38eaac2012-06-21 13:37:35 -040060# Allows test cases to create/destroy tenants and users. This option
61# enables isolated test cases and better parallel execution,
62# but also requires that OpenStack Identity API admin credentials
63# are known.
64allow_tenant_isolation = true
65
Dan Smithd6ff6b72012-08-23 10:29:41 -070066# Allows test cases to create/destroy tenants and users. This option
67# enables isolated test cases and better parallel execution,
68# but also requires that OpenStack Identity API admin credentials
69# are known.
70allow_tenant_reuse = true
71
Daryl Walleck587385b2012-03-03 13:00:26 -060072# Reference data for tests. The ref and ref_alt should be
73# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040074image_ref = {$IMAGE_ID}
75image_ref_alt = {$IMAGE_ID_ALT}
76flavor_ref = 1
77flavor_ref_alt = 2
78
Maru Newbyaf292e82013-05-20 21:32:28 +000079# User names used to authenticate to an instance for a given image.
80image_ssh_user = root
81image_alt_ssh_user = root
82
Jay Pipes3f981df2012-03-27 18:59:44 -040083# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070084# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040085build_interval = 10
86
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070087# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040088# to build or reach an expected status
89build_timeout = 600
90
Daryl Walleck6b9b2882012-04-08 21:43:39 -050091# Run additional tests that use SSH for instance validation?
92# This requires the instances be routable from the host
93# executing the tests
94run_ssh = false
95
96# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010097ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050098
Attila Fazekasb0661652013-05-08 13:01:36 +020099# Visible fixed network name
100fixed_network_name = private
101
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500102# Network id used for SSH (public, private, etc)
Matt Riedemanna80778d2013-07-31 03:37:41 -0700103network_for_ssh = public
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500104
105# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100106ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500107
Nachi Ueno6d580be2013-07-24 10:58:11 -0700108# Number of seconds to wait to ping to an instance
109ping_timeout = 60
110
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500111# Number of seconds to wait to authenticate to an instance
112ssh_timeout = 300
113
Chris Yeoh76916042013-02-27 16:25:25 +1030114# Number of seconds to wait for output from ssh channel
115ssh_channel_timeout = 60
116
fujioka yuuichia11994e2013-07-09 11:19:51 +0900117# Dose the SSH uses Floating IP?
118use_floatingip_for_ssh = True
119
Jay Pipes3f981df2012-03-27 18:59:44 -0400120# The type of endpoint for a Compute API service. Unless you have a
121# custom Keystone service catalog implementation, you probably want to leave
122# this value as "compute"
123catalog_type = compute
124
125# Does the Compute API support creation of images?
126create_image_enabled = true
127
David Kranz30fe84a2012-03-20 16:25:47 -0400128# For resize to work with libvirt/kvm, one of the following must be true:
129# Single node: allow_resize_to_same_host=True must be set in nova.conf
130# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400131resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600132
David Kranzf97d5fd2012-07-30 13:46:45 -0400133# Does the compute API support changing the admin password?
134change_password_available=true
135
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100136# Run live migration tests (requires 2 hosts)
137live_migration_available = false
138
139# Use block live migration (Otherwise, non-block migration will be
140# performed, which requires XenServer pools in case of using XS)
141use_block_migration_for_live_migration = false
142
Bob Ballc078be92013-04-09 14:25:00 +0100143# Supports iSCSI block migration - depends on a XAPI supporting
144# relax-xsm-sr-check
145block_migrate_supports_cinder_iscsi = false
146
Attila Fazekas86950732013-06-08 09:33:08 +0200147# When set to false, disk config tests are forced to skip
148disk_config_enabled = true
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100149
Attila Fazekas86950732013-06-08 09:33:08 +0200150# When set to false, flavor extra data tests are forced to skip
151flavor_extra_enabled = true
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100152
153[whitebox]
154# Whitebox options for compute. Whitebox options enable the
155# whitebox test cases, which look at internal Nova database state,
156# SSH into VMs to check instance state, etc.
157
Jay Pipes051075a2012-04-28 17:39:37 -0400158# Should we run whitebox tests for Compute?
159whitebox_enabled = true
160
161# Path of nova source directory
162source_dir = /opt/stack/nova
163
164# Path of nova configuration file
165config_path = /etc/nova/nova.conf
166
167# Directory containing nova binaries such as nova-manage
168bin_dir = /usr/local/bin
169
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100170# Connection string to the database of Compute service
171db_uri = mysql://nova:secret@localhost/nova
172
Jay Pipes051075a2012-04-28 17:39:37 -0400173# Path to a private key file for SSH access to remote hosts
174path_to_private_key = /home/user/.ssh/id_rsa
175
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100176[compute-admin]
177# This should be the username of a user WITH administrative privileges
178# If not defined the admin user from the identity section will be used
179username =
180# The above administrative user's password
181password =
182# The above administrative user's tenant name
183tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000184
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500185[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400186# This section contains configuration options used when executing tests
187# against the OpenStack Images API
188
Jay Pipesad6feca2012-04-30 15:10:18 -0400189# The type of endpoint for an Image API service. Unless you have a
190# custom Keystone service catalog implementation, you probably want to leave
191# this value as "image"
192catalog_type = image
193
194# The version of the OpenStack Images API to use
195api_version = 1
196
Sean Dague83401992013-05-06 17:46:36 -0400197# HTTP image to use for glance http image testing
198http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
199
Unmesh Gurjar44986832012-05-08 19:57:10 +0530200[network]
201# This section contains configuration options used when executing tests
202# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700203
Mark McClainf2982e82013-07-06 17:48:03 -0400204# Version of the Neutron API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530205api_version = v1.1
Mark McClainf2982e82013-07-06 17:48:03 -0400206# Catalog type of the Neutron Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530207catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400208
Maru Newby81f07a02012-09-05 20:21:19 -0700209# A large private cidr block from which to allocate smaller blocks for
210# tenant networks.
211tenant_network_cidr = 10.100.0.0/16
212
213# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000214tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700215
216# If tenant networks are reachable, connectivity checks will be
217# performed directly against addresses on those networks.
218tenant_networks_reachable = false
219
220# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000221public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700222
223# Id of a shared public router that provides external connectivity.
224# A shared public router would commonly be used where IP namespaces
225# were disabled. If namespaces are enabled, it would be preferable
226# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000227public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700228
Dan Smithd6c1f882013-02-26 15:50:11 -0500229
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700230[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800231# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700232# against the OpenStack Block Storage API service
233
234# The type of endpoint for a Cinder or Block Storage API service.
235# Unless you have a custom Keystone service catalog implementation, you
236# probably want to leave this value as "volume"
237catalog_type = volume
238# Number of seconds to wait while looping to check the status of a
239# volume that is being made available
240build_interval = 10
241# Number of seconds to time out on waiting for a volume
242# to be available or reach an expected status
243build_timeout = 300
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200244# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100245# They must have different volume_backend_name (backend1_name and backend2_name
246# have to be different)
247multi_backend_enabled = false
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200248backend1_name = BACKEND_1
249backend2_name = BACKEND_2
Adam Gandelman827ad332013-06-24 17:04:09 -0700250# Protocol and vendor of volume backend to target when testing volume-types.
251# You should update to reflect those exported by configured backend driver.
252storage_protocol = iSCSI
253vendor_name = Open Source
dwalleck5d734432012-10-04 01:11:47 -0500254
255[object-storage]
256# This section contains configuration options used when executing tests
257# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100258
259# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500260
261# The type of endpoint for an Object Storage API service. Unless you have a
262# custom Keystone service catalog implementation, you probably want to leave
263# this value as "object-store"
264catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200265
nayna-patelb4989b32013-01-09 06:25:13 +0000266# Number of seconds to time on waiting for a container to container
267# synchronization complete
268container_sync_timeout = 120
269# Number of seconds to wait while looping to check the status of a
270# container to container synchronization
271container_sync_interval = 5
Joe H. Rahme2b312572013-07-31 17:53:23 +0200272# Set to True if the Account Quota middleware is enabled
273accounts_quotas_available = True
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800274
Matthew Treinish3fdb80c2013-08-15 11:13:19 -0400275# Set operator role for tests that require creating a container
276operator_role = Member
277
Attila Fazekasa23f5002012-10-23 19:32:45 +0200278[boto]
279# This section contains configuration options used when executing tests
280# with boto.
281
282# EC2 URL
283ec2_url = http://localhost:8773/services/Cloud
284# S3 URL
285s3_url = http://localhost:3333
286
287# Use keystone ec2-* command to get those values for your test user and tenant
288aws_access =
289aws_secret =
290
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200291# Image materials for S3 upload
Attila Fazekasa23f5002012-10-23 19:32:45 +0200292# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030293s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200294
295# The manifest.xml files, must be in the s3_materials_path directory
296# Subdirectories not allowed!
297# The filenames will be used as a Keys in the S3 Buckets
298
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200299# ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030300ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200301
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200302# AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030303ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200304
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200305# AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030306aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200307
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200308# Instance type
Attila Fazekasa23f5002012-10-23 19:32:45 +0200309instance_type = m1.tiny
310
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200311# TCP/IP connection timeout
Attila Fazekasa23f5002012-10-23 19:32:45 +0200312http_socket_timeout = 5
313
Attila Fazekasc3a095b2013-08-17 09:15:44 +0200314# Number of retries actions on connection or 5xx error
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100315num_retries = 1
316
Attila Fazekasa23f5002012-10-23 19:32:45 +0200317# Status change wait timout
318build_timeout = 120
319
320# Status change wait interval
321build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200322
323[orchestration]
324# Status change wait interval
325build_interval = 1
326
327# Status change wait timout. This may vary across environments as some some
328# tests spawn full VMs, which could be slow if the test is already in a VM.
329build_timeout = 300
330
Steve Bakerc60e4e32013-05-06 15:22:41 +1200331# Instance type for tests. Needs to be big enough for a
332# full OS plus the test workload
Steve Baker9e86b832013-05-22 15:40:28 +1200333instance_type = m1.micro
Steve Bakerc60e4e32013-05-06 15:22:41 +1200334
335# Name of heat-cfntools enabled image to use when launching test instances
336# If not specified, tests that spawn instances will not run
337#image_ref = ubuntu-vm-heat-cfntools
338
339# Name of existing keypair to launch servers with. The default is not to specify
340# any key, which will generate a keypair for each test class
341#keypair_name = heat_key
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900342
Julie Pichond1017642013-07-24 16:37:23 +0100343[dashboard]
344# URL where to find the dashboard home page
345dashboard_url = 'http://localhost/'
346
347# URL where to submit the login form
348login_url = 'http://localhost/auth/login/'
349
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900350[scenario]
351# Directory containing image files
352img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
353
354# AMI image file name
355ami_img_file = cirros-0.3.1-x86_64-blank.img
356
357# ARI image file name
358ari_img_file = cirros-0.3.1-x86_64-initrd
359
360# AKI image file name
361aki_img_file = cirros-0.3.1-x86_64-vmlinuz
362
363# ssh username for the image file
364ssh_user = cirros
Attila Fazekas86950732013-06-08 09:33:08 +0200365
Joe Gordonb5e10cd2013-07-10 15:51:12 +0000366# specifies how many resources to request at once. Used for large operations
367# testing."
368large_ops_number = 0
369
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500370[cli]
Attila Fazekas86950732013-06-08 09:33:08 +0200371# Enable cli tests
372enabled = True
373# directory where python client binaries are located
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500374cli_dir = /usr/local/bin
Matt Riedemannab038c92013-08-06 06:56:48 -0700375# Number of seconds to wait on a CLI timeout
376timeout = 15
Matthew Treinish4c412922013-07-16 15:27:42 -0400377
378[service_available]
379# Whether or not cinder is expected to be available
380cinder = True
Matthew Treinishfaa340d2013-07-19 16:26:21 -0400381# Whether or not neutron is expected to be available
382neutron = false
Matthew Treinish853ae442013-07-19 16:36:07 -0400383# Whether or not glance is expected to be available
384glance = True
Matthew Treinish61e332b2013-07-19 16:42:31 -0400385# Whether or not swift is expected to be available
386swift = True
Matthew Treinish6b41e242013-07-19 16:49:28 -0400387# Whether or not nova is expected to be available
388nova = True
Matthew Treinisha9d43882013-07-19 16:54:52 -0400389# Whether or not Heat is expected to be available
390heat = false
Julie Pichond1017642013-07-24 16:37:23 +0100391# Whether or not horizon is expected to be available
392horizon = True
Marc Koderer32221b8e2013-08-23 13:57:50 +0200393
394[stress]
395# Maximum number of instances to create during test
396max_instances = 32
397# Time (in seconds) between log file error checks
398log_check_interval = 60
399# The default number of threads created while stress test
Jenkinse67416c2013-08-28 23:09:23 +0000400default_thread_number_per_action=4