Skip image management if glance is not available

Change-Id: I1b9529bf1f1968ebab54e0ace03f7764d3d4d8cc
This commit is contained in:
Takashi Kajinami
2024-06-03 22:36:54 +09:00
parent beebe7ffa0
commit 8ac1ce717c

View File

@@ -938,7 +938,7 @@ class tempest(
fail('heat_flavor_ref and heat_flavor_name are both set: please set only one of them')
}
if $configure_images {
if $glance_available and $configure_images {
if ! $image_ref and $image_name {
# If the image id was not provided, look it up via the image name
# and set the value in the conf file.