From 4408e837b4705928826e8c503d92f7c42916b3ad Mon Sep 17 00:00:00 2001 From: Vitaly Gridnev Date: Thu, 24 Sep 2015 09:45:48 +0300 Subject: [PATCH] Use explicit version of image client in gates DevStack uses v2 version for openstack image client, but this version doesn't support --property as well. So, let's use v1 version for registering image for Sahara. Closes-bug: 1499309 Change-Id: Iec6aa6b42e5575690631fed585eaa8d6ff2501a1 --- tools/gate/scenario/commons | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/scenario/commons b/tools/gate/scenario/commons index 6420ff5d..f4a93ab7 100644 --- a/tools/gate/scenario/commons +++ b/tools/gate/scenario/commons @@ -38,7 +38,7 @@ function sahara_register_fake_plugin_image { props+=" --property _sahara_tag_fake=True" props+=" --property _sahara_username=$SAHARA_FAKE_PLUGIN_IMAGE_USERNAME" - openstack --os-url $GLANCE_SERVICE_PROTOCOL://$GLANCE_HOSTPORT image set \ + openstack --os-url $GLANCE_SERVICE_PROTOCOL://$GLANCE_HOSTPORT --os-image-api-version 1 image set \ $SAHARA_FAKE_PLUGIN_IMAGE_NAME $props }