Fix integration tests image unsupported media type issue

After the change in glance:
https://review.opendev.org/c/openstack/glance/+/930492
All the other formats than raw are inspected if the content
does match and potentially rejected.

Change-Id: I29ed795c4c5a451d7978ad7b80c26be70deee41e
This commit is contained in:
Jan Jasek
2025-02-26 10:45:33 +01:00
parent 378addadbe
commit 27756071c6

View File

@@ -42,7 +42,7 @@ def new_image_demo(image_names, temporary_file, openstack_demo):
for img in image_names:
image = openstack_demo.create_image(
img,
disk_format="qcow2",
disk_format="raw",
filename=temporary_file,
wait=True,
)
@@ -56,7 +56,7 @@ def new_image_admin(image_names, temporary_file, openstack_admin):
for img in image_names:
image = openstack_admin.create_image(
img,
disk_format="qcow2",
disk_format="raw",
filename=temporary_file,
wait=True,
)
@@ -70,7 +70,7 @@ def new_protected_image_admin(image_names, temporary_file, openstack_admin):
for img in image_names:
image = openstack_admin.create_image(
img,
disk_format="qcow2",
disk_format="raw",
filename=temporary_file,
is_protected=True,
wait=True,