Comment 2 for bug 820766

Revision history for this message
Somik Behera (somikbehera) wrote : Re: [Bug 820766] Re: nova-api daemon fails to launch with latest glance from trunk

Thanks Jay!

python-xattr got rid of that issue but now I am running into another issue
while glance tries to fulfill requests:

Internal Server error: Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/eventlet/wsgi.py", line 336, in
handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File
"/usr/local/lib/python2.6/dist-packages/glance-2011.3-py2.6.egg/glance/common/wsgi.py",
line 113, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/pymodules/python2.6/webob/request.py", line 919, in
get_response
    application, catch_exc_info=False)
  File "/usr/lib/pymodules/python2.6/webob/request.py", line 887, in
call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__
    return resp(environ, start_response)
  File "/usr/lib/pymodules/python2.6/routes/middleware.py", line 131, in
__call__
    response = self.app(environ, start_response)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__
    return resp(environ, start_response)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File
"/usr/local/lib/python2.6/dist-packages/glance-2011.3-py2.6.egg/glance/common/wsgi.py",
line 311, in __call__
    request, **action_args)
  File
"/usr/local/lib/python2.6/dist-packages/glance-2011.3-py2.6.egg/glance/common/wsgi.py",
line 328, in dispatch
    return method(*args, **kwargs)
  File
"/usr/local/lib/python2.6/dist-packages/glance-2011.3-py2.6.egg/glance/api/v1/images.py",
line 138, in detail
    images = registry.get_images_detail(self.options, req.context,
  File "/usr/lib/pymodules/python2.6/webob/request.py", line 1039, in
__getattr__
    raise AttributeError(attr)
AttributeError: context
 (HTTP 500)

Any known issue around this?

Thanks,
Somik

On Thu, Aug 4, 2011 at 6:08 AM, Jay Pipes <email address hidden> wrote:

> Hi, you need to install python-xattr on the machine. We're working on
> fixing the packaging to ensure xattr is a package dependency for Glance.
>
> Cheers,
> jay
>
> ** Changed in: glance
> Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/820766
>
> Title:
> nova-api daemon fails to launch with latest glance from trunk
>
> Status in OpenStack Image Registry and Delivery Service (Glance):
> Invalid
>
> Bug description:
> I am trying to get a D3 set-up going but somehow after I installed to
> latest trunk glance to my nova D3 branch, nova-api stopped launching.
> I have the stack trace over here -
> http://paste.openstack.org/show/2037/
>
> Do let me know if you require further informaiton.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/glance/+bug/820766/+subscriptions
>

--
Somik Behera | Nicira Networks, Inc. | <email address hidden> <email address hidden> |
office: 650-390-6790 | cell: 512-577-6645