Increase VOLUME_BACKING_FILE_SIZE to 5G.

Apparently 4G is not enough space to run the tempest tests in all cases.
http://logs.openstack.org/15738/1/check/gate-tempest-devstack-vm/17885/
is an example of when 4G is not enough space to run the tempest tests,
"Insufficient free extents (255) in volume group stack-volumes: 256
required".

Get around this by generously over allocating an extra gigabyte of
space.

Change-Id: I22876ed26dc7011bee22269dafc533929dff330a
This commit is contained in:
Clark Boylan
2012-11-09 09:22:43 -08:00
parent c7586839ce
commit 21c099b2c2

View File

@@ -115,8 +115,9 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
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
# volume backing file size is 2G, so we increase to 5G
# (apparently 4G is not always enough).
echo "VOLUME_BACKING_FILE_SIZE=5G" >> localrc
fi
# Make the workspace owned by the stack user