Skip to content

Instantly share code, notes, and snippets.

@chrigl
Created July 7, 2017 08:42
Show Gist options
  • Save chrigl/c1dba9551a518c314e1b11a67ef9d1ef to your computer and use it in GitHub Desktop.
Save chrigl/c1dba9551a518c314e1b11a67ef9d1ef to your computer and use it in GitHub Desktop.
Tempest example config
[DEFAULT]
[oslo_concurrency]
lock_path = /var/lib/tempest/run_lock
[auth]
test_accounts_file = /etc/tempest/accounts.yaml
use_dynamic_credentials = false
[identity]
auth_version = v3
uri = https://REPLACE ME:5000/v2.0
uri_v3 = https://REPLACE ME:5000/v3
v3_endpoint_type = publicURL
region = RegionOne
[compute]
change_password = false
flavor_ref = REPLACE_a54f86-9ba0-48b9-bea2-bb04c43c7caf
flavor_ref_alt = REPLACE_1692b3-c649-4bb8-9bf2-71c06d6eda88
image_ref = REPLACE_88ca63-d84b-4a7b-b390-fffd00daf12c
image_ref_alt = REPLACE_fc0e82-73ec-40fe-b2cf-9ea8e28d129c
volume_device_name = vdb
fixed_network_name = needed-for-tempest
region = RegionOne
[compute-feature-enabled]
resize = true
nova_cert = false
[scenario]
img_dir = /var/lib/tempest/images
img_file = cirros-0.3.4-x86_64-disk.img
[network]
floating_network_name = ext-net
public_network_id = REPLACE PUBLIC NETWORK ID
fixed_network_name = needed-for-tempest
region = RegionOne
[image]
region = RegionOne
[volume]
region = RegionOne
[orchestration]
stack_owner_role = heat_stack_owner
region = RegionOne
[validation]
image_ssh_user = cirros
image_ssh_password = cubswin:)
[service_available]
# Whether or not SERVICE is expected to be available (boolean value)
# disabled because of sloooooow
cinder = false
# temp
neutron = false
# temp
glance = false
swift = false
nova = true
# temp
heat = false
sahara = false
ironic = false
@chrigl
Copy link
Author

chrigl commented Jul 7, 2017

Note:

  • You need a bunch of tenants/projects and users and write place them into accounts.yml
  • You need to create a network called needed-for-tempest for each tenant/project. It must be connected to the outside world.
  • Flavors and Images must be available in each tenant/project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment