From 36e0dcf012ea99dae96d48ee7f4471d7026d32a9 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Sat, 22 Jun 2013 16:56:03 +0200 Subject: [PATCH] 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 --- devstack-vm-gate.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index e8b1aef1..ef97602c 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -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.