Files
zaza-openstack-tests/zaza/openstack/charm_tests/tempest/templates/tempest_v2.j2
T
2020-06-12 13:14:28 +00:00

101 lines
2.1 KiB
Django/Jinja

[DEFAULT]
debug = false
use_stderr = false
log_file = tempest.log
[auth]
test_accounts_file = accounts.yaml
default_credentials_domain_name = Default
admin_username = {{ admin_username }}
admin_project_name = admin
admin_password = {{ admin_password }}
admin_domain_name = Default
{% if 'nova' in enabled_services %}
[compute]
image_ref = {{ image_id }}
image_ref_alt = {{ image_alt_id }}
flavor_ref = {{ flavor_ref }}
flavor_ref_alt = {{ flavor_ref_alt }}
region = RegionOne
min_compute_nodes = 3
# TODO: review this as its release specific
# min_microversion = 2.2
# max_microversion = latest
[compute-feature-enabled]
console_output = true
resize = true
live_migration = true
block_migration_for_live_migration = true
attach_encrypted_volume = false
{% endif %}
{% if 'keystone' in enabled_services %}
[identity]
uri = {proto}://{{ keystone }}:5000/v2.0
auth_version = v2
admin_role = Admin
region = RegionOne
disable_ssl_certificate_validation = true
[identity-feature-enabled]
api_v2 = true
api_v3 = false
{% endif %}
{% if 'glance' in enabled_services %}
[image]
http_image = http://{{ test_swift_ip }}:80/swift/v1/images/cirros-0.3.4-x86_64-uec.tar.gz
{% endif %}
{% if 'neutron' in enabled_services %}
[network]
project_network_cidr = {{ test_cidr_priv }}
public_network_id = {{ ext_net }}
dns_servers = {{ test_nameserver }}
project_networks_reachable = false
[network-feature-enabled]
ipv6 = false
{% endif %}
{% if 'heat' in enabled_services %}
[orchestration]
stack_owner_role = Admin
instance_type = m1.small
keypair_name = testkey
{% endif %}
[oslo_concurrency]
lock_path = /tmp
[scenario]
img_dir = /home/ubuntu/images
img_file = cirros-0.3.4-x86_64-disk.img
img_container_format = bare
img_disk_format = qcow2
[validation]
run_validation = true
image_ssh_user = cirros
[service_available]
{% for svc in enabled_services -%}
{{ svc }} = true
{% endfor -%}
{% for svc in disabled_services -%}
{{ svc }} = false
{% endfor %}
{% if 'cinder' in enabled_services %}
[volume]
backend_names = cinder-ceph
storage_protocol = ceph
catalog_type = {{ catalog_type }}
[volume-feature-enabled]
backup = false
{% endif %}