-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
?
-
?
-
openstack-nova-27.5.1-18.0.20240925104714.cf08543.el9ost
-
?
-
?
-
None
-
Regression Only
-
-
-
Important
(from the 17.1 bug)
Description of problem:
After the latest update qcow2 images stopped working with the following isuse:
2024-08-22 10:12:17.861 2 WARNING nova.image.format_inspector [req-0f635560-6df2-4039-862a-de9153324faf 9949693b28ae4e0399eb74cd1a3ca75c 7ecf65f73c834a078d269b396300973d - default default] Found unknown feature bit in byte 7: 0b1001
0000/0b0
2024-08-22 10:12:18.001 2 DEBUG oslo_concurrency.lockutils [req-0f635560-6df2-4039-862a-de9153324faf 9949693b28ae4e0399eb74cd1a3ca75c 7ecf65f73c834a078d269b396300973d - default default] Lock "69e76c437c52a79039c555fad298a5338773fffc
" released by "nova.virt.libvirt.imagebackend.Image.cache.<locals>.fetch_func_sync" :: held 3.818s inner /usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py:367
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [req-0f635560-6df2-4039-862a-de9153324faf 9949693b28ae4e0399eb74cd1a3ca75c 7ecf65f73c834a078d269b396300973d - default default] [instance: e845c0c6-c4ff-441f-96ab-06307408625f] Ins
tance failed to spawn: nova.exception.ImageUnacceptable: Image 08e6e90f-fa5e-4698-9041-fe5ff76bb0f2 is unacceptable: Image not in a supported format
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] Traceback (most recent call last):
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/images.py", line 160, in do_image_deep_inspection
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] raise exception.ImageUnacceptable(
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] nova.exception.ImageUnacceptable: Image 08e6e90f-fa5e-4698-9041-fe5ff76bb0f2 is unacceptable: Image does not pass safety check
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f]
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] During handling of the above exception, another exception occurred:
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f]
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] Traceback (most recent call last):
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2749, in _build_resources
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] yield resources
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2507, in _build_and_run_instance
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] self.driver.spawn(context, instance, image_meta,
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 4261, in spawn
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] created_instance_dir, created_disks = self._create_image(
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 4656, in _create_image
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] created_disks = self._create_and_inject_local_root(
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 4784, in _create_and_inject_local_root
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] self._try_fetch_image_cache(backend, fetch_func, context,
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 10525, in _try_fetch_image_cache
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] image.cache(fetch_func=fetch_func,
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/imagebackend.py", line 275, in cache
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] self.create_image(fetch_func_sync, base, size,
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/imagebackend.py", line 633, in create_image
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] prepare_template(target=base, *args, **kwargs)
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py", line 360, in inner
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] return f(*args, **kwargs)
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/imagebackend.py", line 272, in fetch_func_sync
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] fetch_func(target=target, *args, **kwargs)
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/utils.py", line 470, in fetch_image
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] images.fetch_to_raw(context, image_id, target, trusted_certs)
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/images.py", line 199, in fetch_to_raw
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] force_format = do_image_deep_inspection(img, image_href, path_tmp)
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] File "/usr/lib/python3.9/site-packages/nova/virt/images.py", line 180, in do_image_deep_inspection
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] raise exception.ImageUnacceptable(
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f] nova.exception.ImageUnacceptable: Image 08e6e90f-fa5e-4698-9041-fe5ff76bb0f2 is unacceptable: Image not in a supported format
2024-08-22 10:12:18.001 2 ERROR nova.compute.manager [instance: e845c0c6-c4ff-441f-96ab-06307408625f]
{{It seems this is caused by the qcow version support for v2 has been removed completely. }}
{{The issue started after applying }}
https://access.redhat.com/labs/cvechecker/?id=CVE-2024-32498
{{Same issue was reported upstream }}
https://bugs.launchpad.net/nova/+bug/2073413
Version-Release number of selected component (if applicable):
Red Hat OpenStack Platform release 17.1.3 (Wallaby)
Red Hat Enterprise Linux release 9.2 (Plow)