An instance creation failed with cinder.exception.ImageNotFound on the edge site in the Distributed Compute Node(DCN) deployment

Solution Verified - Updated -

Issue

  • An instance creation failed with cinder.exception.ImageNotFound on the edge site in the Distributed Compute Node(DCN) deployment
  • The visibility of an image stored in the glance store on the edge site is ‘shared’ but the instance creation with the image failed on the edge site.
  • An instance creation on the central site succeeded meanwhile an instance creation on the edge site failed.
  • The following error message can be seen in /var/log/containers/cinder/cinder-scheduler.log on a Controller node on the central site: ’cinder.exception.ImageNotFound: Image 1e62b8e4-5d16-4682-aec8-463f69f3a86d could not be found.\n'
  • And also the following error messages can be seen in /var/log/containers/cinder/cinder-volume.log on a Compute node on the Edge site:
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager Traceback (most recent call last):
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/cinder/image/glance.py", line 313, in get_location
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     image_meta = client.call(context, 'get', image_id)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/cinder/image/glance.py", line 225, in call
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return getattr(controller, method)(*args, **kwargs)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/v2/images.py", line 198, in get
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return self._get(image_id)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/common/utils.py", line 598, in inner
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return RequestIdProxy(wrapped(*args, **kwargs))
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/v2/images.py", line 191, in _get
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     resp, body = self.http_client.get(url, headers=header)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 386, in get
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return self.request(url, 'GET', **kwargs)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/common/http.py", line 387, in request
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return self._handle_response(resp)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/common/http.py", line 126, in _handle_response
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     raise exc.from_response(resp, resp.content)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager glanceclient.exc.HTTPNotFound: HTTP 404 Not Found: No image found with ID 46ebe344-d318-4ee7-9861-b55f4a018d81
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager During handling of the above exception, another exception occurred:
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager Traceback (most recent call last):
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     result = task.execute(**arguments)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/cinder/volume/flows/manager/create_volume.py", line 321, in execute
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     image_id),
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/cinder/image/glance.py", line 315, in get_location
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     _reraise_translated_image_exception(image_id)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/cinder/image/glance.py", line 602, in _reraise_translated_image_exception
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     six.reraise(type(new_exc), new_exc, exc_trace)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/six.py", line 692, in reraise
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     raise value.with_traceback(tb)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/cinder/image/glance.py", line 313, in get_location
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     image_meta = client.call(context, 'get', image_id)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/cinder/image/glance.py", line 225, in call
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return getattr(controller, method)(*args, **kwargs)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/v2/images.py", line 198, in get
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return self._get(image_id)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/common/utils.py", line 598, in inner
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return RequestIdProxy(wrapped(*args, **kwargs))
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/v2/images.py", line 191, in _get
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     resp, body = self.http_client.get(url, headers=header)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 386, in get
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return self.request(url, 'GET', **kwargs)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/common/http.py", line 387, in request
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     return self._handle_response(resp)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager   File "/usr/lib/python3.6/site-packages/glanceclient/common/http.py", line 126, in _handle_response
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager     raise exc.from_response(resp, resp.content)
2022-01-01 12:00:00.000 113 ERROR cinder.volume.manager cinder.exception.ImageNotFound: Image 1e62b8e4-5d16-4682-aec8-463f69f3a86d could not be found.

Environment

  • Red Hat OpenStack Platform 13.0
  • Red Hat OpenStack Platform 16.1
  • Red Hat OpenStack Platform 16.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content