Extends SWIFT loopback device size to 2G

The volume-upload-image test requires a cinder volume to be
uploaded in glance, see: https://review.openstack.org/#/c/33999/
Given that glance is configured to use swift as backend, we
extend the swift loopback device from 1G to be 2G (with thanks to
fungi and zhiyan who helped troubleshoot this.

Change-Id: I108b4ffeafcb1983745cbb20e88b85393c31464e
This commit is contained in:
Giulio Fidente
2013-06-22 16:56:03 +02:00
parent b6ab7536b2
commit 36e0dcf012

View File

@@ -153,7 +153,10 @@ EOF
# 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 volume-upload-image test requires a volume to be
# uploaded in glance which in turns is configured for use
# swift as backend
echo "SWIFT_LOOPBACK_DISK_SIZE=2000000" >> localrc
# in order to ensure glance http tests don't time out, we
# specify the TEMPEST_HTTP_IMAGE address to be horrizon's
# front page. Kind of hacky, but it works.