From cb0d93c9167c3c3429b63c415f3066dbc421efa1 Mon Sep 17 00:00:00 2001 From: Jay Pipes Date: Tue, 1 May 2012 13:56:01 -0400 Subject: [PATCH] Partial Fix LP #992640 - Extend volume group Tempest's volume list tests create a number of 1G volumes, but devstack's default volume backing file size is only 2G. If tempest is being executed, we set VOLUME_BACKING_FILE_SIZE=4g in localrc, enabling Tempest's volume tests to succeed without cryptic error messages... Change-Id: I3f9555095f2c6a86e7b5984cbc209d7e4235c567 --- devstack-vm-gate-host.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devstack-vm-gate-host.sh b/devstack-vm-gate-host.sh index 2401fff6..51735851 100755 --- a/devstack-vm-gate-host.sh +++ b/devstack-vm-gate-host.sh @@ -86,6 +86,10 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then # We need to disable ratelimiting when running # Tempest tests since so many requests are executed 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 + # volume backing file size is 2G, so we increase to 4G + echo "VOLUME_BACKING_FILE_SIZE=4G" >> localrc fi # The vm template update job should cache some images in ~/files.