Browse Source

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
changes/13/703113/1
Rabi Mishra 2 years ago
parent
commit
a32cadd637
  1. 2
      devstack/lib/heat

2
devstack/lib/heat

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

Loading…
Cancel
Save