DELETE /tenants/admin - UnmappedInstanceError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
In Progress
|
Low
|
Dolph Mathews |
Bug Description
Using Essex from source last updated March 14th:
2012-03-12 16:39:40 DEBUG [root] *******
2012-03-12 16:39:40 DEBUG [root] SCRIPT_NAME = /v2.0
2012-03-12 16:39:40 DEBUG [root] webob.adhoc_attrs = {'response': <Response at 0x3ab9dd0 200 OK>}
2012-03-12 16:39:40 DEBUG [root] REQUEST_METHOD = DELETE
2012-03-12 16:39:40 DEBUG [root] PATH_INFO = /tenants/admin
2012-03-12 16:39:40 DEBUG [root] SERVER_PROTOCOL = HTTP/1.0
2012-03-12 16:39:40 DEBUG [root] HTTP_X_AUTH_TOKEN = ADMIN
2012-03-12 16:39:40 DEBUG [root] HTTP_USER_AGENT = python-
2012-03-12 16:39:40 DEBUG [root] eventlet.posthooks = []
2012-03-12 16:39:40 DEBUG [root] SERVER_NAME = 192.168.240.19
2012-03-12 16:39:40 DEBUG [root] REMOTE_ADDR = 192.168.240.19
2012-03-12 16:39:40 DEBUG [root] eventlet.input = <eventlet.
2012-03-12 16:39:40 DEBUG [root] wsgi.url_scheme = http
2012-03-12 16:39:40 DEBUG [root] SERVER_PORT = 35357
2012-03-12 16:39:40 DEBUG [root] wsgi.input = <eventlet.
2012-03-12 16:39:40 DEBUG [root] HTTP_HOST = 192.168.
2012-03-12 16:39:40 DEBUG [root] wsgi.multithread = True
2012-03-12 16:39:40 DEBUG [root] wsgi.version = (1, 0)
2012-03-12 16:39:40 DEBUG [root] openstack.context = {'token_id': 'ADMIN', 'is_admin': True}
2012-03-12 16:39:40 DEBUG [root] GATEWAY_INTERFACE = CGI/1.1
2012-03-12 16:39:40 DEBUG [root] wsgi.run_once = False
2012-03-12 16:39:40 DEBUG [root] wsgi.errors = <open file '<stderr>', mode 'w' at 0x7fd09b629270>
2012-03-12 16:39:40 DEBUG [root] wsgi.multiprocess = False
2012-03-12 16:39:40 DEBUG [root] CONTENT_TYPE = text/plain
2012-03-12 16:39:40 DEBUG [root] HTTP_ACCEPT_
2012-03-12 16:39:40 DEBUG [root]
2012-03-12 16:39:40 DEBUG [root] *******
2012-03-12 16:39:40 DEBUG [root]
2012-03-12 16:39:40 DEBUG [routes.middleware] Matched DELETE /tenants/admin
2012-03-12 16:39:40 DEBUG [routes.middleware] Route path: '{path_info:.*}', defaults: {'controller': <keystone.
2012-03-12 16:39:40 DEBUG [routes.middleware] Match dict: {'controller': <keystone.
2012-03-12 16:39:40 DEBUG [routes.middleware] Matched DELETE /tenants/admin
2012-03-12 16:39:40 DEBUG [routes.middleware] Route path: '/tenants/
2012-03-12 16:39:40 DEBUG [routes.middleware] Match dict: {'action': u'delete_tenant', 'tenant_id': u'admin', 'controller': <keystone.
2012-03-12 16:39:40 DEBUG [root] arg_dict: {'tenant_id': u'admin'}
2012-03-12 16:39:40 DEBUG [eventlet.
File "/usr/local/
result = self.applicatio
File "/usr/local/
return app(environ, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/usr/local/
response = request.
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/usr/local/
response = request.
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/usr/local/
response = request.
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/usr/local/
response = request.
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/usr/local/
resp = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
response = self.app(environ, start_response)
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
response = self.app(environ, start_response)
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/usr/local/
result = method(context, **params)
File "/usr/local/
self.
File "/usr/local/
return f(*args, **kw)
File "/usr/local/
session.
File "/usr/local/
raise exc.UnmappedIns
UnmappedInstanc
Joe - need some clarification for repro:
did the "admin" tenant already exist when you made the request to remove it, or is this an instance of failure of removing a tenant that didn't already exist?
shouldn't give a traceback either way, but I'd like to know to categorize this issue appropriately. For the sake of completeness, could you also specify the command you used with the client to generate this?