blob: 12a57dbdbdaeaaac4df16e01d102486e3a6b0de7 [file] [log] [blame]
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -04001[DEFAULT]
2# 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
Daryl Walleck587385b2012-03-03 13:00:26 -060013[identity]
Jay Pipes3f981df2012-03-27 18:59:44 -040014# This section contains configuration options that a variety of Tempest
15# test clients use when authenticating with different user/tenant
16# combinations
17
chris fattarsi8ed39ac2012-04-30 14:11:27 -070018# The type of endpoint for a Identity service. Unless you have a
19# custom Keystone service catalog implementation, you probably want to leave
20# this value as "identity"
21catalog_type = identity
Jay Pipescd8eaec2013-01-16 21:03:48 -050022# Ignore SSL certificate validation failures? Use when in testing
23# environments that have self-signed SSL certs.
24disable_ssl_certificate_validation = False
Jay Pipes7c88eb22013-01-16 21:32:43 -050025# URL for where to find the OpenStack Identity API endpoint (Keystone)
26uri = http://127.0.0.1:5000/v2.0/
Brant Knudsonc7ca3342013-03-28 21:08:50 -050027# URL for where to find the OpenStack V3 Identity API endpoint (Keystone)
28uri_v3 = http://127.0.0.1:5000/v3/
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080029# The identity region
30region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060031
Attila Fazekascadcb1f2013-01-21 23:10:53 +010032# This should be the username of a user WITHOUT administrative privileges
33username = demo
34# The above non-administrative user's password
35password = secret
36# The above non-administrative user's tenant name
37tenant_name = demo
38
39# This should be the username of an alternate user WITHOUT
40# administrative privileges
41alt_username = alt_demo
42# The above non-administrative user's password
43alt_password = secret
44# The above non-administrative user's tenant name
45alt_tenant_name = alt_demo
46
47# This should be the username of a user WITH administrative privileges
48admin_username = admin
Maru Newby28c1dce2013-04-08 20:02:06 +000049# The above administrative user's password
Attila Fazekascadcb1f2013-01-21 23:10:53 +010050admin_password = secret
Maru Newby28c1dce2013-04-08 20:02:06 +000051# The above administrative user's tenant name
Attila Fazekascadcb1f2013-01-21 23:10:53 +010052admin_tenant_name = admin
53
Daryl Walleck587385b2012-03-03 13:00:26 -060054[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040055# This section contains configuration options used when executing tests
56# against the OpenStack Compute API.
57
Jay Pipesf38eaac2012-06-21 13:37:35 -040058# Allows test cases to create/destroy tenants and users. This option
59# enables isolated test cases and better parallel execution,
60# but also requires that OpenStack Identity API admin credentials
61# are known.
62allow_tenant_isolation = true
63
Dan Smithd6ff6b72012-08-23 10:29:41 -070064# 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_reuse = true
69
Daryl Walleck587385b2012-03-03 13:00:26 -060070# Reference data for tests. The ref and ref_alt should be
71# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040072image_ref = {$IMAGE_ID}
73image_ref_alt = {$IMAGE_ID_ALT}
74flavor_ref = 1
75flavor_ref_alt = 2
76
Maru Newbyaf292e82013-05-20 21:32:28 +000077# User names used to authenticate to an instance for a given image.
78image_ssh_user = root
79image_alt_ssh_user = root
80
Jay Pipes3f981df2012-03-27 18:59:44 -040081# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070082# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040083build_interval = 10
84
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070085# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040086# to build or reach an expected status
87build_timeout = 600
88
Daryl Walleck6b9b2882012-04-08 21:43:39 -050089# Run additional tests that use SSH for instance validation?
90# This requires the instances be routable from the host
91# executing the tests
92run_ssh = false
93
94# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010095ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050096
Attila Fazekasb0661652013-05-08 13:01:36 +020097# Visible fixed network name
98fixed_network_name = private
99
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500100# Network id used for SSH (public, private, etc)
Matt Riedemanna80778d2013-07-31 03:37:41 -0700101network_for_ssh = public
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500102
103# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100104ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500105
Nachi Ueno6d580be2013-07-24 10:58:11 -0700106# Number of seconds to wait to ping to an instance
107ping_timeout = 60
108
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500109# Number of seconds to wait to authenticate to an instance
110ssh_timeout = 300
111
Chris Yeoh76916042013-02-27 16:25:25 +1030112# Number of seconds to wait for output from ssh channel
113ssh_channel_timeout = 60
114
fujioka yuuichia11994e2013-07-09 11:19:51 +0900115# Dose the SSH uses Floating IP?
116use_floatingip_for_ssh = True
117
Jay Pipes3f981df2012-03-27 18:59:44 -0400118# The type of endpoint for a Compute API service. Unless you have a
119# custom Keystone service catalog implementation, you probably want to leave
120# this value as "compute"
121catalog_type = compute
122
123# Does the Compute API support creation of images?
124create_image_enabled = true
125
David Kranz30fe84a2012-03-20 16:25:47 -0400126# For resize to work with libvirt/kvm, one of the following must be true:
127# Single node: allow_resize_to_same_host=True must be set in nova.conf
128# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400129resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600130
David Kranzf97d5fd2012-07-30 13:46:45 -0400131# Does the compute API support changing the admin password?
132change_password_available=true
133
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100134# Run live migration tests (requires 2 hosts)
135live_migration_available = false
136
137# Use block live migration (Otherwise, non-block migration will be
138# performed, which requires XenServer pools in case of using XS)
139use_block_migration_for_live_migration = false
140
Bob Ballc078be92013-04-09 14:25:00 +0100141# Supports iSCSI block migration - depends on a XAPI supporting
142# relax-xsm-sr-check
143block_migrate_supports_cinder_iscsi = false
144
Attila Fazekas86950732013-06-08 09:33:08 +0200145# When set to false, disk config tests are forced to skip
146disk_config_enabled = true
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100147
Attila Fazekas86950732013-06-08 09:33:08 +0200148# When set to false, flavor extra data tests are forced to skip
149flavor_extra_enabled = true
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100150
151[whitebox]
152# Whitebox options for compute. Whitebox options enable the
153# whitebox test cases, which look at internal Nova database state,
154# SSH into VMs to check instance state, etc.
155
Jay Pipes051075a2012-04-28 17:39:37 -0400156# Should we run whitebox tests for Compute?
157whitebox_enabled = true
158
159# Path of nova source directory
160source_dir = /opt/stack/nova
161
162# Path of nova configuration file
163config_path = /etc/nova/nova.conf
164
165# Directory containing nova binaries such as nova-manage
166bin_dir = /usr/local/bin
167
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100168# Connection string to the database of Compute service
169db_uri = mysql://nova:secret@localhost/nova
170
Jay Pipes051075a2012-04-28 17:39:37 -0400171# Path to a private key file for SSH access to remote hosts
172path_to_private_key = /home/user/.ssh/id_rsa
173
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100174[compute-admin]
175# This should be the username of a user WITH administrative privileges
176# If not defined the admin user from the identity section will be used
177username =
178# The above administrative user's password
179password =
180# The above administrative user's tenant name
181tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000182
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500183[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400184# This section contains configuration options used when executing tests
185# against the OpenStack Images API
186
Jay Pipesad6feca2012-04-30 15:10:18 -0400187# The type of endpoint for an Image API service. Unless you have a
188# custom Keystone service catalog implementation, you probably want to leave
189# this value as "image"
190catalog_type = image
191
192# The version of the OpenStack Images API to use
193api_version = 1
194
Sean Dague83401992013-05-06 17:46:36 -0400195# HTTP image to use for glance http image testing
196http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
197
Unmesh Gurjar44986832012-05-08 19:57:10 +0530198[network]
199# This section contains configuration options used when executing tests
200# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700201
Mark McClainf2982e82013-07-06 17:48:03 -0400202# Version of the Neutron API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530203api_version = v1.1
Mark McClainf2982e82013-07-06 17:48:03 -0400204# Catalog type of the Neutron Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530205catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400206
Maru Newby81f07a02012-09-05 20:21:19 -0700207# A large private cidr block from which to allocate smaller blocks for
208# tenant networks.
209tenant_network_cidr = 10.100.0.0/16
210
211# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000212tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700213
214# If tenant networks are reachable, connectivity checks will be
215# performed directly against addresses on those networks.
216tenant_networks_reachable = false
217
218# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000219public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700220
221# Id of a shared public router that provides external connectivity.
222# A shared public router would commonly be used where IP namespaces
223# were disabled. If namespaces are enabled, it would be preferable
224# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000225public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700226
Dan Smithd6c1f882013-02-26 15:50:11 -0500227
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700228[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800229# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700230# against the OpenStack Block Storage API service
231
232# The type of endpoint for a Cinder or Block Storage API service.
233# Unless you have a custom Keystone service catalog implementation, you
234# probably want to leave this value as "volume"
235catalog_type = volume
236# Number of seconds to wait while looping to check the status of a
237# volume that is being made available
238build_interval = 10
239# Number of seconds to time out on waiting for a volume
240# to be available or reach an expected status
241build_timeout = 300
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200242# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100243# They must have different volume_backend_name (backend1_name and backend2_name
244# have to be different)
245multi_backend_enabled = false
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200246backend1_name = BACKEND_1
247backend2_name = BACKEND_2
Adam Gandelman827ad332013-06-24 17:04:09 -0700248# Protocol and vendor of volume backend to target when testing volume-types.
249# You should update to reflect those exported by configured backend driver.
250storage_protocol = iSCSI
251vendor_name = Open Source
dwalleck5d734432012-10-04 01:11:47 -0500252
253[object-storage]
254# This section contains configuration options used when executing tests
255# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100256
257# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500258
259# The type of endpoint for an Object Storage API service. Unless you have a
260# custom Keystone service catalog implementation, you probably want to leave
261# this value as "object-store"
262catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200263
nayna-patelb4989b32013-01-09 06:25:13 +0000264# Number of seconds to time on waiting for a container to container
265# synchronization complete
266container_sync_timeout = 120
267# Number of seconds to wait while looping to check the status of a
268# container to container synchronization
269container_sync_interval = 5
Joe H. Rahme2b312572013-07-31 17:53:23 +0200270# Set to True if the Account Quota middleware is enabled
271accounts_quotas_available = True
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800272
Attila Fazekasa23f5002012-10-23 19:32:45 +0200273[boto]
274# This section contains configuration options used when executing tests
275# with boto.
276
277# EC2 URL
278ec2_url = http://localhost:8773/services/Cloud
279# S3 URL
280s3_url = http://localhost:3333
281
282# Use keystone ec2-* command to get those values for your test user and tenant
283aws_access =
284aws_secret =
285
Attila Fazekasa23f5002012-10-23 19:32:45 +0200286#Image materials for S3 upload
287# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030288s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200289
290# The manifest.xml files, must be in the s3_materials_path directory
291# Subdirectories not allowed!
292# The filenames will be used as a Keys in the S3 Buckets
293
294#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030295ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200296
297#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030298ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200299
300#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030301aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200302
303#Instance type
304instance_type = m1.tiny
305
306#TCP/IP connection timeout
307http_socket_timeout = 5
308
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100309#Number of retries actions on connection or 5xx error
310num_retries = 1
311
Attila Fazekasa23f5002012-10-23 19:32:45 +0200312# Status change wait timout
313build_timeout = 120
314
315# Status change wait interval
316build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200317
318[orchestration]
319# Status change wait interval
320build_interval = 1
321
322# Status change wait timout. This may vary across environments as some some
323# tests spawn full VMs, which could be slow if the test is already in a VM.
324build_timeout = 300
325
Steve Bakerc60e4e32013-05-06 15:22:41 +1200326# Instance type for tests. Needs to be big enough for a
327# full OS plus the test workload
Steve Baker9e86b832013-05-22 15:40:28 +1200328instance_type = m1.micro
Steve Bakerc60e4e32013-05-06 15:22:41 +1200329
330# Name of heat-cfntools enabled image to use when launching test instances
331# If not specified, tests that spawn instances will not run
332#image_ref = ubuntu-vm-heat-cfntools
333
334# Name of existing keypair to launch servers with. The default is not to specify
335# any key, which will generate a keypair for each test class
336#keypair_name = heat_key
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900337
Julie Pichond1017642013-07-24 16:37:23 +0100338[dashboard]
339# URL where to find the dashboard home page
340dashboard_url = 'http://localhost/'
341
342# URL where to submit the login form
343login_url = 'http://localhost/auth/login/'
344
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900345[scenario]
346# Directory containing image files
347img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
348
349# AMI image file name
350ami_img_file = cirros-0.3.1-x86_64-blank.img
351
352# ARI image file name
353ari_img_file = cirros-0.3.1-x86_64-initrd
354
355# AKI image file name
356aki_img_file = cirros-0.3.1-x86_64-vmlinuz
357
358# ssh username for the image file
359ssh_user = cirros
Attila Fazekas86950732013-06-08 09:33:08 +0200360
Joe Gordonb5e10cd2013-07-10 15:51:12 +0000361# specifies how many resources to request at once. Used for large operations
362# testing."
363large_ops_number = 0
364
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500365[cli]
Attila Fazekas86950732013-06-08 09:33:08 +0200366# Enable cli tests
367enabled = True
368# directory where python client binaries are located
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500369cli_dir = /usr/local/bin
Matt Riedemannab038c92013-08-06 06:56:48 -0700370# Number of seconds to wait on a CLI timeout
371timeout = 15
Matthew Treinish4c412922013-07-16 15:27:42 -0400372
373[service_available]
374# Whether or not cinder is expected to be available
375cinder = True
Matthew Treinishfaa340d2013-07-19 16:26:21 -0400376# Whether or not neutron is expected to be available
377neutron = false
Matthew Treinish853ae442013-07-19 16:36:07 -0400378# Whether or not glance is expected to be available
379glance = True
Matthew Treinish61e332b2013-07-19 16:42:31 -0400380# Whether or not swift is expected to be available
381swift = True
Matthew Treinish6b41e242013-07-19 16:49:28 -0400382# Whether or not nova is expected to be available
383nova = True
Matthew Treinisha9d43882013-07-19 16:54:52 -0400384# Whether or not Heat is expected to be available
385heat = false
Julie Pichond1017642013-07-24 16:37:23 +0100386# Whether or not horizon is expected to be available
387horizon = True