This commit adds the hard coded service extension lists for icehouse
in the tempest config files. To enable gating with tempest master on
all supported branches the extension list has to be explicit on stable
branches to ensure we don't attempt to run tests for new extensions on
stable branch services. This commit adds these lists for the icehouse
branch.
Implements blueprint branchless-tempest-extensions
Change-Id: I14b4301f9211529e5ff6fe56f65392c1d198a18a
| ... | ... |
@@ -304,6 +304,24 @@ function configure_tempest {
|
| 304 | 304 |
iniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration ${USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION:-False}
|
| 305 | 305 |
iniset $TEMPEST_CONFIG compute-feature-enabled xml_api_v2 ${COMPUTE_XML_API_V2:-True}
|
| 306 | 306 |
|
| 307 |
+ DEFAULT_COMPUTE_EXT="NMN, OS-DCF, OS-EXT-AZ, OS-EXT-IMG-SIZE, OS-EXT-IPS, OS-EXT-IPS-MAC, OS-EXT-SRV-ATTR, OS-EXT-STS, OS-EXT-VIF-NET, " |
|
| 308 |
+ DEFAULT_COMPUTE_EXT+="OS-FLV-DISABLED, OS-FLV-EXT-DATA, OS-SCH-HNT, OS-SRV-USG, os-admin-actions, os-agents, os-aggregates, " |
|
| 309 |
+ DEFAULT_COMPUTE_EXT+="os-assisted-volume-snapshots, os-attach-interfaces, os-availability-zone, os-baremetal-ext-status, " |
|
| 310 |
+ DEFAULT_COMPUTE_EXT+="os-baremetal-nodes, os-block-device-mapping-v2-boot, os-cell-capacities, os-cells, os-certificates, os-cloudpipe, " |
|
| 311 |
+ DEFAULT_COMPUTE_EXT+="os-cloudpipe-update, os-config-drive, os-console-auth-tokens, os-console-output, os-consoles, os-create-server-ext, " |
|
| 312 |
+ DEFAULT_COMPUTE_EXT+="os-deferred-delete, os-evacuate, os-extended-floating-ips, os-extended-hypervisors, os-extended-quotas, " |
|
| 313 |
+ DEFAULT_COMPUTE_EXT+="os-extended-services, os-extended-services-delete, os-extended-volumes, os-fixed-ips, os-flavor-access, " |
|
| 314 |
+ DEFAULT_COMPUTE_EXT+="os-flavor-extra-specs, os-flavor-manage, os-flavor-rxtx, os-flavor-swap, os-floating-ip-dns, os-floating-ip-pools, " |
|
| 315 |
+ DEFAULT_COMPUTE_EXT+="os-floating-ips, os-floating-ips-bulk, os-fping, os-hide-server-addresses, os-hosts, os-hypervisors, " |
|
| 316 |
+ DEFAULT_COMPUTE_EXT+="os-instance-actions, os-instance_usage_audit_log, os-keypairs, os-migrations, os-multiple-create, os-networks, " |
|
| 317 |
+ DEFAULT_COMPUTE_EXT+="os-networks-associate, os-preserve-ephemeral-rebuild, os-quota-class-sets, os-quota-sets, os-rescue, " |
|
| 318 |
+ DEFAULT_COMPUTE_EXT+="os-security-group-default-rules, os-security-groups, os-server-diagnostics, os-server-external-events, " |
|
| 319 |
+ DEFAULT_COMPUTE_EXT+="os-server-groups, os-server-password, os-server-start-stop, os-services, os-shelve, os-simple-tenant-usage, " |
|
| 320 |
+ DEFAULT_COMPUTE_EXT+="os-tenant-networks, os-used-limits, os-used-limits-for-admin, os-user-data, os-user-quotas, os-virtual-interfaces, " |
|
| 321 |
+ DEFAULT_COMPUTE_EXT+="os-volume-attachment-update, os-volumes" |
|
| 322 |
+ |
|
| 323 |
+ iniset $TEMPEST_CONFIG compute-feature-enabled api_extensions ${COMPUTE_API_EXTENSIONS:-$DEFAULT_COMPUTE_EXT}
|
|
| 324 |
+ |
|
| 307 | 325 |
# Compute admin |
| 308 | 326 |
iniset $TEMPEST_CONFIG "compute-admin" username $ADMIN_USERNAME |
| 309 | 327 |
iniset $TEMPEST_CONFIG "compute-admin" password "$password" |
| ... | ... |
@@ -365,6 +383,16 @@ function configure_tempest {
|
| 365 | 365 |
iniset $TEMPEST_CONFIG volume storage_protocol $TEMPEST_STORAGE_PROTOCOL |
| 366 | 366 |
fi |
| 367 | 367 |
|
| 368 |
+ DEFAULT_VOLUME_EXT="OS-SCH-HNT, backups, encryption, os-admin-actions, os-availability-zone, " |
|
| 369 |
+ DEFAULT_VOLUME_EXT+="os-extended-services, os-extended-snapshot-attributes, os-hosts, os-image-create, " |
|
| 370 |
+ DEFAULT_VOLUME_EXT+="os-quota-class-sets, os-quota-sets, os-services, os-snapshot-actions, " |
|
| 371 |
+ DEFAULT_VOLUME_EXT+="os-types-extra-specs, os-types-manage, os-used-limits, os-vol-host-attr, " |
|
| 372 |
+ DEFAULT_VOLUME_EXT+="os-vol-image-meta, os-vol-mig-status-attr, os-vol-tenant-attr, os-volume-actions, " |
|
| 373 |
+ DEFAULT_VOLUME_EXT+="os-volume-encryption-metadata, os-volume-manage, os-volume-transfer, " |
|
| 374 |
+ DEFAULT_VOLUME_EXT+="os-volume-unmanage, qos-specs" |
|
| 375 |
+ |
|
| 376 |
+ iniset $TEMPEST_CONFIG volume-feature-enabled api_extensions ${VOLUME_API_EXTENSIONS:-$DEFAULT_VOLUME_EXT}
|
|
| 377 |
+ |
|
| 368 | 378 |
# Dashboard |
| 369 | 379 |
iniset $TEMPEST_CONFIG dashboard dashboard_url "http://$SERVICE_HOST/" |
| 370 | 380 |
iniset $TEMPEST_CONFIG dashboard login_url "http://$SERVICE_HOST/auth/login/" |
| ... | ... |
@@ -372,14 +400,22 @@ function configure_tempest {
|
| 372 | 372 |
# cli |
| 373 | 373 |
iniset $TEMPEST_CONFIG cli cli_dir $NOVA_BIN_DIR |
| 374 | 374 |
|
| 375 |
+ DEFAULT_NET_EXT="agent, allowed-address-pairs, binding, dhcp_agent_scheduler, ext-gw-mode, external-net" |
|
| 376 |
+ DEFAULT_NET_EXT+=", extra_dhcp_opt, extraroute, fwaas, l3_agent_scheduler, lbaas" |
|
| 377 |
+ DEFAULT_NET_EXT+=", lbaas_agent_scheduler, metering, multi-provider, provider, quotas" |
|
| 378 |
+ DEFAULT_NET_EXT+=", router, security-group, service-type, vpnaas" |
|
| 375 | 379 |
# Networking |
| 376 |
- iniset $TEMPEST_CONFIG network-feature-enabled api_extensions "${NETWORK_API_EXTENSIONS:-all}"
|
|
| 380 |
+ iniset $TEMPEST_CONFIG network-feature-enabled api_extensions ${NETWORK_API_EXTENSIONS:-$DEFAULT_NET_EXT}
|
|
| 377 | 381 |
|
| 378 | 382 |
# Baremetal |
| 379 | 383 |
if [ "$VIRT_DRIVER" = "ironic" ] ; then |
| 380 | 384 |
iniset $TEMPEST_CONFIG baremetal driver_enabled True |
| 381 | 385 |
fi |
| 382 | 386 |
|
| 387 |
+ DEFAULT_SWIFT_EXT="account_quotas, bulk_delete, bulk_upload, container_quotas, container_sync, crossdomain" |
|
| 388 |
+ DEFAULT_SWIFT_EXT+=", formpost, keystoneauth, ratelimit, slo, staticweb, tempauth, tempurl" |
|
| 389 |
+ # Object Storage |
|
| 390 |
+ iniset $TEMPEST_CONFIG object-storage-feature-enabled discoverable_apis ${OBJECT_STORAGE_API_EXTENSIONS:-$DEFAULT_SWIFT_EXT}
|
|
| 383 | 391 |
# service_available |
| 384 | 392 |
for service in ${TEMPEST_SERVICES//,/ }; do
|
| 385 | 393 |
if is_service_enabled $service ; then |