blob: 356bb421e2cc562ae2fa6e403f5538f93f22c708 [file] [log] [blame]
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -04001[DEFAULT]
2# log_config = /opt/stack/tempest/etc/logging.conf.sample
3
Daryl Walleck587385b2012-03-03 13:00:26 -06004[identity]
Jay Pipes3f981df2012-03-27 18:59:44 -04005# This section contains configuration options that a variety of Tempest
6# test clients use when authenticating with different user/tenant
7# combinations
8
chris fattarsi8ed39ac2012-04-30 14:11:27 -07009# The type of endpoint for a Identity service. Unless you have a
10# custom Keystone service catalog implementation, you probably want to leave
11# this value as "identity"
12catalog_type = identity
Jay Pipescd8eaec2013-01-16 21:03:48 -050013# Ignore SSL certificate validation failures? Use when in testing
14# environments that have self-signed SSL certs.
15disable_ssl_certificate_validation = False
Jay Pipes7c88eb22013-01-16 21:32:43 -050016# URL for where to find the OpenStack Identity API endpoint (Keystone)
17uri = http://127.0.0.1:5000/v2.0/
Brant Knudsonc7ca3342013-03-28 21:08:50 -050018# URL for where to find the OpenStack V3 Identity API endpoint (Keystone)
19uri_v3 = http://127.0.0.1:5000/v3/
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
Maru Newbyaf292e82013-05-20 21:32:28 +000068# User names used to authenticate to an instance for a given image.
69image_ssh_user = root
70image_alt_ssh_user = root
71
Jay Pipes3f981df2012-03-27 18:59:44 -040072# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070073# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040074build_interval = 10
75
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070076# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040077# to build or reach an expected status
78build_timeout = 600
79
Daryl Walleck6b9b2882012-04-08 21:43:39 -050080# Run additional tests that use SSH for instance validation?
81# This requires the instances be routable from the host
82# executing the tests
83run_ssh = false
84
85# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010086ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050087
Attila Fazekasb0661652013-05-08 13:01:36 +020088# Visible fixed network name
89fixed_network_name = private
90
Daryl Walleck6b9b2882012-04-08 21:43:39 -050091# Network id used for SSH (public, private, etc)
Attila Fazekascadcb1f2013-01-21 23:10:53 +010092network_for_ssh = private
Daryl Walleck6b9b2882012-04-08 21:43:39 -050093
94# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +010095ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -050096
Nachi Ueno6d580be2013-07-24 10:58:11 -070097# Number of seconds to wait to ping to an instance
98ping_timeout = 60
99
Daryl Walleck6b9b2882012-04-08 21:43:39 -0500100# Number of seconds to wait to authenticate to an instance
101ssh_timeout = 300
102
Chris Yeoh76916042013-02-27 16:25:25 +1030103# Number of seconds to wait for output from ssh channel
104ssh_channel_timeout = 60
105
fujioka yuuichia11994e2013-07-09 11:19:51 +0900106# Dose the SSH uses Floating IP?
107use_floatingip_for_ssh = True
108
Jay Pipes3f981df2012-03-27 18:59:44 -0400109# The type of endpoint for a Compute API service. Unless you have a
110# custom Keystone service catalog implementation, you probably want to leave
111# this value as "compute"
112catalog_type = compute
113
114# Does the Compute API support creation of images?
115create_image_enabled = true
116
David Kranz30fe84a2012-03-20 16:25:47 -0400117# For resize to work with libvirt/kvm, one of the following must be true:
118# Single node: allow_resize_to_same_host=True must be set in nova.conf
119# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400120resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600121
David Kranzf97d5fd2012-07-30 13:46:45 -0400122# Does the compute API support changing the admin password?
123change_password_available=true
124
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100125# Run live migration tests (requires 2 hosts)
126live_migration_available = false
127
128# Use block live migration (Otherwise, non-block migration will be
129# performed, which requires XenServer pools in case of using XS)
130use_block_migration_for_live_migration = false
131
Bob Ballc078be92013-04-09 14:25:00 +0100132# Supports iSCSI block migration - depends on a XAPI supporting
133# relax-xsm-sr-check
134block_migrate_supports_cinder_iscsi = false
135
Attila Fazekas86950732013-06-08 09:33:08 +0200136# When set to false, disk config tests are forced to skip
137disk_config_enabled = true
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100138
Attila Fazekas86950732013-06-08 09:33:08 +0200139# When set to false, flavor extra data tests are forced to skip
140flavor_extra_enabled = true
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100141
142[whitebox]
143# Whitebox options for compute. Whitebox options enable the
144# whitebox test cases, which look at internal Nova database state,
145# SSH into VMs to check instance state, etc.
146
Jay Pipes051075a2012-04-28 17:39:37 -0400147# Should we run whitebox tests for Compute?
148whitebox_enabled = true
149
150# Path of nova source directory
151source_dir = /opt/stack/nova
152
153# Path of nova configuration file
154config_path = /etc/nova/nova.conf
155
156# Directory containing nova binaries such as nova-manage
157bin_dir = /usr/local/bin
158
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100159# Connection string to the database of Compute service
160db_uri = mysql://nova:secret@localhost/nova
161
Jay Pipes051075a2012-04-28 17:39:37 -0400162# Path to a private key file for SSH access to remote hosts
163path_to_private_key = /home/user/.ssh/id_rsa
164
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100165[compute-admin]
166# This should be the username of a user WITH administrative privileges
167# If not defined the admin user from the identity section will be used
168username =
169# The above administrative user's password
170password =
171# The above administrative user's tenant name
172tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000173
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500174[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400175# This section contains configuration options used when executing tests
176# against the OpenStack Images API
177
Jay Pipesad6feca2012-04-30 15:10:18 -0400178# The type of endpoint for an Image API service. Unless you have a
179# custom Keystone service catalog implementation, you probably want to leave
180# this value as "image"
181catalog_type = image
182
183# The version of the OpenStack Images API to use
184api_version = 1
185
Sean Dague83401992013-05-06 17:46:36 -0400186# HTTP image to use for glance http image testing
187http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
188
Unmesh Gurjar44986832012-05-08 19:57:10 +0530189[network]
190# This section contains configuration options used when executing tests
191# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700192
Mark McClainf2982e82013-07-06 17:48:03 -0400193# Version of the Neutron API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530194api_version = v1.1
Mark McClainf2982e82013-07-06 17:48:03 -0400195# Catalog type of the Neutron Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530196catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400197
Maru Newby81f07a02012-09-05 20:21:19 -0700198# A large private cidr block from which to allocate smaller blocks for
199# tenant networks.
200tenant_network_cidr = 10.100.0.0/16
201
202# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000203tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700204
205# If tenant networks are reachable, connectivity checks will be
206# performed directly against addresses on those networks.
207tenant_networks_reachable = false
208
209# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000210public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700211
212# Id of a shared public router that provides external connectivity.
213# A shared public router would commonly be used where IP namespaces
214# were disabled. If namespaces are enabled, it would be preferable
215# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000216public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700217
Dan Smithd6c1f882013-02-26 15:50:11 -0500218
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700219[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800220# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700221# against the OpenStack Block Storage API service
222
223# The type of endpoint for a Cinder or Block Storage API service.
224# Unless you have a custom Keystone service catalog implementation, you
225# probably want to leave this value as "volume"
226catalog_type = volume
227# Number of seconds to wait while looping to check the status of a
228# volume that is being made available
229build_interval = 10
230# Number of seconds to time out on waiting for a volume
231# to be available or reach an expected status
232build_timeout = 300
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200233# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100234# They must have different volume_backend_name (backend1_name and backend2_name
235# have to be different)
236multi_backend_enabled = false
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200237backend1_name = BACKEND_1
238backend2_name = BACKEND_2
Adam Gandelman827ad332013-06-24 17:04:09 -0700239# Protocol and vendor of volume backend to target when testing volume-types.
240# You should update to reflect those exported by configured backend driver.
241storage_protocol = iSCSI
242vendor_name = Open Source
dwalleck5d734432012-10-04 01:11:47 -0500243
244[object-storage]
245# This section contains configuration options used when executing tests
246# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100247
248# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500249
250# The type of endpoint for an Object Storage API service. Unless you have a
251# custom Keystone service catalog implementation, you probably want to leave
252# this value as "object-store"
253catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200254
nayna-patelb4989b32013-01-09 06:25:13 +0000255# Number of seconds to time on waiting for a container to container
256# synchronization complete
257container_sync_timeout = 120
258# Number of seconds to wait while looping to check the status of a
259# container to container synchronization
260container_sync_interval = 5
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800261
Attila Fazekasa23f5002012-10-23 19:32:45 +0200262[boto]
263# This section contains configuration options used when executing tests
264# with boto.
265
266# EC2 URL
267ec2_url = http://localhost:8773/services/Cloud
268# S3 URL
269s3_url = http://localhost:3333
270
271# Use keystone ec2-* command to get those values for your test user and tenant
272aws_access =
273aws_secret =
274
Attila Fazekasa23f5002012-10-23 19:32:45 +0200275#Image materials for S3 upload
276# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030277s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200278
279# The manifest.xml files, must be in the s3_materials_path directory
280# Subdirectories not allowed!
281# The filenames will be used as a Keys in the S3 Buckets
282
283#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030284ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200285
286#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030287ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200288
289#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030290aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200291
292#Instance type
293instance_type = m1.tiny
294
295#TCP/IP connection timeout
296http_socket_timeout = 5
297
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100298#Number of retries actions on connection or 5xx error
299num_retries = 1
300
Attila Fazekasa23f5002012-10-23 19:32:45 +0200301# Status change wait timout
302build_timeout = 120
303
304# Status change wait interval
305build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200306
307[orchestration]
308# Status change wait interval
309build_interval = 1
310
311# Status change wait timout. This may vary across environments as some some
312# tests spawn full VMs, which could be slow if the test is already in a VM.
313build_timeout = 300
314
Steve Bakerc60e4e32013-05-06 15:22:41 +1200315# Instance type for tests. Needs to be big enough for a
316# full OS plus the test workload
Steve Baker9e86b832013-05-22 15:40:28 +1200317instance_type = m1.micro
Steve Bakerc60e4e32013-05-06 15:22:41 +1200318
319# Name of heat-cfntools enabled image to use when launching test instances
320# If not specified, tests that spawn instances will not run
321#image_ref = ubuntu-vm-heat-cfntools
322
323# Name of existing keypair to launch servers with. The default is not to specify
324# any key, which will generate a keypair for each test class
325#keypair_name = heat_key
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900326
Julie Pichond1017642013-07-24 16:37:23 +0100327[dashboard]
328# URL where to find the dashboard home page
329dashboard_url = 'http://localhost/'
330
331# URL where to submit the login form
332login_url = 'http://localhost/auth/login/'
333
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900334[scenario]
335# Directory containing image files
336img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
337
338# AMI image file name
339ami_img_file = cirros-0.3.1-x86_64-blank.img
340
341# ARI image file name
342ari_img_file = cirros-0.3.1-x86_64-initrd
343
344# AKI image file name
345aki_img_file = cirros-0.3.1-x86_64-vmlinuz
346
347# ssh username for the image file
348ssh_user = cirros
Attila Fazekas86950732013-06-08 09:33:08 +0200349
Joe Gordonb5e10cd2013-07-10 15:51:12 +0000350# specifies how many resources to request at once. Used for large operations
351# testing."
352large_ops_number = 0
353
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500354[cli]
Attila Fazekas86950732013-06-08 09:33:08 +0200355# Enable cli tests
356enabled = True
357# directory where python client binaries are located
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500358cli_dir = /usr/local/bin
Matthew Treinish4c412922013-07-16 15:27:42 -0400359
360[service_available]
361# Whether or not cinder is expected to be available
362cinder = True
Matthew Treinishfaa340d2013-07-19 16:26:21 -0400363# Whether or not neutron is expected to be available
364neutron = false
Matthew Treinish853ae442013-07-19 16:36:07 -0400365# Whether or not glance is expected to be available
366glance = True
Matthew Treinish61e332b2013-07-19 16:42:31 -0400367# Whether or not swift is expected to be available
368swift = True
Matthew Treinish6b41e242013-07-19 16:49:28 -0400369# Whether or not nova is expected to be available
370nova = True
Matthew Treinisha9d43882013-07-19 16:54:52 -0400371# Whether or not Heat is expected to be available
372heat = false
Julie Pichond1017642013-07-24 16:37:23 +0100373# Whether or not horizon is expected to be available
374horizon = True