|
|
|
@@ -59,7 +59,7 @@ BUILD_TIMEOUT=${BUILD_TIMEOUT:-196}
|
|
|
|
|
# This must be False on stable branches, as master tempest
|
|
|
|
|
# deps do not match stable branch deps. Set this to True to
|
|
|
|
|
# have tempest installed in DevStack by default.
|
|
|
|
|
INSTALL_TEMPEST=${INSTALL_TEMPEST:-"True"}
|
|
|
|
|
INSTALL_TEMPEST=${INSTALL_TEMPEST:-"False"}
|
|
|
|
|
|
|
|
|
|
# This variable is passed directly to pip install inside the common tox venv
|
|
|
|
|
# that is created
|
|
|
|
@@ -470,11 +470,11 @@ function configure_tempest {
|
|
|
|
|
# Compute Features
|
|
|
|
|
# Set the microversion range for compute tests.
|
|
|
|
|
# This is used to run the Nova microversions tests.
|
|
|
|
|
# Setting [None, latest] range of microversion which allow Tempest to run all microversions tests.
|
|
|
|
|
# Setting [None, 2.96] range of microversion which allow Tempest to run available microversions tests on stable/2024.2.
|
|
|
|
|
# NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_compute_max_microversion"
|
|
|
|
|
# for stable branch on each release which should be changed from "latest" to max supported version of that release.
|
|
|
|
|
local tempest_compute_min_microversion=${TEMPEST_COMPUTE_MIN_MICROVERSION:-None}
|
|
|
|
|
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"latest"}
|
|
|
|
|
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"2.96"}
|
|
|
|
|
# Reset microversions to None where v2.0 is running which does not support microversion.
|
|
|
|
|
# Both "None" means no microversion testing.
|
|
|
|
|
if [[ "$TEMPEST_COMPUTE_TYPE" == "compute_legacy" ]]; then
|
|
|
|
@@ -581,7 +581,7 @@ function configure_tempest {
|
|
|
|
|
iniset $TEMPEST_CONFIG volume backup_driver swift
|
|
|
|
|
fi
|
|
|
|
|
local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None}
|
|
|
|
|
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"latest"}
|
|
|
|
|
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"3.71"}
|
|
|
|
|
if [ "$tempest_volume_min_microversion" == "None" ]; then
|
|
|
|
|
inicomment $TEMPEST_CONFIG volume min_microversion
|
|
|
|
|
else
|
|
|
|
@@ -636,11 +636,11 @@ function configure_tempest {
|
|
|
|
|
|
|
|
|
|
# Placement Features
|
|
|
|
|
# Set the microversion range for placement.
|
|
|
|
|
# Setting [None, latest] range of microversion which allow Tempest to run all microversions tests.
|
|
|
|
|
# Setting [None, 1.39] range of microversion which allow Tempest to run available microversions tests on stable/2024.2.
|
|
|
|
|
# NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_placement_max_microversion"
|
|
|
|
|
# for stable branch on each release which should be changed from "latest" to max supported version of that release.
|
|
|
|
|
local tempest_placement_min_microversion=${TEMPEST_PLACEMENT_MIN_MICROVERSION:-None}
|
|
|
|
|
local tempest_placement_max_microversion=${TEMPEST_PLACEMENT_MAX_MICROVERSION:-"latest"}
|
|
|
|
|
local tempest_placement_max_microversion=${TEMPEST_PLACEMENT_MAX_MICROVERSION:-"1.39"}
|
|
|
|
|
if [ "$tempest_placement_min_microversion" == "None" ]; then
|
|
|
|
|
inicomment $TEMPEST_CONFIG placement min_microversion
|
|
|
|
|
else
|
|
|
|
@@ -781,7 +781,44 @@ function configure_tempest {
|
|
|
|
|
DISABLE_NETWORK_API_EXTENSIONS+=", l3_agent_scheduler"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
local network_api_extensions=${NETWORK_API_EXTENSIONS:-"all"}
|
|
|
|
|
DEFAULT_NET_EXT="address-scope,agent,allowed-address-pairs,auto-allocated-topology"
|
|
|
|
|
DEFAULT_NET_EXT+=",availability_zone,binding,default-subnetpools,dhcp_agent_scheduler"
|
|
|
|
|
DEFAULT_NET_EXT+=",dvr,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,flavors"
|
|
|
|
|
DEFAULT_NET_EXT+=",l3-flavors,l3-ha,l3_agent_scheduler,multi-provider,net-mtu"
|
|
|
|
|
DEFAULT_NET_EXT+=",network-ip-availability,network_availability_zone,pagination"
|
|
|
|
|
DEFAULT_NET_EXT+=",port-security,project-id,provider,quotas,quota_details,rbac-policies"
|
|
|
|
|
DEFAULT_NET_EXT+=",revision-if-match,router,router_availability_zone,security-group,service-type,sorting"
|
|
|
|
|
DEFAULT_NET_EXT+=",standard-attr-description,standard-attr-revisions,standard-attr-tag,standard-attr-timestamp"
|
|
|
|
|
DEFAULT_NET_EXT+=",subnet-service-types,subnet_allocation,net-mtu-writable,ip-substring-filtering"
|
|
|
|
|
DEFAULT_NET_EXT+=",availability_zone_filter,filter-validation,empty-string-filtering,port-mac-address-regenerate"
|
|
|
|
|
DEFAULT_NET_EXT+=",port-security-groups-filtering,fip-port-details,binding-extended"
|
|
|
|
|
DEFAULT_NET_EXT+=",subnet_onboard,l3-port-ip-change-not-allowed,agent-resources-synced"
|
|
|
|
|
DEFAULT_NET_EXT+=",floatingip-pools,rbac-security-groups,subnetpool-prefix-ops,router-admin-state-down-before-update"
|
|
|
|
|
DEFAULT_NET_EXT+=",rbac-subnetpool,tag-ports-during-bulk-creation,stateful-security-group,address-group,extraroute-atomic"
|
|
|
|
|
DEFAULT_NET_EXT+=",port-numa-affinity-policy,rbac-address-scope,security-groups-remote-address-group,trunk,trunk-details"
|
|
|
|
|
DEFAULT_NET_EXT+=",rbac-address-group,port-device-profile"
|
|
|
|
|
DEFAULT_NET_EXT+=",multiple-external-gateways,qos-pps-minimum,l3-ext-ndp-proxy,rbac-bgpvpn"
|
|
|
|
|
DEFAULT_NET_EXT+=",qos-pps,ecmp_routes,bgp,floating-ip-port-forwarding-port-ranges"
|
|
|
|
|
# New in Yoga
|
|
|
|
|
DEFAULT_NET_EXT+=",security-groups-shared-filtering,security-groups-normalized-cidr,quota-check-limit"
|
|
|
|
|
DEFAULT_NET_EXT+=",port-resource-request-groups"
|
|
|
|
|
# New in Zed
|
|
|
|
|
DEFAULT_NET_EXT+=",port-mac-override,floating-ip-port-forwarding-detail,network-cascade-delete"
|
|
|
|
|
# New in 2023.1
|
|
|
|
|
DEFAULT_NET_EXT+=",port-hints,floating-ip-distributed"
|
|
|
|
|
# New in 2023.2
|
|
|
|
|
DEFAULT_NET_EXT+=",port-hint-ovs-tx-steering,enable-default-route-bfd"
|
|
|
|
|
DEFAULT_NET_EXT+=",enable-default-route-ecmp,standard-attr-fwaas-v2"
|
|
|
|
|
DEFAULT_NET_EXT+=",allowed-address-pairs-atomic,network_ha"
|
|
|
|
|
DEFAULT_NET_EXT+=",security-groups-rules-belongs-to-default-sg"
|
|
|
|
|
DEFAULT_NET_EXT+=",port-hardware-offload-type"
|
|
|
|
|
# New in 2024.1
|
|
|
|
|
DEFAULT_NET_EXT+=",vpn-aes-ccm-gcm,tap-mirror,subnet-external-network"
|
|
|
|
|
DEFAULT_NET_EXT+=",port-numa-affinity-policy-socket"
|
|
|
|
|
# New in 2024.2
|
|
|
|
|
DEFAULT_NET_EXT+=",tag-creation,quota-check-limit-default,port-trusted-vif"
|
|
|
|
|
DEFAULT_NET_EXT+=",uplink-status-propagation-updatable"
|
|
|
|
|
local network_api_extensions=${NETWORK_API_EXTENSIONS:-$DEFAULT_NET_EXT}
|
|
|
|
|
if [[ ! -z "$DISABLE_NETWORK_API_EXTENSIONS" ]]; then
|
|
|
|
|
# Enabled extensions are either the ones explicitly specified or those available on the API endpoint
|
|
|
|
|
network_api_extensions=${NETWORK_API_EXTENSIONS:-$(iniget $tmp_cfg_file network-feature-enabled api_extensions | tr -d " ")}
|
|
|
|
@@ -793,7 +830,10 @@ function configure_tempest {
|
|
|
|
|
fi
|
|
|
|
|
iniset $TEMPEST_CONFIG network-feature-enabled api_extensions $network_api_extensions
|
|
|
|
|
# Swift API Extensions
|
|
|
|
|
local object_storage_api_extensions=${OBJECT_STORAGE_API_EXTENSIONS:-"all"}
|
|
|
|
|
DEFAULT_SWIFT_OPT="account_quotas,bulk_delete,bulk_upload,container_quotas"
|
|
|
|
|
DEFAULT_SWIFT_OPT+=",container_sync,crossdomain,formpost,ratelimit,slo"
|
|
|
|
|
DEFAULT_SWIFT_OPT+=",staticweb,tempauth,tempurl,versioned_writes"
|
|
|
|
|
local object_storage_api_extensions=${OBJECT_STORAGE_API_EXTENSIONS:-$DEFAULT_SWIFT_OPT}
|
|
|
|
|
if [[ ! -z "$DISABLE_OBJECT_STORAGE_API_EXTENSIONS" ]]; then
|
|
|
|
|
# Enabled extensions are either the ones explicitly specified or those available on the API endpoint
|
|
|
|
|
object_storage_api_extensions=${OBJECT_STORAGE_API_EXTENSIONS:-$(iniget $tmp_cfg_file object-storage-feature-enabled discoverable_apis | tr -d " ")}
|
|
|
|
@@ -802,7 +842,18 @@ function configure_tempest {
|
|
|
|
|
fi
|
|
|
|
|
iniset $TEMPEST_CONFIG object-storage-feature-enabled discoverable_apis $object_storage_api_extensions
|
|
|
|
|
# Cinder API Extensions
|
|
|
|
|
local volume_api_extensions=${VOLUME_API_EXTENSIONS:-"all"}
|
|
|
|
|
DEFAULT_VOL_EXT="OS-SCH-HNT,backups,capabilities,cgsnapshots,consistencygroups"
|
|
|
|
|
DEFAULT_VOL_EXT+=",encryption,os-admin-actions,os-availability-zone"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-extended-services,os-extended-snapshot-attributes"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-hosts,os-quota-class-sets,os-quota-sets"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-services,os-snapshot-actions,os-snapshot-manage"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-snapshot-unmanage,os-types-extra-specs,os-types-manage"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-used-limits,os-vol-host-attr,os-vol-image-meta"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-vol-mig-status-attr,os-vol-tenant-attr,os-volume-actions"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-volume-encryption-metadata,os-volume-manage"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-volume-transfer,os-volume-type-access"
|
|
|
|
|
DEFAULT_VOL_EXT+=",os-volume-unmanage,qos-specs,scheduler-stats"
|
|
|
|
|
local volume_api_extensions=${VOLUME_API_EXTENSIONS:-$DEFAULT_VOL_EXT}
|
|
|
|
|
if [[ ! -z "$DISABLE_VOLUME_API_EXTENSIONS" ]]; then
|
|
|
|
|
# Enabled extensions are either the ones explicitly specified or those available on the API endpoint
|
|
|
|
|
volume_api_extensions=${VOLUME_API_EXTENSIONS:-$(iniget $tmp_cfg_file volume-feature-enabled api_extensions | tr -d " ")}
|
|
|
|
|