~isviridov/magnetodb/master

« back to all changes in this revision

Viewing changes to tempest/tempest.conf

  • Committer: Ilya Sviridov
  • Date: 2014-03-04 22:19:50 UTC
  • Revision ID: git-v1:23faa059f7fcfbd23ef709232bc14e7baac3ea50
Updated README with new links

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[DEFAULT]
2
 
#log_config = /opt/stack/tempest/etc/logging.conf.sample
3
 
 
4
 
# disable logging to the stderr
5
 
use_stderr = False
6
 
 
7
 
# log file
8
 
log_file = tempest.log
9
 
 
10
 
# lock/semaphore base directory
11
 
lock_path=/tmp
12
 
 
13
 
default_log_levels=tempest.stress=INFO,amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN
14
 
 
15
 
[identity]
16
 
# This section contains configuration options that a variety of Tempest
17
 
# test clients use when authenticating with different user/tenant
18
 
# combinations
19
 
 
20
 
# 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"
23
 
catalog_type = identity
24
 
# Ignore SSL certificate validation failures? Use when in testing
25
 
# environments that have self-signed SSL certs.
26
 
disable_ssl_certificate_validation = False
27
 
# URL for where to find the OpenStack Identity API endpoint (Keystone)
28
 
uri = http://172.18.169.89:5000/v2.0/
29
 
# URL for where to find the OpenStack V3 Identity API endpoint (Keystone)
30
 
uri_v3 = http://127.0.0.1:5000/v3/
31
 
# The identity region. Also used as the other services' region name unless
32
 
# they are set explicitly.
33
 
region = RegionOne
34
 
 
35
 
# This should be the username of a user WITHOUT administrative privileges
36
 
#username = demo
37
 
# The above non-administrative user's password
38
 
#password = 7d5c547113b94532
39
 
# The above non-administrative user's tenant name
40
 
#tenant_name = demo
41
 
 
42
 
username = admin
43
 
password = 20623a1b24ba4b51
44
 
tenant_name = admin
45
 
 
46
 
 
47
 
# This should be the username of an alternate user WITHOUT
48
 
# administrative privileges
49
 
alt_username = alt_demo
50
 
# The above non-administrative user's password
51
 
alt_password = admin
52
 
# The above non-administrative user's tenant name
53
 
alt_tenant_name = alt_demo
54
 
 
55
 
# This should be the username of a user WITH administrative privileges
56
 
admin_username = admin
57
 
# The above administrative user's password
58
 
admin_password = 20623a1b24ba4b51
59
 
# The above administrative user's tenant name
60
 
admin_tenant_name = admin
61
 
 
62
 
# The role that is required to administrate keystone.
63
 
admin_role = admin
64
 
 
65
 
[compute]
66
 
# This section contains configuration options used when executing tests
67
 
# against the OpenStack Compute API.
68
 
 
69
 
# Allows test cases to create/destroy tenants and users. This option
70
 
# enables isolated test cases and better parallel execution,
71
 
# but also requires that OpenStack Identity API admin credentials
72
 
# are known.
73
 
allow_tenant_isolation = true
74
 
 
75
 
# Allows test cases to create/destroy tenants and users. This option
76
 
# enables isolated test cases and better parallel execution,
77
 
# but also requires that OpenStack Identity API admin credentials
78
 
# are known.
79
 
allow_tenant_reuse = true
80
 
 
81
 
# Reference data for tests. The ref and ref_alt should be
82
 
# distinct images/flavors.
83
 
image_ref = F18-i386-cfntools
84
 
image_ref_alt = F18-i386-cfntools
85
 
flavor_ref = 2
86
 
flavor_ref_alt = 3
87
 
 
88
 
# User name used to authenticate to an instance
89
 
image_ssh_user = cirros
90
 
 
91
 
# Password used to authenticate to an instance
92
 
image_ssh_password = password
93
 
 
94
 
# User name used to authenticate to an instance using the alternate image
95
 
image_alt_ssh_user = cirros
96
 
 
97
 
# Password used to authenticate to an instance using the alternate image
98
 
image_alt_ssh_password = password
99
 
 
100
 
# Number of seconds to wait while looping to check the status of an
101
 
# instance that is building.
102
 
build_interval = 1
103
 
 
104
 
# Number of seconds to time out on waiting for an instance
105
 
# to build or reach an expected status
106
 
build_timeout = 560
107
 
 
108
 
# Run additional tests that use SSH for instance validation?
109
 
# This requires the instances be routable from the host
110
 
#  executing the tests
111
 
run_ssh = false
112
 
 
113
 
# Name of a user used to authenticate to an instance.
114
 
ssh_user = cirros
115
 
 
116
 
# Visible fixed network name
117
 
fixed_network_name = private
118
 
 
119
 
# Network id used for SSH (public, private, etc)
120
 
network_for_ssh = private
121
 
 
122
 
# IP version of the address used for SSH
123
 
ip_version_for_ssh = 4
124
 
 
125
 
# Number of seconds to wait to ping to an instance
126
 
ping_timeout = 60
127
 
 
128
 
# Number of seconds to wait to authenticate to an instance
129
 
ssh_timeout = 560
130
 
 
131
 
# Additinal wait time for clean state, when there is
132
 
# no OS-EXT-STS extension availiable
133
 
ready_wait = 0
134
 
 
135
 
# Number of seconds to wait for output from ssh channel
136
 
ssh_channel_timeout = 560
137
 
 
138
 
# Dose the SSH uses Floating IP?
139
 
use_floatingip_for_ssh = True
140
 
 
141
 
# The type of endpoint for a Compute API service. Unless you have a
142
 
# custom Keystone service catalog implementation, you probably want to leave
143
 
# this value as "compute"
144
 
catalog_type = compute
145
 
 
146
 
# The name of a region for compute. If empty or commented-out, the value of
147
 
# identity.region is used instead. If no such region is found in the service
148
 
# catalog, the first found one is used.
149
 
#region = RegionOne
150
 
 
151
 
# Does the Compute API support creation of images?
152
 
create_image_enabled = true
153
 
 
154
 
# For resize to work with libvirt/kvm, one of the following must be true:
155
 
# Single node: allow_resize_to_same_host=True must be set in nova.conf
156
 
# Cluster: the 'nova' user must have scp access between cluster nodes
157
 
resize_available = true
158
 
 
159
 
# Does the compute API support changing the admin password?
160
 
change_password_available=true
161
 
 
162
 
# Run live migration tests (requires 2 hosts)
163
 
live_migration_available = false
164
 
 
165
 
# Use block live migration (Otherwise, non-block migration will be
166
 
# performed, which requires XenServer pools in case of using XS)
167
 
use_block_migration_for_live_migration = false
168
 
 
169
 
# Supports iSCSI block migration - depends on a XAPI supporting
170
 
# relax-xsm-sr-check
171
 
block_migrate_supports_cinder_iscsi = false
172
 
 
173
 
# When set to false, disk config tests are forced to skip
174
 
disk_config_enabled = true
175
 
 
176
 
# When set to false, flavor extra data tests are forced to skip
177
 
flavor_extra_enabled = true
178
 
 
179
 
# Expected first device name when a volume is attached to an instance
180
 
volume_device_name = vdb
181
 
 
182
 
[compute-admin]
183
 
# This should be the username of a user WITH administrative privileges
184
 
# If not defined the admin user from the identity section will be used
185
 
username =
186
 
# The above administrative user's password
187
 
password =
188
 
# The above administrative user's tenant name
189
 
tenant_name =
190
 
 
191
 
[image]
192
 
# This section contains configuration options used when executing tests
193
 
# against the OpenStack Images API
194
 
 
195
 
# The type of endpoint for an Image API service. Unless you have a
196
 
# custom Keystone service catalog implementation, you probably want to leave
197
 
# this value as "image"
198
 
catalog_type = image
199
 
 
200
 
# The name of a region for image. If empty or commented-out, the value of
201
 
# identity.region is used instead. If no such region is found in the service
202
 
# catalog, the first found one is used.
203
 
#region = RegionOne
204
 
 
205
 
# The version of the OpenStack Images API to use
206
 
api_version = 1
207
 
 
208
 
# HTTP image to use for glance http image testing
209
 
http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
210
 
 
211
 
[network]
212
 
# This section contains configuration options used when executing tests
213
 
# against the OpenStack Network API.
214
 
 
215
 
# Version of the Neutron API
216
 
api_version = v1.1
217
 
# Catalog type of the Neutron Service
218
 
catalog_type = network
219
 
 
220
 
# The name of a region for network. If empty or commented-out, the value of
221
 
# identity.region is used instead. If no such region is found in the service
222
 
# catalog, the first found one is used.
223
 
#region = RegionOne
224
 
 
225
 
# A large private cidr block from which to allocate smaller blocks for
226
 
# tenant networks.
227
 
tenant_network_cidr = 10.100.0.0/16
228
 
 
229
 
# The mask bits used to partition the tenant block.
230
 
tenant_network_mask_bits = 24
231
 
 
232
 
# If tenant networks are reachable, connectivity checks will be
233
 
# performed directly against addresses on those networks.
234
 
tenant_networks_reachable = false
235
 
 
236
 
# Id of the public network that provides external connectivity.
237
 
public_network_id = {$PUBLIC_NETWORK_ID}
238
 
 
239
 
# Id of a shared public router that provides external connectivity.
240
 
# A shared public router would commonly be used where IP namespaces
241
 
# were disabled.  If namespaces are enabled, it would be preferable
242
 
# for each tenant to have their own router.
243
 
public_router_id = {$PUBLIC_ROUTER_ID}
244
 
 
245
 
 
246
 
[volume]
247
 
# This section contains the configuration options used when executing tests
248
 
# against the OpenStack Block Storage API service
249
 
 
250
 
# The type of endpoint for a Cinder or Block Storage API service.
251
 
# Unless you have a custom Keystone service catalog implementation, you
252
 
# probably want to leave this value as "volume"
253
 
catalog_type = volume
254
 
# The name of a region for volume. If empty or commented-out, the value of
255
 
# identity.region is used instead. If no such region is found in the service
256
 
# catalog, the first found one is used.
257
 
#region = RegionOne
258
 
# The disk format to use when copying a volume to image
259
 
disk_format = raw
260
 
# Number of seconds to wait while looping to check the status of a
261
 
# volume that is being made available
262
 
build_interval = 10
263
 
# Number of seconds to time out on waiting for a volume
264
 
# to be available or reach an expected status
265
 
build_timeout = 560
266
 
# Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf)
267
 
# They must have different volume_backend_name (backend1_name and backend2_name
268
 
# have to be different)
269
 
multi_backend_enabled = false
270
 
backend1_name = BACKEND_1
271
 
backend2_name = BACKEND_2
272
 
# Protocol and vendor of volume backend to target when testing volume-types.
273
 
# You should update to reflect those exported by configured backend driver.
274
 
storage_protocol = iSCSI
275
 
vendor_name = Open Source
276
 
 
277
 
[object-storage]
278
 
# This section contains configuration options used when executing tests
279
 
# against the OpenStack Object Storage API.
280
 
 
281
 
# You can configure the credentials in the compute section
282
 
 
283
 
# The type of endpoint for an Object Storage API service. Unless you have a
284
 
# custom Keystone service catalog implementation, you probably want to leave
285
 
# this value as "object-store"
286
 
catalog_type = object-store
287
 
 
288
 
# The name of a region for object storage. If empty or commented-out, the
289
 
# value of identity.region is used instead. If no such region is found in
290
 
# the service catalog, the first found one is used.
291
 
#region = RegionOne
292
 
 
293
 
# Number of seconds to time on waiting for a container to container
294
 
# synchronization complete
295
 
container_sync_timeout = 120
296
 
# Number of seconds to wait while looping to check the status of a
297
 
# container to container synchronization
298
 
container_sync_interval = 5
299
 
# Set to True if the Account Quota middleware is enabled
300
 
accounts_quotas_available = True
301
 
# Set to True if the Container Quota middleware is enabled
302
 
container_quotas_available = True
303
 
 
304
 
# Set operator role for tests that require creating a container
305
 
operator_role = Member
306
 
 
307
 
[boto]
308
 
# This section contains configuration options used when executing tests
309
 
# with boto.
310
 
 
311
 
# The name of a region for key-value storage. If empty or commented-out,
312
 
# the value of identity.region is used instead. If no such region is found
313
 
# in the service catalog, the first found one is used.
314
 
region = magnetodb-1
315
 
 
316
 
# EC2 URL
317
 
ec2_url = http://172.18.196.56:8773/services/Cloud
318
 
# S3 URL
319
 
s3_url = http://172.18.196.56:3333
320
 
# MagnetoDB URL
321
 
magnetodb_url = http://172.18.169.204:8080
322
 
#magnetodb_url = http://172.18.169.205:8080
323
 
 
324
 
# Use keystone ec2-* command to get those values for your test user and tenant
325
 
aws_access = ''
326
 
aws_secret = ''
327
 
 
328
 
# Image materials for S3 upload
329
 
# ALL content of the specified directory will be uploaded to S3
330
 
s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1
331
 
 
332
 
# The manifest.xml files, must be in the s3_materials_path directory
333
 
# Subdirectories not allowed!
334
 
# The filenames will be used as a Keys in the S3 Buckets
335
 
 
336
 
# ARI Ramdisk manifest. Must be in the above s3_materials_path
337
 
ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml
338
 
 
339
 
# AMI Machine Image manifest. Must be in the above s3_materials_path
340
 
ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml
341
 
 
342
 
# AKI Kernel Image manifest, Must be in the above s3_materials_path
343
 
aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml
344
 
 
345
 
# Instance type
346
 
instance_type = m1.nano
347
 
 
348
 
# TCP/IP connection timeout
349
 
http_socket_timeout = 180
350
 
 
351
 
# Number of retries actions on connection or 5xx error
352
 
num_retries = 1
353
 
 
354
 
# Status change wait timout
355
 
build_timeout = 560
356
 
 
357
 
# Status change wait interval
358
 
build_interval = 1
359
 
 
360
 
[orchestration]
361
 
# The type of endpoint for an Orchestration API service. Unless you have a
362
 
# custom Keystone service catalog implementation, you probably want to leave
363
 
# this value as "orchestration"
364
 
catalog_type = orchestration
365
 
 
366
 
# The name of a region for orchestration. If empty or commented-out, the value
367
 
# of identity.region is used instead. If no such region is found in the service
368
 
# catalog, the first found one is used.
369
 
#region = RegionOne
370
 
 
371
 
# Status change wait interval
372
 
build_interval = 1
373
 
 
374
 
# Status change wait timout. This may vary across environments as some some
375
 
# tests spawn full VMs, which could be slow if the test is already in a VM.
376
 
build_timeout = 560
377
 
 
378
 
# Instance type for tests. Needs to be big enough for a
379
 
# full OS plus the test workload
380
 
instance_type = m1.small
381
 
 
382
 
# Name of heat-cfntools enabled image to use when launching test instances
383
 
# If not specified, tests that spawn instances will not run
384
 
#image_ref = ubuntu-vm-heat-cfntools
385
 
image_ref = F18-i386-cfntools
386
 
 
387
 
# Name of existing keypair to launch servers with. The default is not to specify
388
 
# any key, which will generate a keypair for each test class
389
 
keypair_name = heat_key
390
 
 
391
 
[dashboard]
392
 
# URL where to find the dashboard home page
393
 
dashboard_url = 'http://172.18.169.89/'
394
 
 
395
 
# URL where to submit the login form
396
 
login_url = 'http://172.18.169.89/auth/login/'
397
 
 
398
 
[scenario]
399
 
# Directory containing image files
400
 
img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec
401
 
 
402
 
# AMI image file name
403
 
ami_img_file = cirros-0.3.1-x86_64-blank.img
404
 
 
405
 
# ARI image file name
406
 
ari_img_file = cirros-0.3.1-x86_64-initrd
407
 
 
408
 
# AKI image file name
409
 
aki_img_file = cirros-0.3.1-x86_64-vmlinuz
410
 
 
411
 
# ssh username for the image file
412
 
ssh_user = cirros
413
 
 
414
 
# specifies how many resources to request at once. Used for large operations
415
 
# testing."
416
 
large_ops_number = 0
417
 
 
418
 
[cli]
419
 
# Enable cli tests
420
 
enabled = True
421
 
# directory where python client binaries are located
422
 
cli_dir = /usr/local/bin
423
 
# Number of seconds to wait on a CLI timeout
424
 
timeout = 15
425
 
 
426
 
[service_available]
427
 
# Whether or not cinder is expected to be available
428
 
cinder = True
429
 
# Whether or not neutron is expected to be available
430
 
neutron = False
431
 
# Whether or not glance is expected to be available
432
 
glance = True
433
 
# Whether or not swift is expected to be available
434
 
swift = True
435
 
# Whether or not nova is expected to be available
436
 
nova = True
437
 
# Whether or not Heat is expected to be available
438
 
heat = True
439
 
# Whether or not horizon is expected to be available
440
 
horizon = True
441
 
 
442
 
[stress]
443
 
# Maximum number of instances to create during test
444
 
max_instances = 32
445
 
# Time (in seconds) between log file error checks
446
 
log_check_interval = 60
447
 
# The default number of threads created while stress test
448
 
default_thread_number_per_action=4
449
 
 
450
 
[debug]
451
 
# Enable diagnostic commands
452
 
enable = True