Increasing th backing volume size to 24GiB for parallel tests

The tempest parallel run will cause, more volume allocation at the same time.

The cinder lvm driver uses sparse file for storing the volumes,
so the 24GiB will not be really used, and the allocation time is almost
the same as for 10GiB.

The gate vm normally has enough free space for 24GiB loopback
volume files.

Change-Id: I287536c731f941293bf31d0befca3a65f8fa609f
This commit is contained in:
Attila Fazekas
2013-07-01 14:53:26 +02:00
committed by afazekas
parent bd262e53c0
commit 841ebc309a

View File

@@ -145,14 +145,11 @@ EOF
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 5G
# (apparently 4G is not always enough).
# volume backing file size is 10G.
#
# NOTE(sdague): the 10G setting is far larger than should
# be needed, however cinder tempest tests are currently
# not cleaning up correctly, and this is a temp measure
# to prevent it from blocking unrelated changes
echo "VOLUME_BACKING_FILE_SIZE=10G" >> localrc
# The 24G setting is expected to be enough even
# in parallel run.
echo "VOLUME_BACKING_FILE_SIZE=24G" >> localrc
# The volume-upload-image test requires a volume to be
# uploaded in glance which in turns is configured for use
# swift as backend