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
This commit is contained in:
Vitaly Gridnev 2015-09-24 09:45:48 +03:00
parent de856768fd
commit 4408e837b4
1 changed files with 1 additions and 1 deletions

View File

@ -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
}