2011-05-20 18:50:06,693 routes.middleware: Matched GET /servers/detail
2011-05-20 18:50:06,693 routes.middleware: Route path: '/servers/detail', defaults: {'action': u'detail', 'controller': <nova.api.openstack.servers.ControllerV10 object at 0x1f71890>}
2011-05-20 18:50:06,694 routes.middleware: Match dict: {'action': u'detail', 'controller': <nova.api.openstack.servers.ControllerV10 object at 0x1f71890>}
2011-05-20 18:50:06,694 nova.wsgi: GET http://172.16.128.236:8774/v1.0/servers/detail?fresh=1305903006.65
2011-05-20 18:50:06,833 nova.api.openstack: Caught error: Parent instance <Instance at 0x29a4ed0> is not bound to a Session; lazy load operation of attribute 'metadata' cannot proceed
(nova.api.openstack): TRACE: Traceback (most recent call last):
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py", line 59, in __call__
(nova.api.openstack): TRACE: return req.get_response(self.application)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 919, in get_response
(nova.api.openstack): TRACE: application, catch_exc_info=False)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 887, in call_application
(nova.api.openstack): TRACE: app_iter = application(self.environ, start_response)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__
(nova.api.openstack): TRACE: return resp(environ, start_response)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__
(nova.api.openstack): TRACE: return resp(environ, start_response)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__
(nova.api.openstack): TRACE: return resp(environ, start_response)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__
(nova.api.openstack): TRACE: response = self.app(environ, start_response)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 159, in __call__
(nova.api.openstack): TRACE: return resp(environ, start_response)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 147, in __call__
(nova.api.openstack): TRACE: resp = self.call_func(req, *args, **self.kwargs)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 208, in call_func
(nova.api.openstack): TRACE: return self.func(req, *args, **kwargs)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/nova/wsgi.py", line 361, in __call__
(nova.api.openstack): TRACE: result = method(**arg_dict)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/nova/api/openstack/servers.py", line 76, in detail
(nova.api.openstack): TRACE: return self._items(req, is_detail=True)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/nova/api/openstack/servers.py", line 102, in _items
(nova.api.openstack): TRACE: for inst in limited_list]
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/nova/api/openstack/views/servers.py", line 45, in build
(nova.api.openstack): TRACE: server = self._build_detail(inst)
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/nova/api/openstack/views/servers.py", line 86, in _build_detail
(nova.api.openstack): TRACE: for item in inst.get('metadata', []):
(nova.api.openstack): TRACE: File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/models.py", line 77, in get
(nova.api.openstack): TRACE: return getattr(self, key, default)
(nova.api.openstack): TRACE: File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/attributes.py", line 163, in __get__
(nova.api.openstack): TRACE: instance_dict(instance))
(nova.api.openstack): TRACE: File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/attributes.py", line 383, in get
(nova.api.openstack): TRACE: value = callable_(passive=passive)
(nova.api.openstack): TRACE: File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/strategies.py", line 595, in __call__
(nova.api.openstack): TRACE: (mapperutil.state_str(state), self.key)
(nova.api.openstack): TRACE: DetachedInstanceError: Parent instance <Instance at 0x29a4ed0> is not bound to a Session; lazy load operation of attribute 'metadata' cannot proceed
(nova.api.openstack): TRACE:
@Eldar: could you precise the conditions to reproduce the bug ? If you're working on this, could you set the bug status to 'In progress' ?