Deprecate API_RATE_LIMIT setting for Tempest runs

The default value for api_rate_limit in nova.conf has been False since
Havana per commit cfdc59860ef1482e3b064f90f719ec9e484590ce.

Devstack commit f617a2ddddf7d8f759ff3ca5d66a133b124eeb42 removes the
API_RATE_LIMIT variable.

Since we're not going to backport the devstack change to the stable
branches, this patch adds a TODO in the script to remove the variable
when stable/juno is our oldest supported branch.

Change-Id: I21dbd72f9959a4e3d62c36831df03b351a51172e
This commit is contained in:
Matt Riedemann
2014-08-20 18:41:39 -07:00
parent a1bdc210ca
commit c160bd5c82

View File

@@ -180,6 +180,8 @@ EOF
if [[ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]]; then
# We need to disable ratelimiting when running
# Tempest tests since so many requests are executed
# TODO(mriedem): Remove this when stable/juno is our oldest
# supported branch since devstack no longer uses it since Juno.
echo "API_RATE_LIMIT=False" >> localrc
# Volume tests in Tempest require a number of volumes
# to be created, each of 1G size. Devstack's default