Octavia Tempest Plugin Configuration Options

Octavia Tempest Plugin Configuration Options

Note

Not all of these options are used by the Octavia tempest tests.

pause_teardown
Type:boolean
Default:false

Whether to pause a test in global teardown.

The best use case is investigating used resources of one test. A test can be run as follows:

$ ostestr –pdb TEST_ID
or
$ python -m testtools.run TEST_ID
test_accounts_file
Type:string
Default:<None>

Path to the yaml file that contains the list of credentials to use for running tests. If used when running in parallel you have to make sure sufficient credentials are provided in the accounts file. For example if no tests with roles are being run it requires at least 2 * CONC distinct accounts configured in the test_accounts_file, with CONC == the number of concurrent test processes.

use_dynamic_credentials
Type:boolean
Default:true

Allows test cases to create/destroy projects and users. This option requires that OpenStack Identity API admin credentials are known. If false, isolated test cases and parallel execution, can still be achieved configuring a list of test accounts

tempest_roles
Type:list
Default:u''

Roles to assign to all users created by tempest

default_credentials_domain_name
Type:string
Default:Default

Default domain used when getting v3 credentials. This is the name keystone uses for v2 compatibility.

Deprecated Variations
Group Name
auth tenant_isolation_domain_name
create_isolated_networks
Type:boolean
Default:true

If use_dynamic_credentials is set to True and Neutron is enabled Tempest will try to create a usable network, subnet, and router when needed for each project it creates. However in some neutron configurations, like with VLAN provider networks, this doesn’t work. So if set to False the isolated networks will not be created

admin_username
Type:string
Default:<None>

Username for an administrative user. This is needed for authenticating requests made by project isolation to create users and projects

Deprecated Variations
Group Name
identity admin_username
admin_project_name
Type:string
Default:<None>

Project name to use for an administrative user. This is needed for authenticating requests made by project isolation to create users and projects

Deprecated Variations
Group Name
auth admin_tenant_name
identity admin_tenant_name
admin_password
Type:string
Default:<None>

Password to use for an administrative user. This is needed for authenticating requests made by project isolation to create users and projects

Deprecated Variations
Group Name
identity admin_password
admin_domain_name
Type:string
Default:Default

Admin domain name for authentication (Keystone V3).The same domain applies to user and project

Deprecated Variations
Group Name
identity admin_domain_name
image_ref
Type:string
Default:<None>

Valid primary image reference to be used in tests. This is a required option

image_ref_alt
Type:string
Default:<None>

Valid secondary image reference to be used in tests. This is a required option, but if only one image is available duplicate the value of image_ref above

certified_image_ref
Type:string
Default:<None>

Valid image reference to be used in image certificate validation tests when enabled. This image must also have the required img_signature_* properties set. Additional details available within the following Nova documentation: https://docs.openstack.org/nova/latest/user/certificate-validation.html

certified_image_trusted_certs
Type:list
Default:<None>

A list of trusted certificates to be used when the image certificate validation compute feature is enabled.

flavor_ref
Type:string
Default:1

Valid primary flavor to use in tests.

flavor_ref_alt
Type:string
Default:2

Valid secondary flavor to be used in tests.

build_interval
Type:integer
Default:1

Time in seconds between build status checks.

build_timeout
Type:integer
Default:300

Timeout in seconds to wait for an instance to build. Other services that do not define build_timeout will inherit this value.

ready_wait
Type:integer
Default:0

Additional wait time for clean state, when there is no OS-EXT-STS extension available

fixed_network_name
Type:string
Default:<None>

Name of the fixed network that is visible to all test projects. If multiple networks are available for a project, this is the network which will be used for creating servers if tempest does not create a network or a network is not specified elsewhere. It may be used for ssh validation only if floating IPs are disabled.

catalog_type
Type:string
Default:compute

Catalog type of the Compute service.

region
Type:string
Default:u''

The compute region name to use. If empty, the value of identity.region is used instead. If no such region is found in the service catalog, the first found one is used.

endpoint_type
Type:string
Default:publicURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The endpoint type to use for the compute service.

volume_device_name
Type:string
Default:vdb

Expected device name when a volume is attached to an instance. Not all hypervisors guarantee that they will respect the user defined device name, tests may fail if inappropriate device name is set.

shelved_offload_time
Type:integer
Default:0

Time in seconds before a shelved instance is eligible for removing from a host. -1 never offload, 0 offload when shelved. This configuration value should be same as [nova.DEFAULT]->shelved_offload_time in nova.conf, and some tests will run for as long as the time.

min_compute_nodes
Type:integer
Default:1

The minimum number of compute nodes expected. This will be utilized by some multinode specific tests to ensure that requests match the expected size of the cluster you are testing with.

hypervisor_type
Type:string
Default:<None>

Hypervisor type of the test target on heterogeneous compute environment. The value can be ‘QEMU’, ‘xen’ or something.

min_microversion
Type:string
Default:<None>

Lower version of the test target microversion range. The format is ‘X.Y’, where ‘X’ and ‘Y’ are int values. Tempest selects tests based on the range between min_microversion and max_microversion. If both values are not specified, Tempest avoids tests which require a microversion. Valid values are string with format ‘X.Y’ or string ‘latest’

max_microversion
Type:string
Default:<None>

Upper version of the test target microversion range. The format is ‘X.Y’, where ‘X’ and ‘Y’ are int values. Tempest selects tests based on the range between min_microversion and max_microversion. If both values are not specified, Tempest avoids tests which require a microversion. Valid values are string with format ‘X.Y’ or string ‘latest’

disk_config
Type:boolean
Default:true

If false, skip disk config tests

api_extensions
Type:list
Default:all

A list of enabled compute extensions with a special entry all which indicates every extension is enabled. Each extension should be specified with alias name. Empty list indicates all extensions are disabled

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:The Nova extensions API and mechanism is deprecated. This option will be removed when all releases supported by tempest no longer contain the Nova extensions API and mechanism.
change_password
Type:boolean
Default:false

Does the test environment support changing the admin password?

console_output
Type:boolean
Default:true

Does the test environment support obtaining instance serial console output?

resize
Type:boolean
Default:false

Does the test environment support resizing? When you enable this feature, ‘flavor_ref_alt’ should be set and it should refer to a larger flavor than ‘flavor_ref’ one.

pause
Type:boolean
Default:true

Does the test environment support pausing?

shelve
Type:boolean
Default:true

Does the test environment support shelving/unshelving?

suspend
Type:boolean
Default:true

Does the test environment support suspend/resume?

cold_migration
Type:boolean
Default:true

Does the test environment support cold migration?

live_migration
Type:boolean
Default:true

Does the test environment support live migration?

live_migrate_back_and_forth
Type:boolean
Default:false

Does the test environment support live migrating VM back and forth between different versions of nova-compute?

metadata_service
Type:boolean
Default:true

Does the test environment support metadata service? Ignored unless validation.run_validation=true.

block_migration_for_live_migration
Type:boolean
Default:false

Does the test environment use block devices for live migration

block_migrate_cinder_iscsi
Type:boolean
Default:false

Does the test environment support block migration with Cinder iSCSI volumes. Note: libvirt >= 1.2.17 is required to support this if using the libvirt compute driver.

vnc_console
Type:boolean
Default:false

Enable VNC console. This configuration value should be same as [nova.vnc]->vnc_enabled in nova.conf

vnc_server_header
Type:string
Default:WebSockify

Expected VNC server name (WebSockify, nginx, etc) in response header.

spice_console
Type:boolean
Default:false

Enable Spice console. This configuration value should be same as [nova.spice]->enabled in nova.conf

rdp_console
Type:boolean
Default:false

Enable RDP console. This configuration value should be same as [nova.rdp]->enabled in nova.conf

serial_console
Type:boolean
Default:false

Enable serial console. This configuration value should be the same as [nova.serial_console]->enabled in nova.conf

rescue
Type:boolean
Default:true

Does the test environment support instance rescue mode?

enable_instance_password
Type:boolean
Default:true

Enables returning of the instance password by the relevant server API calls such as create, rebuild or rescue. This configuration value should be same as nova.conf: DEFAULT.enable_instance_password

interface_attach
Type:boolean
Default:true

Does the test environment support dynamic network interface attachment?

snapshot
Type:boolean
Default:true

Does the test environment support creating snapshot images of running instances?

nova_cert
Type:boolean
Default:false

Does the test environment have the nova cert running?

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:On Nova side, the nova-cert service is deprecated and the service will be removed as early as Ocata.
personality
Type:boolean
Default:false

Does the test environment support server personality

attach_encrypted_volume
Type:boolean
Default:true

Does the test environment support attaching an encrypted volume to a running server instance? This may depend on the combination of compute_driver in nova and the volume_driver(s) in cinder.

config_drive
Type:boolean
Default:true

Enable special configuration drive with metadata.

scheduler_available_filters
Type:list
Default:all

A list of enabled filters that nova will accept as hints to the scheduler when creating a server. A special entry ‘all’ indicates all filters that are included with nova are enabled. Empty list indicates all filters are disabled. The full list of available filters is in nova.conf: DEFAULT.scheduler_available_filters. If the default value is overridden in nova.conf by the test environment (which means that a different set of filters is enabled than what is included in Nova by default) then, this option must be configured to contain the same filters that Nova uses in the test environment.

swap_volume
Type:boolean
Default:false

Does the test environment support in-place swapping of volumes attached to a server instance?

volume_backed_live_migration
Type:boolean
Default:false

Does the test environment support volume-backed live migration?

volume_multiattach
Type:boolean
Default:false

Does the test environment support attaching a volume to more than one instance? This depends on hypervisor and volume backend/type and compute API version 2.60.

trace_requests
Type:string
Default:u''

A regex to determine which requests should be traced.

This is a regex to match the caller for rest client requests to be able to selectively trace calls out of specific classes and methods. It largely exists for test development, and is not expected to be used in a real deploy of tempest. This will be matched against the discovered ClassName:method in the test environment.

Expected values for this field are:

  • ClassName:test_method_name - traces one test_method
  • ClassName:setUp(Class) - traces specific setup functions
  • ClassName:tearDown(Class) - traces specific teardown functions
  • ClassName:_run_cleanups - traces the cleanup functions

If nothing is specified, this feature is not enabled. To trace everything specify .* as the regex.

catalog_type
Type:string
Default:identity

Catalog type of the Identity service.

disable_ssl_certificate_validation
Type:boolean
Default:false

Set to True if using self-signed SSL certificates.

ca_certificates_file
Type:string
Default:<None>

Specify a CA bundle file to use in verifying a TLS (https) server certificate.

uri
Type:string
Default:<None>

Full URI of the OpenStack Identity API (Keystone), v2

uri_v3
Type:string
Default:<None>

Full URI of the OpenStack Identity API (Keystone), v3

auth_version
Type:string
Default:v3

Identity API version to be used for authentication for API tests.

region
Type:string
Default:RegionOne

The identity region name to use. Also used as the other services’ region name unless they are set explicitly. If no such region is found in the service catalog, the first found one is used.

v2_admin_endpoint_type
Type:string
Default:adminURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The admin endpoint type to use for OpenStack Identity (Keystone) API v2

v2_public_endpoint_type
Type:string
Default:publicURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The public endpoint type to use for OpenStack Identity (Keystone) API v2

Deprecated Variations
Group Name
identity endpoint_type
v3_endpoint_type
Type:string
Default:adminURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The endpoint type to use for OpenStack Identity (Keystone) API v3. The default value adminURL is deprecated and will be modified to publicURL in the next release.

admin_role
Type:string
Default:admin

Role required to administrate keystone.

default_domain_id
Type:string
Default:default

ID of the default domain

admin_domain_scope
Type:boolean
Default:false

Whether keystone identity v3 policy required a domain scoped token to use admin APIs

user_lockout_failure_attempts
Type:integer
Default:2

The number of unsuccessful login attempts the user is allowed before having the account locked.

user_lockout_duration
Type:integer
Default:5

The number of seconds a user account will remain locked.

user_unique_last_password_count
Type:integer
Default:2

The number of passwords for a user that must be unique before an old password can be reused.

trust
Type:boolean
Default:true

Does the identity service have delegation and impersonation enabled

api_v2
Type:boolean
Default:false

Is the v2 identity API enabled

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:The identity v2.0 API was removed in the Queens release. Tests that exercise the v2.0 API will be removed from tempest in the v22.0.0 release. They are kept only to test stable branches.
api_v2_admin
Type:boolean
Default:true

Is the v2 identity admin API available? This setting only applies if api_v2 is set to True.

api_v3
Type:boolean
Default:true

Is the v3 identity API enabled

api_extensions
Type:list
Default:all

A list of enabled identity extensions with a special entry all which indicates every extension is enabled. Empty list indicates all extensions are disabled. To get the list of extensions run: ‘openstack extension list –identity’

domain_specific_drivers
Type:boolean
Default:false

Are domain specific drivers enabled? This configuration value should be same as [identity]->domain_specific_drivers_enabled in keystone.conf.

security_compliance
Type:boolean
Default:false

Does the environment have the security compliance settings enabled?

project_tags
Type:boolean
Default:false

Is the project tags identity v3 API available?

application_credentials
Type:boolean
Default:false

Does the environment have application credentials enabled?

catalog_type
Type:string
Default:image

Catalog type of the Image service.

region
Type:string
Default:u''

The image region name to use. If empty, the value of identity.region is used instead. If no such region is found in the service catalog, the first found one is used.

endpoint_type
Type:string
Default:publicURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The endpoint type to use for the image service.

http_image
Type:string
Default:http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz

http accessible image

build_timeout
Type:integer
Default:300

Timeout in seconds to wait for an image to become available.

build_interval
Type:integer
Default:1

Time in seconds between image operation status checks.

container_formats
Type:list
Default:ami,ari,aki,bare,ovf,ova

A list of image’s container formats users can specify.

disk_formats
Type:list
Default:ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,vhdx

A list of image’s disk formats users can specify.

api_v2
Type:boolean
Default:true

Is the v2 image API enabled

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:Glance v1 APIs are deprecated and v2 APIs are current one. In future, Tempest will test v2 APIs only so this config option will be removed.
api_v1
Type:boolean
Default:true

Is the v1 image API enabled

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:Glance v1 APIs are deprecated and v2 APIs are current one. In future, Tempest will test v2 APIs only so this config option will be removed.
region
Type:string
Default:u''

The region name to use. If empty, the value of identity.region is used instead. If no such region is found in the service catalog, the first found one is used.

catalog_type
Type:string
Default:load-balancer

Catalog type of the Octavia service.

endpoint_type
Type:string
Default:publicURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The endpoint type to use for the load-balancer service

build_interval
Type:integer
Default:5

Time in seconds between build status checks for non-load-balancer resources to build

build_timeout
Type:integer
Default:300

Timeout in seconds to wait for non-load-balancer resources to build

check_interval
Type:integer
Default:5

Interval to check for status changes.

check_timeout
Type:integer
Default:60

Timeout, in seconds, to wait for a status change.

test_with_noop
Type:boolean
Default:false

Runs the tests assuming no-op drivers are being used. Tests will assume no actual amphora are created.

lb_build_interval
Type:integer
Default:10

Time in seconds between build status checks for a load balancer.

lb_build_timeout
Type:integer
Default:900

Timeout in seconds to wait for a load balancer to build.

member_role
Type:string
Default:load-balancer_member

The load balancing member RBAC role.

admin_role
Type:string
Default:load-balancer_admin

The load balancing admin RBAC role.

scp_connection_timeout
Type:integer
Default:5

Timeout in seconds to wait for a scp connection to complete.

scp_connection_attempts
Type:integer
Default:20

Retries for scp to attempt to connect.

provider
Type:string
Default:octavia

The provider driver to use for the tests.

RBAC_test_type
Type:string
Default:advanced
Valid Values:advanced, owner_or_admin, none

Type of RBAC tests to run. “advanced” runs the octavia default RBAC tests. “owner_or_admin” runs the legacy owner or admin tests. “none” disables the RBAC tests.

test_with_ipv6
Type:boolean
Default:true

When true the IPv6 tests will be run.

disable_boot_network
Type:boolean
Default:false

True if your cloud does not allow creating networks or specifying the boot network for instances.

enable_security_groups
Type:boolean
Default:false

When true, security groups will be created for the test servers. When false, port security will be disabled on the created networks.

test_network_override
Type:string
Default:<None>

Overrides network creation and uses this network ID for all tests (VIP, members, etc.). Required if test_subnet_override is set.

test_subnet_override
Type:string
Default:<None>

Overrides subnet creation and uses this subnet ID for all IPv4 tests (VIP, members, etc.). Optional

test_ipv6_subnet_override
Type:string
Default:<None>

Overrides subnet creation and uses this subnet ID for all IPv6 tests (VIP, members, etc.). Optional and only valid if test_network_override is set.

vip_subnet_cidr
Type:string
Default:10.1.1.0/24

CIDR format subnet to use for the vip subnet.

vip_ipv6_subnet_cidr
Type:string
Default:fdde:1a92:7523:70a0::/64

CIDR format subnet to use for the IPv6 vip subnet.

member_1_ipv4_subnet_cidr
Type:string
Default:10.2.1.0/24

CIDR format subnet to use for the member 1 subnet.

member_1_ipv6_subnet_cidr
Type:string
Default:fd7b:f9f7:0fff:4eca::/64

CIDR format subnet to use for the member 1 ipv6 subnet.

member_2_ipv4_subnet_cidr
Type:string
Default:10.2.2.0/24

CIDR format subnet to use for the member 2 subnet.

member_2_ipv6_subnet_cidr
Type:string
Default:fd77:1457:4cf0:26a8::/64

CIDR format subnet to use for the member 1 ipv6 subnet.

random_server_name_length
Type:integer
Default:0

If non-zero, generate a random name of the length provided for each server, in the format “m[A-Z0-9]*”.

availability_zone
Type:string
Default:<None>

Availability zone to use for creating servers.

health_monitor_enabled
Type:boolean
Default:true

Whether Health Monitor is available with provider driver or not.

catalog_type
Type:string
Default:network

Catalog type of the Neutron service.

region
Type:string
Default:u''

The network region name to use. If empty, the value of identity.region is used instead. If no such region is found in the service catalog, the first found one is used.

endpoint_type
Type:string
Default:publicURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The endpoint type to use for the network service.

project_network_cidr
Type:string
Default:10.100.0.0/16

The cidr block to allocate project ipv4 subnets from

project_network_mask_bits
Type:integer
Default:28

The mask bits for project ipv4 subnets

project_network_v6_cidr
Type:string
Default:2003::/48

The cidr block to allocate project ipv6 subnets from

project_network_v6_mask_bits
Type:integer
Default:64

The mask bits for project ipv6 subnets

project_networks_reachable
Type:boolean
Default:false

Whether project networks can be reached directly from the test client. This must be set to True when the ‘fixed’ connect_method is selected.

public_network_id
Type:string
Default:u''

Id of the public network that provides external connectivity

floating_network_name
Type:string
Default:<None>

Default floating network name. Used to allocate floating IPs when neutron is enabled.

public_router_id
Type:string
Default:u''

Id of the public router that provides external connectivity. This should only be used when Neutron’s ‘allow_overlapping_ips’ is set to ‘False’ in neutron.conf. usually not needed past ‘Grizzly’ release

build_timeout
Type:integer
Default:300

Timeout in seconds to wait for network operation to complete.

build_interval
Type:integer
Default:1

Time in seconds between network operation status checks.

dns_servers
Type:list
Default:8.8.8.8,8.8.4.4

List of dns servers which should be used for subnet creation

port_vnic_type
Type:string
Default:<None>
Valid Values:<None>, normal, direct, macvtap

vnic_type to use when launching instances with pre-configured ports. Supported ports are: [‘normal’,’direct’,’macvtap’]

port_profile
Type:dict
Default:u''

port profile to use when launching instances with pre-configured ports.

default_network
Type:list
Default:1.0.0.0/16,2.0.0.0/16

List of ip pools for subnetpools creation

shared_physical_network
Type:boolean
Default:false

The environment does not support network separation between tenants.

ipv6
Type:boolean
Default:true

Allow the execution of IPv6 tests

api_extensions
Type:list
Default:all

A list of enabled network extensions with a special entry all which indicates every extension is enabled. Empty list indicates all extensions are disabled. To get the list of extensions run: ‘neutron ext-list’

ipv6_subnet_attributes
Type:boolean
Default:false

Allow the execution of IPv6 subnet tests that use the extended IPv6 attributes ipv6_ra_mode and ipv6_address_mode

port_admin_state_change
Type:boolean
Default:true

Does the test environment support changing port admin state

port_security
Type:boolean
Default:false

Does the test environment support port security?

floating_ips
Type:boolean
Default:true

Does the test environment support floating_ips

catalog_type
Type:string
Default:object-store

Catalog type of the Object-Storage service.

region
Type:string
Default:u''

The object-storage region name to use. If empty, the value of identity.region is used instead. If no such region is found in the service catalog, the first found one is used.

endpoint_type
Type:string
Default:publicURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The endpoint type to use for the object-store service.

container_sync_timeout
Type:integer
Default:600

Number of seconds to time on waiting for a container to container synchronization complete.

container_sync_interval
Type:integer
Default:5

Number of seconds to wait while looping to check the status of a container to container synchronization

operator_role
Type:string
Default:Member

Role to add to users created for swift tests to enable creating containers

reseller_admin_role
Type:string
Default:ResellerAdmin

User role that has reseller admin

realm_name
Type:string
Default:realm1

Name of sync realm. A sync realm is a set of clusters that have agreed to allow container syncing with each other. Set the same realm name as Swift’s container-sync-realms.conf

cluster_name
Type:string
Default:name1

One name of cluster which is set in the realm whose name is set in ‘realm_name’ item in this file. Set the same cluster name as Swift’s container-sync-realms.conf

discoverable_apis
Type:list
Default:all

A list of the enabled optional discoverable apis. A single entry, all, indicates that all of these features are expected to be enabled

container_sync
Type:boolean
Default:true

Execute (old style) container-sync tests

object_versioning
Type:boolean
Default:true

Execute object-versioning tests

discoverability
Type:boolean
Default:true

Execute discoverability tests

img_dir
Type:string
Default:/opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec

Directory containing image files

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

img_file
Type:string
Default:cirros-0.3.1-x86_64-disk.img

Image file name

Deprecated Variations
Group Name
scenario qcow2_img_file
img_disk_format
Type:string
Default:qcow2

Image disk format

img_container_format
Type:string
Default:bare

Image container format

img_properties
Type:dict
Default:<None>

Glance image properties. Use for custom images which require them

ami_img_file
Type:string
Default:cirros-0.3.1-x86_64-blank.img

AMI image file name

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

ari_img_file
Type:string
Default:cirros-0.3.1-x86_64-initrd

ARI image file name

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

aki_img_file
Type:string
Default:cirros-0.3.1-x86_64-vmlinuz

AKI image file name

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

dhcp_client
Type:string
Default:udhcpc
Valid Values:udhcpc, dhclient, ‘’

DHCP client used by images to renew DCHP lease. If left empty, update operation will be skipped. Supported clients: “udhcpc”, “dhclient”

http_timeout
Type:integer
Default:60

Timeout in seconds to wait for the http request to return

proxy_url
Type:string
Default:<None>

Specify an http proxy to use.

cinder
Type:boolean
Default:true

Whether or not cinder is expected to be available

neutron
Type:boolean
Default:false

Whether or not neutron is expected to be available

glance
Type:boolean
Default:true

Whether or not glance is expected to be available

swift
Type:boolean
Default:true

Whether or not swift is expected to be available

nova
Type:boolean
Default:true

Whether or not nova is expected to be available

load_balancer
Type:boolean
Default:true

Whether or not the load-balancer service is expected to be available.

run_validation
Type:boolean
Default:false

Enable ssh on created servers and creation of additional validation resources to enable remote access

security_group
Type:boolean
Default:true

Enable/disable security groups.

security_group_rules
Type:boolean
Default:true

Enable/disable security group rules.

connect_method
Type:string
Default:floating
Valid Values:fixed, floating

Default IP type used for validation: -fixed: uses the first IP belonging to the fixed network -floating: creates and uses a floating IP

auth_method
Type:string
Default:keypair
Valid Values:keypair

Default authentication method to the instance. Only ssh via keypair is supported for now. Additional methods will be handled in a separate spec.

ip_version_for_ssh
Type:integer
Default:4

Default IP version for ssh connections.

ping_timeout
Type:integer
Default:120

Timeout in seconds to wait for ping to succeed.

connect_timeout
Type:integer
Default:60

Timeout in seconds to wait for the TCP connection to be successful.

ssh_timeout
Type:integer
Default:300

Timeout in seconds to wait for the ssh banner.

image_ssh_user
Type:string
Default:root

User name used to authenticate to an instance.

image_ssh_password
Type:string
Default:password

Password used to authenticate to an instance.

ssh_shell_prologue
Type:string
Default:set -eu -o pipefail; PATH=$$PATH:/sbin;

Shell fragments to use before executing a command when sshing to a guest.

ping_size
Type:integer
Default:56

The packet size for ping packets originating from remote linux hosts

ping_count
Type:integer
Default:1

The number of ping packets originating from remote linux hosts

floating_ip_range
Type:string
Default:10.0.0.0/29

Unallocated floating IP range, which will be used to test the floating IP bulk feature for CRUD operation. This block must not overlap an existing floating IP pool.

network_for_ssh
Type:string
Default:public

Network used for SSH connections. Ignored if connect_method=floating.

build_interval
Type:integer
Default:1

Time in seconds between volume availability checks.

build_timeout
Type:integer
Default:300

Timeout in seconds to wait for a volume to become available.

catalog_type
Type:string
Default:volumev3

Catalog type of the Volume Service

region
Type:string
Default:u''

The volume region name to use. If empty, the value of identity.region is used instead. If no such region is found in the service catalog, the first found one is used.

endpoint_type
Type:string
Default:publicURL
Valid Values:public, admin, internal, publicURL, adminURL, internalURL

The endpoint type to use for the volume service.

backend_names
Type:list
Default:BACKEND_1,BACKEND_2

A list of backend names separated by comma. The backend name must be declared in cinder.conf

storage_protocol
Type:string
Default:iSCSI

Backend protocol to target when creating volume types

vendor_name
Type:string
Default:Open Source

Backend vendor to target when creating volume types

disk_format
Type:string
Default:raw

Disk format to use when copying a volume to image

volume_size
Type:integer
Default:1

Default size in GB for volumes created by volumes tests

manage_volume_ref
Type:list
Default:source-name,volume-%s

A reference to existing volume for volume manage. It contains two elements, the first is ref type (like ‘source-name’, ‘source-id’, etc), the second is volume name template used in storage backend

manage_snapshot_ref
Type:list
Default:source-name,_snapshot-%s

A reference to existing snapshot for snapshot manage. It contains two elements, the first is ref type (like ‘source-name’, ‘source-id’, etc), the second is snapshot name template used in storage backend

min_microversion
Type:string
Default:<None>

Lower version of the test target microversion range. The format is ‘X.Y’, where ‘X’ and ‘Y’ are int values. Tempest selects tests based on the range between min_microversion and max_microversion. If both values are not specified, Tempest avoids tests which require a microversion. Valid values are string with format ‘X.Y’ or string ‘latest’

max_microversion
Type:string
Default:<None>

Upper version of the test target microversion range. The format is ‘X.Y’, where ‘X’ and ‘Y’ are int values. Tempest selects tests based on the range between min_microversion and max_microversion. If both values are not specified, Tempest avoids tests which require a microversion. Valid values are string with format ‘X.Y’ or string ‘latest’

multi_backend
Type:boolean
Default:false

Runs Cinder multi-backend test (requires 2 backends)

backup
Type:boolean
Default:true

Runs Cinder volumes backup test

snapshot
Type:boolean
Default:true

Runs Cinder volume snapshot test

clone
Type:boolean
Default:true

Runs Cinder volume clone test

manage_snapshot
Type:boolean
Default:false

Runs Cinder manage snapshot tests

manage_volume
Type:boolean
Default:false

Runs Cinder manage volume tests

api_extensions
Type:list
Default:all

A list of enabled volume extensions with a special entry all which indicates every extension is enabled. Empty list indicates all extensions are disabled

api_v1
Type:boolean
Default:false

Is the v1 volume API enabled

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:The v1 volume API has been deprecated since Juno release, and the API will be removed.
api_v2
Type:boolean
Default:true

Is the v2 volume API enabled

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:The v2 volume API has been deprecated since Pike release. Now Tempest run all the volume tests against v2 or v3 API based on CONF.volume.catalog_type which makes this config option unusable. If catalog_type is volumev2, then all the volume tests will run against v2 API. Use CONF.volume.catalog_type to run the Tempest against volume v2 or v3 API
api_v3
Type:boolean
Default:true

Is the v3 volume API enabled

Warning

This option is deprecated for removal. Its value may be silently ignored in the future.

Reason:Tempest run all the volume tests against v2 or v3 API based on CONF.volume.catalog_type which makes this config option unusable. If catalog_type is volumev3 which is default, then all the volume tests will run against v3 API. Use CONF.volume.catalog_type to run the Tempest against volume v2 or v3 API
extend_attached_volume
Type:boolean
Default:false

Does the cloud support extending the size of a volume which is currently attached to a server instance? This depends on the 3.42 volume API microversion and the 2.51 compute API microversion. Also, not all volume or compute backends support this operation.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.