Jesse Pretorius 16d1a51504 Switch Nova/Tempest to use/test Cinder API v2
As per https://blueprints.launchpad.net/cinder/+spec/deprecate-v1-api
the Cinder API v1 was designated as deprecated in Juno and was meant
to be removed in Kilo, but appears to still be usable in Kilo.

This patch configures Nova to use the Cinder v2 API instead of the
v1 API.

This patch configures Tempest to test both the Cinder v1 and v2 API's
for now. Once the API is removed upstream we can change this.

DocImpact
Closes-Bug: #1481542
Change-Id: I6513c07e1b5d5653b84ad0b2b490ac8451f2bdf1
2015-09-02 12:41:38 +00:00

246 lines
5.9 KiB
Django/Jinja

# {{ ansible_managed }}
[DEFAULT]
debug = {{ debug }}
verbose = {{ verbose }}
fatal_deprecations = {{ tempest_fatal_deprecations }}
log_file = /var/log/utility/tempest.log
use_stderr = False
fatal_deprecations = true
[auth]
tempest_roles = remote_image
allow_tenant_isolation = True
[baremetal]
[boto]
aki_manifest = cirros-0.3.2-x86_64-vmlinuz.manifest.xml
ami_manifest = cirros-0.3.2-x86_64-blank.img.manifest.xml
ari_manifest = cirros-0.3.2-x86_64-initrd.manifest.xml
build_timeout = 600
ec2_url = {{ tempest_boto_ec2_url }}
instance_type = tempest1
http_socket_timeout = 30
s3_url = {{ tempest_boto_s3_url }}
s3_materials_path = /opt/images/s3-materials/cirros-0.3.2
[cli]
enabled = true
cli_dir = /usr/local/bin
has_manage = false
timeout = 15
[compute]
build_interval = 1
build_timeout = 600
catalog_type = compute
catalog_v3_type = computev3
endpoint_type = internalURL
fixed_network_name = private
flavor_ref = 201
flavor_ref_alt = 202
floating_ip_range = 10.0.0.0/29
image_alt_ssh_password = {{ tempest_compute_image_alt_ssh_password }}
image_alt_ssh_user = {{ tempest_compute_image_alt_ssh_user }}
image_ref = {{ tempest_glance_image_id }}
image_ref_alt = {{ tempest_glance_image_id }}
image_ssh_password = {{ tempest_compute_image_ssh_password }}
image_ssh_user = {{ tempest_compute_image_ssh_user }}
ip_version_for_ssh = 4
network_for_ssh = private
ping_timeout = 240
run_ssh = {{ tempest_compute_run_ssh }}
ssh_auth_method = configured
ssh_connect_method = floating
ssh_timeout = 196
ssh_user = {{ tempest_compute_image_ssh_user }}
use_floatingip_for_ssh = true
volume_device_name = vdb
[compute-feature-enabled]
api_extensions = all
block_migrate_cinder_iscsi = false
block_migration_for_live_migration = false
change_password = {{ tempest_compute_change_password }}
console_output = {{ tempest_compute_console_output_enabled }}
disk_config = true
enable_instance_password = false
interface_attach = false
live_migration = false
pause = false
rdp_console = false
rescue = false
resize = {{ tempest_compute_resize_enabled }}
shelve = false
snapshot = {{ tempest_compute_resize_enabled }}
spice_console = true
suspend = false
vnc_console = false
enable_instance_password = {{ tempest_enable_instance_password }}
[dashboard]
login_url = {{ tempest_dashboard_login_url }}
dashboard_url = {{ tempest_dashboard_url }}
[data_processing]
[database]
[debug]
[identity]
admin_domain_name = Default
admin_password = {{ keystone_auth_admin_password }}
admin_role = admin
admin_tenant_name = {{ keystone_admin_tenant_name }}
admin_username = {{ keystone_admin_user_name }}
admin_tenant_id = {{ tempest_admin_tenant_id }}
alt_tenant_name = alt_demo
alt_password = alt_demo
alt_username = alt_demo
auth_version = v3
catalog_type = identity
disable_ssl_certificate_validation = {{ keystone_service_internaluri_insecure | bool }}
endpoint_type = internalURL
password = demo
tenant_name = demo
uri_v3 = {{ keystone_service_internalurl_v3 }}
uri = {{ keystone_service_internalurl }}
username = demo
[identity-feature-enabled]
api_v2 = true
api_v3 = true
trust = false
[image]
catalog_type = image
endpoint_type = internalURL
http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
[image-feature-enabled]
api_v1 = {{ tempest_image_api_v1_enabled }}
api_v2 = {{ tempest_image_api_v2_enabled }}
[input-scenario]
[negative]
[messaging]
[network]
build_interval = 1
build_timeout = 300
catalog_type = network
dns_servers = 8.8.8.8,8.8.4.4
endpoint_type = internalURL
public_network_id = {{ tempest_neutron_public_network_id }}
tenant_network_cidr = {{ tempest_private_subnet_cidr }}
tenant_networks_reachable = false
[network-feature-enabled]
api_extensions = agent,allowed-address-pairs,binding,dhcp_agent_scheduler,ext-gw-mode,external-net,extra_dhcp_opt,extra_dhcp_optagent,extraroute,l3_agent_scheduler,metering,provider,quotas,router,security-group,service-type
ipv6_subnet_attributes = false
ipv6 = false
[object-storage]
catalog_type = object-store
endpoint_type = internalURL
operator_role = swiftoperator
reseller_admin_role = reseller_admin
[object-storage-feature-enabled]
container_sync = {{ tempest_swift_container_sync }}
object_versioning = {{ tempest_swift_object_versioning }}
discoverable_apis = {{ tempest_swift_discoverable_apis | join(' ') }}
[orchestration]
endpoint_type = internalURL
instance_type = tempest1
[scenario]
large_ops_number = 0
aki_img_file = cirros-0.3.2-x86_64-vmlinuz
ari_img_file = cirros-0.3.2-x86_64-initrd
ami_img_file = cirros-0.3.2-x86_64-blank.img
img_container_format = bare
img_dir = {{ tempest_image_dir }}
img_disk_format = qcow2
img_file = cirros-0.3.2-x86_64-disk.img
ssh_user = {{ tempest_compute_image_ssh_user }}
[service_available]
ceilometer = {{ tempest_service_available_ceilometer }}
cinder = {{ tempest_service_available_cinder }}
glance = {{ tempest_service_available_glance }}
heat = {{ tempest_service_available_heat }}
horizon = {{ tempest_service_available_horizon }}
neutron = {{ tempest_service_available_neutron }}
nova = {{ tempest_service_available_nova }}
swift = {{ tempest_service_available_swift }}
[stress]
[telemetry]
[volume]
backend1_name = lvm
build_interval = 1
build_timeout = 600
catalog_type = volume
disk_format = raw
endpoint_type = internalURL
storage_protocol = iSCSI
vendor_name = Open Source
volume_size = 1
[volume-feature-enabled]
api_extensions = all
api_v1 = true
api_v2 = true
backup = {{ tempest_volume_backup_enabled }}
multi_backend = false
snapshot = false
[oslo_concurrency]
# Enables or disables inter-process locks. (boolean value)
# Deprecated group/name - [DEFAULT]/disable_process_locking
disable_process_locking = false
# Directory to use for lock files. For security, the specified
# directory should only be writable by the user running the processes
# that need locking. Defaults to environment variable OSLO_LOCK_PATH.
# If external locks are used, a lock path must be set. (string value)
# Deprecated group/name - [DEFAULT]/lock_path
lock_path = {{ tempest_git_dest }}/locks