blob: 8ef5b840ae4b219a809bbdaa47a505516f9df75c [file] [log] [blame]
Jay Pipes017e95c2012-04-04 16:16:06 -04001[identity]
2# This section contains configuration options that a variety of Tempest
3# test clients use when authenticating with different user/tenant
4# combinations
5
6# Set to True if your test environment's Keystone authentication service should
7# be accessed over HTTPS
8use_ssl = %IDENTITY_USE_SSL%
9# This is the main host address of the authentication service API
10host = %IDENTITY_HOST%
11# Port that the authentication service API is running on
12port = %IDENTITY_PORT%
13# Version of the authentication service API (a string)
14api_version = %IDENTITY_API_VERSION%
15# Path to the authentication service tokens resource (do not modify unless you
16# have a custom authentication API and are not using Keystone)
17path = %IDENTITY_PATH%
18# Should typically be left as keystone unless you have a non-Keystone
19# authentication API service
20strategy = %IDENTITY_STRATEGY%
21
22[compute]
23# This section contains configuration options used when executing tests
24# against the OpenStack Compute API.
25
Jay Pipesf38eaac2012-06-21 13:37:35 -040026# Allows test cases to create/destroy tenants and users. This option
27# enables isolated test cases and better parallel execution,
28# but also requires that OpenStack Identity API admin credentials
29# are known.
30allow_tenant_isolation = %COMPUTE_ALLOW_TENANT_ISOLATION%
31
Dan Smithd6ff6b72012-08-23 10:29:41 -070032# Allows test cases to create/destroy tenants and users. This option
33# enables isolated test cases and better parallel execution,
34# but also requires that OpenStack Identity API admin credentials
35# are known.
36allow_tenant_reuse = %COMPUTE_ALLOW_TENANT_REUSE%
37
Jay Pipes017e95c2012-04-04 16:16:06 -040038# This should be the username of a user WITHOUT administrative privileges
39username = %USERNAME%
40# The above non-administrative user's password
41password = %PASSWORD%
42# The above non-administrative user's tenant name
43tenant_name = %TENANT_NAME%
44
45# This should be the username of an alternate user WITHOUT
46# administrative privileges
47alt_username = %ALT_USERNAME%
48# The above non-administrative user's password
49alt_password = %ALT_PASSWORD%
50# The above non-administrative user's tenant name
51alt_tenant_name = %ALT_TENANT_NAME%
52
53# Reference data for tests. The ref and ref_alt should be
54# distinct images/flavors.
55image_ref = %IMAGE_ID%
56image_ref_alt = %IMAGE_ID_ALT%
57flavor_ref = %FLAVOR_REF%
58flavor_ref_alt = %FLAVOR_REF_ALT%
59
60# Number of seconds to wait while looping to check the status of an
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070061# instance that is building.
62build_interval = %COMPUTE_BUILD_INTERVAL%
Jay Pipes017e95c2012-04-04 16:16:06 -040063
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070064# Number of seconds to time out on waiting for an instance
Jay Pipes017e95c2012-04-04 16:16:06 -040065# to build or reach an expected status
Rohit Karajgidd47d7e2012-07-31 04:11:01 -070066build_timeout = %COMPUTE_BUILD_TIMEOUT%
Jay Pipes017e95c2012-04-04 16:16:06 -040067
68# The type of endpoint for a Compute API service. Unless you have a
69# custom Keystone service catalog implementation, you probably want to leave
70# this value as "compute"
71catalog_type = %COMPUTE_CATALOG_TYPE%
72
73# Does the Compute API support creation of images?
74create_image_enabled = %COMPUTE_CREATE_IMAGE_ENABLED%
75
76# For resize to work with libvirt/kvm, one of the following must be true:
77# Single node: allow_resize_to_same_host=True must be set in nova.conf
78# Cluster: the 'nova' user must have scp access between cluster nodes
79resize_available = %COMPUTE_RESIZE_AVAILABLE%
80
David Kranzf97d5fd2012-07-30 13:46:45 -040081# Does the compute API support changing the admin password?
82change_password_available = %COMPUTE_CHANGE_PASSWORD_AVAILABLE%
83
Jay Pipes017e95c2012-04-04 16:16:06 -040084# Level to log Compute API request/response details.
85log_level = %COMPUTE_LOG_LEVEL%
86
Jay Pipes051075a2012-04-28 17:39:37 -040087# Whitebox options for compute. Whitebox options enable the
88# whitebox test cases, which look at internal Nova database state,
89# SSH into VMs to check instance state, etc.
90
91# Should we run whitebox tests for Compute?
92whitebox_enabled = %COMPUTE_WHITEBOX_ENABLED%
93
94# Path of nova source directory
95source_dir = %COMPUTE_SOURCE_DIR%
96
97# Path of nova configuration file
98config_path = %COMPUTE_CONFIG_PATH%
99
100# Directory containing nova binaries such as nova-manage
101bin_dir = %COMPUTE_BIN_DIR%
102
103# Path to a private key file for SSH access to remote hosts
104path_to_private_key = %COMPUTE_PATH_TO_PRIVATE_KEY%
105
106# Connection string to the database of Compute service
107db_uri = %COMPUTE_DB_URI%
108
Mate Lakat99ee9142012-09-14 12:34:46 +0100109# Run live migration tests (requires 2 hosts)
110live_migration_available = %LIVE_MIGRATION_AVAILABLE%
111
112# Use block live migration (Otherwise, non-block migration will be
113# performed, which requires XenServer pools in case of using XS)
114use_block_migration_for_live_migration = %USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION%
115
Jay Pipes017e95c2012-04-04 16:16:06 -0400116[image]
117# This section contains configuration options used when executing tests
118# against the OpenStack Images API
119
Jay Pipesad6feca2012-04-30 15:10:18 -0400120# The type of endpoint for an Image API service. Unless you have a
121# custom Keystone service catalog implementation, you probably want to leave
122# this value as "image"
123catalog_type = %IMAGE_CATALOG_TYPE%
124
125# The version of the OpenStack Images API to use
126api_version = %IMAGE_API_VERSION%
127
128# This is the main host address of the Image API
129host = %IMAGE_HOST%
130
131# Port that the Image API is running on
132port = %IMAGE_PORT%
133
Jay Pipes017e95c2012-04-04 16:16:06 -0400134# This should be the username of a user WITHOUT administrative privileges
135username = %USERNAME%
136# The above non-administrative user's password
137password = %PASSWORD%
138# The above non-administrative user's tenant name
139tenant_name = %TENANT_NAME%
140
141[compute-admin]
142# This section contains configuration options for an administrative
143# user of the Compute API. These options are used in tests that stress
144# the admin-only parts of the Compute API
145
146# This should be the username of a user WITH administrative privileges
Jay Pipesf38eaac2012-06-21 13:37:35 -0400147username = %COMPUTE_ADMIN_USERNAME%
Jay Pipes017e95c2012-04-04 16:16:06 -0400148# The above administrative user's password
Jay Pipesf38eaac2012-06-21 13:37:35 -0400149password = %COMPUTE_ADMIN_PASSWORD%
Jay Pipes017e95c2012-04-04 16:16:06 -0400150# The above administrative user's tenant name
Jay Pipesf38eaac2012-06-21 13:37:35 -0400151tenant_name = %COMPUTE_ADMIN_TENANT_NAME%
152
153[identity-admin]
154# This section contains configuration options for an administrative
155# user of the Compute API. These options are used in tests that stress
156# the admin-only parts of the Compute API
157
158# This should be the username of a user WITH administrative privileges
159username = %IDENTITY_ADMIN_USERNAME%
160# The above administrative user's password
161password = %IDENTITY_ADMIN_PASSWORD%
162# The above administrative user's tenant name
163tenant_name = %IDENTITY_ADMIN_TENANT_NAME%
Rohit Karajgidd47d7e2012-07-31 04:11:01 -0700164
165[volume]
166# This section contains the configuration options used when executing tests
167# against the OpenStack Block Storage API service
168
169# The type of endpoint for a Cinder or Block Storage API service.
170# Unless you have a custom Keystone service catalog implementation, you
171# probably want to leave this value as "volume"
172catalog_type = %VOLUME_CATALOG_TYPE%
173# Number of seconds to wait while looping to check the status of a
174# volume that is being made available
175build_interval = %VOLUME_BUILD_INTERVAL%
176# Number of seconds to time out on waiting for a volume
177# to be available or reach an expected status
178build_timeout = %VOLUME_BUILD_TIMEOUT%
dwalleck5d734432012-10-04 01:11:47 -0500179
180[object-storage]
181# This section contains configuration options used when executing tests
182# against the OpenStack Object Storage API.
183# This should be the username of a user WITHOUT administrative privileges
Attila Fazekas9492d352012-12-04 13:55:58 +0100184
185# You can configure the credentials in the compute section
dwalleck5d734432012-10-04 01:11:47 -0500186
187# The type of endpoint for an Object Storage API service. Unless you have a
188# custom Keystone service catalog implementation, you probably want to leave
189# this value as "object-store"
190catalog_type = %OBJECT_CATALOG_TYPE%
Attila Fazekasa23f5002012-10-23 19:32:45 +0200191
192[boto]
193# This section contains configuration options used when executing tests
194# with boto.
195
196# EC2 URL
197ec2_url = %BOTO_EC2_URL%
198# S3 URL
199s3_url = %BOTO_S3_URL%
200
201# Use keystone ec2-* command to get those values for your test user and tenant
202aws_access = %BOTO_AWS_ACCESS%
203aws_secret = %BOTO_AWS_SECRET%
204
205#Region
206aws_region = %BOTO_AWS_REGION%
207
208#Image materials for S3 upload
209# ALL content of the specified directory will be uploaded to S3
210s3_materials_path = %BOTO_S3_MATERIALS_PATH%
211
212# The manifest.xml files, must be in the s3_materials_path directory
213# Subdirectories not allowed!
214# The filenames will be used as a Keys in the S3 Buckets
215
216#ARI Ramdisk manifest. Must be in the above s3_materials_path directory
217ari_manifest = %BOTO_ARI_MANIFEST%
218
219#AMI Machine Image manifest. Must be in the above s3_materials_path directory
220ami_manifest = %BOTO_AMI_MANIFEST%
221
222#AKI Kernel Image manifest, Must be in the above s3_materials_path directory
223aki_manifest = %BOTO_AKI_MANIFEST%
224
225#Instance type
226instance_type = %BOTO_FLAVOR_NAME%
227
228#TCP/IP connection timeout
229http_socket_timeout = %BOTO_SOCKET_TIMEOUT%
230
231# Status change wait timout
232build_timeout = %BOTO_BUILD_TIMEOUT%
233
234# Status change wait interval
235build_interval = %BOTO_BUILD_INTERVAL%