blob: 033bc82efaf9d0b96b4b7505d0870dd94b47351c [file] [log] [blame]
Daryl Walleck587385b2012-03-03 13:00:26 -06001[identity]
Jay Pipes3f981df2012-03-27 18:59:44 -04002# This section contains configuration options that a variety of Tempest
3# test clients use when authenticating with different user/tenant
4# combinations
5
chris fattarsi8ed39ac2012-04-30 14:11:27 -07006# The type of endpoint for a Identity service. Unless you have a
7# custom Keystone service catalog implementation, you probably want to leave
8# this value as "identity"
9catalog_type = identity
Jay Pipescd8eaec2013-01-16 21:03:48 -050010# Ignore SSL certificate validation failures? Use when in testing
11# environments that have self-signed SSL certs.
12disable_ssl_certificate_validation = False
Jay Pipes7c88eb22013-01-16 21:32:43 -050013# URL for where to find the OpenStack Identity API endpoint (Keystone)
14uri = http://127.0.0.1:5000/v2.0/
Brant Knudsonc7ca3342013-03-28 21:08:50 -050015# URL for where to find the OpenStack V3 Identity API endpoint (Keystone)
16uri_v3 = http://127.0.0.1:5000/v3/
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -080017# The identity region
18region = RegionOne
Daryl Walleck587385b2012-03-03 13:00:26 -060019
Attila Fazekascadcb1f2013-01-21 23:10:53 +010020# This should be the username of a user WITHOUT administrative privileges
21username = demo
22# The above non-administrative user's password
23password = secret
24# The above non-administrative user's tenant name
25tenant_name = demo
26
27# This should be the username of an alternate user WITHOUT
28# administrative privileges
29alt_username = alt_demo
30# The above non-administrative user's password
31alt_password = secret
32# The above non-administrative user's tenant name
33alt_tenant_name = alt_demo
34
35# This should be the username of a user WITH administrative privileges
36admin_username = admin
Maru Newby28c1dce2013-04-08 20:02:06 +000037# The above administrative user's password
Attila Fazekascadcb1f2013-01-21 23:10:53 +010038admin_password = secret
Maru Newby28c1dce2013-04-08 20:02:06 +000039# The above administrative user's tenant name
Attila Fazekascadcb1f2013-01-21 23:10:53 +010040admin_tenant_name = admin
41
Daryl Walleck587385b2012-03-03 13:00:26 -060042[compute]
Jay Pipes3f981df2012-03-27 18:59:44 -040043# This section contains configuration options used when executing tests
44# against the OpenStack Compute API.
45
Jay Pipesf38eaac2012-06-21 13:37:35 -040046# Allows test cases to create/destroy tenants and users. This option
47# enables isolated test cases and better parallel execution,
48# but also requires that OpenStack Identity API admin credentials
49# are known.
50allow_tenant_isolation = true
51
Dan Smithd6ff6b72012-08-23 10:29:41 -070052# Allows test cases to create/destroy tenants and users. This option
53# enables isolated test cases and better parallel execution,
54# but also requires that OpenStack Identity API admin credentials
55# are known.
56allow_tenant_reuse = true
57
Daryl Walleck587385b2012-03-03 13:00:26 -060058# Reference data for tests. The ref and ref_alt should be
59# distinct images/flavors.
Jay Pipes3f981df2012-03-27 18:59:44 -040060image_ref = {$IMAGE_ID}
61image_ref_alt = {$IMAGE_ID_ALT}
62flavor_ref = 1
63flavor_ref_alt = 2
64
Maru Newbyaf292e82013-05-20 21:32:28 +000065# User names used to authenticate to an instance for a given image.
66image_ssh_user = root
67image_alt_ssh_user = root
68
Jay Pipes3f981df2012-03-27 18:59:44 -040069# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070070# instance that is building.
Jay Pipes3f981df2012-03-27 18:59:44 -040071build_interval = 10
72
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070073# Number of seconds to time out on waiting for an instance
Jay Pipes3f981df2012-03-27 18:59:44 -040074# to build or reach an expected status
75build_timeout = 600
76
Daryl Walleck6b9b2882012-04-08 21:43:39 -050077# Run additional tests that use SSH for instance validation?
78# This requires the instances be routable from the host
79# executing the tests
80run_ssh = false
81
82# Name of a user used to authenticated to an instance
Attila Fazekascadcb1f2013-01-21 23:10:53 +010083ssh_user = cirros
Daryl Walleck6b9b2882012-04-08 21:43:39 -050084
Attila Fazekasb0661652013-05-08 13:01:36 +020085# Visible fixed network name
86fixed_network_name = private
87
Daryl Walleck6b9b2882012-04-08 21:43:39 -050088# Network id used for SSH (public, private, etc)
Attila Fazekascadcb1f2013-01-21 23:10:53 +010089network_for_ssh = private
Daryl Walleck6b9b2882012-04-08 21:43:39 -050090
91# IP version of the address used for SSH
Attila Fazekascadcb1f2013-01-21 23:10:53 +010092ip_version_for_ssh = 4
Daryl Walleck6b9b2882012-04-08 21:43:39 -050093
Nachi Ueno6d580be2013-07-24 10:58:11 -070094# Number of seconds to wait to ping to an instance
95ping_timeout = 60
96
Daryl Walleck6b9b2882012-04-08 21:43:39 -050097# Number of seconds to wait to authenticate to an instance
98ssh_timeout = 300
99
Chris Yeoh76916042013-02-27 16:25:25 +1030100# Number of seconds to wait for output from ssh channel
101ssh_channel_timeout = 60
102
fujioka yuuichia11994e2013-07-09 11:19:51 +0900103# Dose the SSH uses Floating IP?
104use_floatingip_for_ssh = True
105
Jay Pipes3f981df2012-03-27 18:59:44 -0400106# The type of endpoint for a Compute API service. Unless you have a
107# custom Keystone service catalog implementation, you probably want to leave
108# this value as "compute"
109catalog_type = compute
110
111# Does the Compute API support creation of images?
112create_image_enabled = true
113
David Kranz30fe84a2012-03-20 16:25:47 -0400114# For resize to work with libvirt/kvm, one of the following must be true:
115# Single node: allow_resize_to_same_host=True must be set in nova.conf
116# Cluster: the 'nova' user must have scp access between cluster nodes
Jay Pipes3f981df2012-03-27 18:59:44 -0400117resize_available = true
Daryl Wallecke5b83d42011-11-10 14:39:02 -0600118
David Kranzf97d5fd2012-07-30 13:46:45 -0400119# Does the compute API support changing the admin password?
120change_password_available=true
121
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100122# Run live migration tests (requires 2 hosts)
123live_migration_available = false
124
125# Use block live migration (Otherwise, non-block migration will be
126# performed, which requires XenServer pools in case of using XS)
127use_block_migration_for_live_migration = false
128
Bob Ballc078be92013-04-09 14:25:00 +0100129# Supports iSCSI block migration - depends on a XAPI supporting
130# relax-xsm-sr-check
131block_migrate_supports_cinder_iscsi = false
132
Attila Fazekas86950732013-06-08 09:33:08 +0200133# When set to false, disk config tests are forced to skip
134disk_config_enabled = true
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100135
Attila Fazekas86950732013-06-08 09:33:08 +0200136# When set to false, flavor extra data tests are forced to skip
137flavor_extra_enabled = true
Attila Fazekas3ca1fb32013-01-21 23:10:53 +0100138
139[whitebox]
140# Whitebox options for compute. Whitebox options enable the
141# whitebox test cases, which look at internal Nova database state,
142# SSH into VMs to check instance state, etc.
143
Jay Pipes051075a2012-04-28 17:39:37 -0400144# Should we run whitebox tests for Compute?
145whitebox_enabled = true
146
147# Path of nova source directory
148source_dir = /opt/stack/nova
149
150# Path of nova configuration file
151config_path = /etc/nova/nova.conf
152
153# Directory containing nova binaries such as nova-manage
154bin_dir = /usr/local/bin
155
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100156# Connection string to the database of Compute service
157db_uri = mysql://nova:secret@localhost/nova
158
Jay Pipes051075a2012-04-28 17:39:37 -0400159# Path to a private key file for SSH access to remote hosts
160path_to_private_key = /home/user/.ssh/id_rsa
161
Attila Fazekascadcb1f2013-01-21 23:10:53 +0100162[compute-admin]
163# This should be the username of a user WITH administrative privileges
164# If not defined the admin user from the identity section will be used
165username =
166# The above administrative user's password
167password =
168# The above administrative user's tenant name
169tenant_name =
Armando Migliacciob8cc2202012-12-12 17:20:51 +0000170
Eoghan Glynn4b10c7c2012-03-01 13:13:35 -0500171[image]
Jay Pipes3f981df2012-03-27 18:59:44 -0400172# This section contains configuration options used when executing tests
173# against the OpenStack Images API
174
Jay Pipesad6feca2012-04-30 15:10:18 -0400175# The type of endpoint for an Image API service. Unless you have a
176# custom Keystone service catalog implementation, you probably want to leave
177# this value as "image"
178catalog_type = image
179
180# The version of the OpenStack Images API to use
181api_version = 1
182
Sean Dague83401992013-05-06 17:46:36 -0400183# HTTP image to use for glance http image testing
184http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
185
Unmesh Gurjar44986832012-05-08 19:57:10 +0530186[network]
187# This section contains configuration options used when executing tests
188# against the OpenStack Network API.
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700189
Mark McClainf2982e82013-07-06 17:48:03 -0400190# Version of the Neutron API
Unmesh Gurjar44986832012-05-08 19:57:10 +0530191api_version = v1.1
Mark McClainf2982e82013-07-06 17:48:03 -0400192# Catalog type of the Neutron Service
Unmesh Gurjar44986832012-05-08 19:57:10 +0530193catalog_type = network
Jay Pipesf38eaac2012-06-21 13:37:35 -0400194
Maru Newby81f07a02012-09-05 20:21:19 -0700195# A large private cidr block from which to allocate smaller blocks for
196# tenant networks.
197tenant_network_cidr = 10.100.0.0/16
198
199# The mask bits used to partition the tenant block.
Gavin Brebner516487b2013-03-14 13:43:21 +0000200tenant_network_mask_bits = 28
Maru Newby81f07a02012-09-05 20:21:19 -0700201
202# If tenant networks are reachable, connectivity checks will be
203# performed directly against addresses on those networks.
204tenant_networks_reachable = false
205
206# Id of the public network that provides external connectivity.
Maru Newby22ec5d92012-12-19 02:57:04 +0000207public_network_id = {$PUBLIC_NETWORK_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700208
209# Id of a shared public router that provides external connectivity.
210# A shared public router would commonly be used where IP namespaces
211# were disabled. If namespaces are enabled, it would be preferable
212# for each tenant to have their own router.
Maru Newby22ec5d92012-12-19 02:57:04 +0000213public_router_id = {$PUBLIC_ROUTER_ID}
Maru Newby81f07a02012-09-05 20:21:19 -0700214
Dan Smithd6c1f882013-02-26 15:50:11 -0500215
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700216[volume]
Joe Gordon979da332012-11-27 11:46:59 -0800217# This section contains the configuration options used when executing tests
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700218# against the OpenStack Block Storage API service
219
220# The type of endpoint for a Cinder or Block Storage API service.
221# Unless you have a custom Keystone service catalog implementation, you
222# probably want to leave this value as "volume"
223catalog_type = volume
224# Number of seconds to wait while looping to check the status of a
225# volume that is being made available
226build_interval = 10
227# Number of seconds to time out on waiting for a volume
228# to be available or reach an expected status
229build_timeout = 300
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200230# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
Jérôme Gallard86551ce2013-03-08 11:41:26 +0100231# They must have different volume_backend_name (backend1_name and backend2_name
232# have to be different)
233multi_backend_enabled = false
Giulio Fidentef4fa8942013-05-28 18:48:03 +0200234backend1_name = BACKEND_1
235backend2_name = BACKEND_2
Adam Gandelman827ad332013-06-24 17:04:09 -0700236# Protocol and vendor of volume backend to target when testing volume-types.
237# You should update to reflect those exported by configured backend driver.
238storage_protocol = iSCSI
239vendor_name = Open Source
dwalleck5d734432012-10-04 01:11:47 -0500240
241[object-storage]
242# This section contains configuration options used when executing tests
243# against the OpenStack Object Storage API.
Attila Fazekas9492d352012-12-04 13:55:58 +0100244
245# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500246
247# The type of endpoint for an Object Storage API service. Unless you have a
248# custom Keystone service catalog implementation, you probably want to leave
249# this value as "object-store"
250catalog_type = object-store
Attila Fazekasa23f5002012-10-23 19:32:45 +0200251
nayna-patelb4989b32013-01-09 06:25:13 +0000252# Number of seconds to time on waiting for a container to container
253# synchronization complete
254container_sync_timeout = 120
255# Number of seconds to wait while looping to check the status of a
256# container to container synchronization
257container_sync_interval = 5
K Jonathan Harkerd6ba4b42012-12-18 13:50:47 -0800258
Attila Fazekasa23f5002012-10-23 19:32:45 +0200259[boto]
260# This section contains configuration options used when executing tests
261# with boto.
262
263# EC2 URL
264ec2_url = http://localhost:8773/services/Cloud
265# S3 URL
266s3_url = http://localhost:3333
267
268# Use keystone ec2-* command to get those values for your test user and tenant
269aws_access =
270aws_secret =
271
Attila Fazekasa23f5002012-10-23 19:32:45 +0200272#Image materials for S3 upload
273# ALL content of the specified directory will be uploaded to S3
Chris Yeoh76916042013-02-27 16:25:25 +1030274s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
Attila Fazekasa23f5002012-10-23 19:32:45 +0200275
276# The manifest.xml files, must be in the s3_materials_path directory
277# Subdirectories not allowed!
278# The filenames will be used as a Keys in the S3 Buckets
279
280#ARI Ramdisk manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030281ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200282
283#AMI Machine Image manifest. Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030284ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200285
286#AKI Kernel Image manifest, Must be in the above s3_materials_path
Chris Yeoh76916042013-02-27 16:25:25 +1030287aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
Attila Fazekasa23f5002012-10-23 19:32:45 +0200288
289#Instance type
290instance_type = m1.tiny
291
292#TCP/IP connection timeout
293http_socket_timeout = 5
294
Attila Fazekasf7f2d932012-12-13 09:14:38 +0100295#Number of retries actions on connection or 5xx error
296num_retries = 1
297
Attila Fazekasa23f5002012-10-23 19:32:45 +0200298# Status change wait timout
299build_timeout = 120
300
301# Status change wait interval
302build_interval = 1
Steve Bakerc60e4e32013-05-06 15:22:41 +1200303
304[orchestration]
305# Status change wait interval
306build_interval = 1
307
308# Status change wait timout. This may vary across environments as some some
309# tests spawn full VMs, which could be slow if the test is already in a VM.
310build_timeout = 300
311
Steve Bakerc60e4e32013-05-06 15:22:41 +1200312# Instance type for tests. Needs to be big enough for a
313# full OS plus the test workload
Steve Baker9e86b832013-05-22 15:40:28 +1200314instance_type = m1.micro
Steve Bakerc60e4e32013-05-06 15:22:41 +1200315
316# Name of heat-cfntools enabled image to use when launching test instances
317# If not specified, tests that spawn instances will not run
318#image_ref = ubuntu-vm-heat-cfntools
319
320# Name of existing keypair to launch servers with. The default is not to specify
321# any key, which will generate a keypair for each test class
322#keypair_name = heat_key
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900323
Julie Pichond1017642013-07-24 16:37:23 +0100324[dashboard]
325# URL where to find the dashboard home page
326dashboard_url = 'http://localhost/'
327
328# URL where to submit the login form
329login_url = 'http://localhost/auth/login/'
330
Masayuki Igawa73d9f3a2013-05-24 10:30:01 +0900331[scenario]
332# Directory containing image files
333img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
334
335# AMI image file name
336ami_img_file = cirros-0.3.1-x86_64-blank.img
337
338# ARI image file name
339ari_img_file = cirros-0.3.1-x86_64-initrd
340
341# AKI image file name
342aki_img_file = cirros-0.3.1-x86_64-vmlinuz
343
344# ssh username for the image file
345ssh_user = cirros
Attila Fazekas86950732013-06-08 09:33:08 +0200346
Joe Gordonb5e10cd2013-07-10 15:51:12 +0000347# specifies how many resources to request at once. Used for large operations
348# testing."
349large_ops_number = 0
350
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500351[cli]
Attila Fazekas86950732013-06-08 09:33:08 +0200352# Enable cli tests
353enabled = True
354# directory where python client binaries are located
Mikhail S Medvedev13168d02013-06-24 16:13:40 -0500355cli_dir = /usr/local/bin
Matthew Treinish4c412922013-07-16 15:27:42 -0400356
357[service_available]
358# Whether or not cinder is expected to be available
359cinder = True
Matthew Treinishfaa340d2013-07-19 16:26:21 -0400360# Whether or not neutron is expected to be available
361neutron = false
Matthew Treinish853ae442013-07-19 16:36:07 -0400362# Whether or not glance is expected to be available
363glance = True
Matthew Treinish61e332b2013-07-19 16:42:31 -0400364# Whether or not swift is expected to be available
365swift = True
Matthew Treinish6b41e242013-07-19 16:49:28 -0400366# Whether or not nova is expected to be available
367nova = True
Matthew Treinisha9d43882013-07-19 16:54:52 -0400368# Whether or not Heat is expected to be available
369heat = false
Julie Pichond1017642013-07-24 16:37:23 +0100370# Whether or not horizon is expected to be available
371horizon = True