override tempest http_image variable in the gate

one of the tempest tests is to ensure glance can download something
over http, defaulting to the upstream cirros image. In the gate
that url ends up unstable on the network.

To get around this, feed devstack a tempest variable which sets
this to the horizon url. That's a valid http url. Because we don't
test for content, this is good enough for the test.

Rev 2: hardcode horizon to 127.0.0.1, the previous variable wasn't
set.

Partial fix for bug #1190623 once the devstack change lands.

Change-Id: Ifd94ace4b07a5ab9d20af7088e38420e9f3aab88
This commit is contained in:
Sean Dague
2013-06-13 14:40:37 -04:00
parent a1a2a0d056
commit a0354a2863

View File

@@ -147,6 +147,11 @@ 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
# 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.
echo "TEMPEST_HTTP_IMAGE=http://127.0.0.1/" >> localrc
fi
if [ "$DEVSTACK_GATE_GRENADE" -eq "1" ]; then