Remove image upload dependency on g-reg

It's not enabled by default[1] in devstack, is
deprecated and not needed for glance v2.

[1] https://review.opendev.org/#/c/702709/

Change-Id: I01514d8639e7604cca9846e05904ebe062393550
This commit is contained in:
Rabi Mishra 2020-01-17 21:41:05 +05:30
parent 329570afe7
commit a32cadd637
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ function configure_tempest_for_heat {
TOKEN=$(openstack token issue -c id -f value)
local image_exists=$( openstack image list | grep "Fedora-Cloud-Base-29-1.2.x86_64" )
if [[ -z $image_exists ]]; then
if is_service_enabled g-reg; then
if is_service_enabled g-api; then
upload_image $HEAT_TEST_FEDORA_IMAGE $TOKEN
fi
fi