← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2090926] [NEW] Creating instance with blank root results in error

 

Public bug reported:

Description
===========

Creating an instance with a blank root results in an instance with status error.
While the request is accepted by the API an exception is raised in nova-compute because the image reference cannot be found ([1]).

Steps to reproduce
==================

$ openstack server create --flavor flavor --block-device
"source_type=blank,destination_type=local,guest_format=raw,boot_index=0"
--no-network test

Expected result
===============

Either rejection by the API because the request is invalid or a
succesful instance creation. While the instance would not be able to
boot it can later be modified by e.g. instance rescue.

Actual result
=============

The request is accepted and raises an exception ([1]) in nova-compute
because the image (which was never specified) cannot be found.

Environment
===========

Tested on 2024.1 with libvirt + KVM and storage on ceph

Logs
====

[1]
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [None req-713cd9a3-7597-4e1d-a0f5-de6fab8fe7eb cb81e3276c1f45b8a99d326924bcfeb9 b4ce0843bd4a456fbc1a9013b48b6df3 - - default default] [instance: e2b504af-ceda-4388-967c-de31d6e562af] Instance failed to spawn: nova.exception.ImageNotFound: Image  could not be found.
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] Traceback (most recent call last):
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 286, in show
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image = self._client.call(context, 2, 'get', args=(image_id,))
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 191, in call
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     result = getattr(controller, method)(*args, **kwargs)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 197, in get
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._get(image_id)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/utils.py", line 649, in inner
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return RequestIdProxy(wrapped(*args, **kwargs))
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 190, in _get
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     resp, body = self.http_client.get(url, headers=header)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/keystoneauth1/adapter.py", line 393, in get
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self.request(url, 'GET', **kwargs)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 380, in request
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._handle_response(resp)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 120, in _handle_response
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     raise exc.from_response(resp, resp.content)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] glanceclient.exc.HTTPNotFound: HTTP 404 Not Found: The resource could not be found.
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] During handling of the above exception, another exception occurred:
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] Traceback (most recent call last):
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 2885, in _build_resources
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     yield resources
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 2632, in _build_and_run_instance
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     self.driver.spawn(context, instance, image_meta,
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 4634, in spawn
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     created_instance_dir, created_disks = self._create_image(
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 5044, in _create_image
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     created_disks = self._create_and_inject_local_root(
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 5176, in _create_and_inject_local_root
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     self._try_fetch_image_cache(backend, fetch_func, context,
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 11407, in _try_fetch_image_cache
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image.cache(fetch_func=fetch_func,
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 301, in cache
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     self.create_image(fetch_func_sync, base, size,
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 1002, in create_image
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     prepare_template(target=base, *args, **kwargs)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/oslo_concurrency/lockutils.py", line 412, in inner
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return f(*args, **kwargs)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 298, in fetch_func_sync
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     fetch_func(target=target, *args, **kwargs)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 5155, in clone_fallback_to_fetch
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     backend.clone(context, disk_images['image_id'])
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 1094, in clone
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image_meta = IMAGE_API.get(context, image_id_or_uri,
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 1207, in get
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return session.show(context, image_id,
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 288, in show
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     _reraise_translated_image_exception(image_id)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 1033, in _reraise_translated_image_exception
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     raise new_exc.with_traceback(exc_trace)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 286, in show
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image = self._client.call(context, 2, 'get', args=(image_id,))
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 191, in call
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     result = getattr(controller, method)(*args, **kwargs)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 197, in get
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._get(image_id)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/utils.py", line 649, in inner
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return RequestIdProxy(wrapped(*args, **kwargs))
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 190, in _get
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     resp, body = self.http_client.get(url, headers=header)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/keystoneauth1/adapter.py", line 393, in get
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self.request(url, 'GET', **kwargs)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 380, in request
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._handle_response(resp)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 120, in _handle_response
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     raise exc.from_response(resp, resp.content)
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] nova.exception.ImageNotFound: Image  could not be found.
2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2090926

Title:
  Creating instance with blank root results in error

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========

  Creating an instance with a blank root results in an instance with status error.
  While the request is accepted by the API an exception is raised in nova-compute because the image reference cannot be found ([1]).

  Steps to reproduce
  ==================

  $ openstack server create --flavor flavor --block-device
  "source_type=blank,destination_type=local,guest_format=raw,boot_index=0"
  --no-network test

  Expected result
  ===============

  Either rejection by the API because the request is invalid or a
  succesful instance creation. While the instance would not be able to
  boot it can later be modified by e.g. instance rescue.

  Actual result
  =============

  The request is accepted and raises an exception ([1]) in nova-compute
  because the image (which was never specified) cannot be found.

  Environment
  ===========

  Tested on 2024.1 with libvirt + KVM and storage on ceph

  Logs
  ====

  [1]
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [None req-713cd9a3-7597-4e1d-a0f5-de6fab8fe7eb cb81e3276c1f45b8a99d326924bcfeb9 b4ce0843bd4a456fbc1a9013b48b6df3 - - default default] [instance: e2b504af-ceda-4388-967c-de31d6e562af] Instance failed to spawn: nova.exception.ImageNotFound: Image  could not be found.
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] Traceback (most recent call last):
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 286, in show
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image = self._client.call(context, 2, 'get', args=(image_id,))
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 191, in call
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     result = getattr(controller, method)(*args, **kwargs)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 197, in get
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._get(image_id)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/utils.py", line 649, in inner
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return RequestIdProxy(wrapped(*args, **kwargs))
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 190, in _get
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     resp, body = self.http_client.get(url, headers=header)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/keystoneauth1/adapter.py", line 393, in get
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self.request(url, 'GET', **kwargs)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 380, in request
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._handle_response(resp)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 120, in _handle_response
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     raise exc.from_response(resp, resp.content)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] glanceclient.exc.HTTPNotFound: HTTP 404 Not Found: The resource could not be found.
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] During handling of the above exception, another exception occurred:
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] Traceback (most recent call last):
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 2885, in _build_resources
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     yield resources
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 2632, in _build_and_run_instance
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     self.driver.spawn(context, instance, image_meta,
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 4634, in spawn
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     created_instance_dir, created_disks = self._create_image(
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 5044, in _create_image
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     created_disks = self._create_and_inject_local_root(
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 5176, in _create_and_inject_local_root
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     self._try_fetch_image_cache(backend, fetch_func, context,
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 11407, in _try_fetch_image_cache
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image.cache(fetch_func=fetch_func,
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 301, in cache
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     self.create_image(fetch_func_sync, base, size,
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 1002, in create_image
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     prepare_template(target=base, *args, **kwargs)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/oslo_concurrency/lockutils.py", line 412, in inner
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return f(*args, **kwargs)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 298, in fetch_func_sync
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     fetch_func(target=target, *args, **kwargs)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 5155, in clone_fallback_to_fetch
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     backend.clone(context, disk_images['image_id'])
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/imagebackend.py", line 1094, in clone
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image_meta = IMAGE_API.get(context, image_id_or_uri,
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 1207, in get
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return session.show(context, image_id,
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 288, in show
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     _reraise_translated_image_exception(image_id)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 1033, in _reraise_translated_image_exception
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     raise new_exc.with_traceback(exc_trace)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 286, in show
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     image = self._client.call(context, 2, 'get', args=(image_id,))
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/image/glance.py", line 191, in call
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     result = getattr(controller, method)(*args, **kwargs)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 197, in get
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._get(image_id)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/utils.py", line 649, in inner
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return RequestIdProxy(wrapped(*args, **kwargs))
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/v2/images.py", line 190, in _get
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     resp, body = self.http_client.get(url, headers=header)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/keystoneauth1/adapter.py", line 393, in get
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self.request(url, 'GET', **kwargs)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 380, in request
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     return self._handle_response(resp)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]   File "/var/lib/kolla/venv/lib/python3.10/site-packages/glanceclient/common/http.py", line 120, in _handle_response
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]     raise exc.from_response(resp, resp.content)
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af] nova.exception.ImageNotFound: Image  could not be found.
  2024-12-03 11:42:55.998 7 ERROR nova.compute.manager [instance: e2b504af-ceda-4388-967c-de31d6e562af]

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2090926/+subscriptions