Skip to content

Instantly share code, notes, and snippets.

@mriedem
Created March 13, 2017 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mriedem/cece80e5ab375c2fad6d9d599851c2dc to your computer and use it in GitHub Desktop.
Save mriedem/cece80e5ab375c2fad6d9d599851c2dc to your computer and use it in GitHub Desktop.
2017-03-13 17:39:20,951 ERROR [nova.api.openstack.compute.servers] Instance could not be found
Traceback (most recent call last):
File "nova/api/openstack/compute/servers.py", line 932, in delete
self._delete(req.environ['nova.context'], req, id)
File "nova/api/openstack/compute/servers.py", line 786, in _delete
self.compute_api.delete(context, instance)
File "nova/compute/api.py", line 170, in inner
return function(self, context, instance, *args, **kwargs)
File "nova/compute/api.py", line 178, in _wrapped
return fn(self, context, instance, *args, **kwargs)
File "nova/compute/api.py", line 151, in inner
return f(self, context, instance, *args, **kw)
File "nova/compute/api.py", line 2174, in delete
self._delete_instance(context, instance)
File "nova/compute/api.py", line 2165, in _delete_instance
task_state=task_states.DELETING)
File "nova/compute/api.py", line 1799, in _delete
project_id, user_id)
File "nova/compute/api.py", line 2006, in _create_reservations
instance_vcpus = instance.flavor.vcpus
File "/home/user/git/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 67, in getter
self.obj_load_attr(name)
File "nova/objects/instance.py", line 1062, in obj_load_attr
self._load_flavor()
File "nova/objects/instance.py", line 882, in _load_flavor
expected_attrs=['flavor', 'system_metadata'])
File "/home/user/git/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper
result = fn(cls, context, *args, **kwargs)
File "nova/objects/instance.py", line 463, in get_by_uuid
use_slave=use_slave)
File "nova/db/sqlalchemy/api.py", line 236, in wrapper
return f(*args, **kwargs)
File "nova/objects/instance.py", line 455, in _db_instance_get_by_uuid
columns_to_join=columns_to_join)
File "nova/db/api.py", line 725, in instance_get_by_uuid
return IMPL.instance_get_by_uuid(context, uuid, columns_to_join)
File "nova/db/sqlalchemy/api.py", line 180, in wrapper
return f(*args, **kwargs)
File "nova/db/sqlalchemy/api.py", line 281, in wrapped
return f(context, *args, **kwargs)
File "nova/db/sqlalchemy/api.py", line 1896, in instance_get_by_uuid
columns_to_join=columns_to_join)
File "nova/db/sqlalchemy/api.py", line 1905, in _instance_get_by_uuid
raise exception.InstanceNotFound(instance_id=uuid)
InstanceNotFound: Instance 64d43b38-a6eb-4dd4-9e17-3ebc5b3bf738 could not be found.
2017-03-13 17:39:20,951 INFO [nova.api.openstack.wsgi] HTTP exception thrown: Instance could not be found
2017-03-13 17:39:20,952 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "DELETE /v2.1/6f70656e737461636b20342065766572//servers/64d43b38-a6eb-4dd4-9e17-3ebc5b3bf738 HTTP/1.1" status: 404 len: 427 time: 0.1699989
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment