Switch tools to use sahara CLI for image registering

That also should fix the gate for scenario tests

Change-Id: I8a36c0c69dce3da7ea4bda785c55529b9e7a2ced
This commit is contained in:
Vitaly Gridnev 2017-03-14 13:37:23 +04:00
parent 5054797e6d
commit 067de864a6
1 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ function sahara_register_fake_plugin_image {
props+=" --property _sahara_tag_0.1=True"
props+=" --property _sahara_tag_fake=True"
props+=" --property _sahara_username=$SAHARA_FAKE_PLUGIN_IMAGE_USERNAME"
openstack --os-url $GLANCE_SERVICE_PROTOCOL://$GLANCE_HOSTPORT --os-image-api-version 1 image set \
$SAHARA_FAKE_PLUGIN_IMAGE_NAME $props
openstack dataprocessing image register --username $SAHARA_FAKE_PLUGIN_IMAGE_USERNAME \
$SAHARA_FAKE_PLUGIN_IMAGE_NAME
openstack dataprocessing image tags add $SAHARA_FAKE_PLUGIN_IMAGE_NAME --tags 0.1 fake
}
function sahara_register_flavor {