If you boot an instance from an image, delete that image from Glance, and then try to snapshot, nova-api errors out:
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/api/openstack/common.py", line 423, in inner
(nova.api.openstack): TRACE: return f(*args, **kwargs)
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 1111, in _action_create_image
(nova.api.openstack): TRACE: extra_properties=props)
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 100, in wrapped
(nova.api.openstack): TRACE: return func(self, context, target, *args, **kwargs)
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 90, in inner
(nova.api.openstack): TRACE: return f(self, context, instance, *args, **kw)
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1116, in snapshot
(nova.api.openstack): TRACE: extra_properties=extra_properties)
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1148, in _create_image
(nova.api.openstack): TRACE: instance)
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1168, in get_minram_mindisk_params
(nova.api.openstack): TRACE: instance['image_ref'])
(nova.api.openstack): TRACE: File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 238, in show
(nova.api.openstack): TRACE: raise exception.ImageNotFound(image_id=image_id)
(nova.api.openstack): TRACE: ImageNotFound: Image ef9852cc-b206-46b9-a677-e88d590e77ae could not be found.
(nova.api.openstack): TRACE:
Fix proposed to branch: master /review. openstack. org/5949
Review: https:/