Skip iso image import testing for now
Glance previously would fail to import ISO images because they could
not be converted by qemu-img. The proper behavior is to give them
special handling and leave them as ISOs without failing, so that
people can use things like web-download to ingest ISOs into glance.
However, the current test asserts that they fail (status=queued) so
we need to skip that case until glance fixes that feature and then we
can test it properly here.
Needed-By: https://review.opendev.org/c/openstack/glance/+/923676
Change-Id: Ia29d4ab7ab923c37db2779255958c4c4da8e8997
diff --git a/tempest/api/image/v2/test_images_formats.py b/tempest/api/image/v2/test_images_formats.py
index edcc2fd..a234fa2 100644
--- a/tempest/api/image/v2/test_images_formats.py
+++ b/tempest/api/image/v2/test_images_formats.py
@@ -110,11 +110,13 @@
if not CONF.image_feature_enabled.image_conversion:
self.skipTest('Import image_conversion not enabled')
+ if self.imgdef['format'] == 'iso':
+ # TODO(danms): Glance does not properly handle ISO conversions
+ # today and this is being fixed currently. Remove when this
+ # is stable and able to be tested.
+ self.skipTest('Glance ISO conversion is not testable')
+
glance_noconvert = [
- # Glance does not support conversion from iso/udf, so these
- # will always fail, even though they are marked as usable.
- 'iso',
- 'udf',
# Glance does not support vmdk-sparse-with-footer with the
# in-tree format_inspector
'vmdk-sparse-with-footer',