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:
parent
de856768fd
commit
4408e837b4
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user