[Openstack] [OpenStack][Glance] Failure in Glance install: 'NoneType' object has no attribute 'method'

Zhiqiang Zhao dreamerhenry at 126.com
Mon Feb 25 01:23:08 UTC 2013


Do some one know this? I need to install Essex this week.






At 2013-02-24 22:32:47,"Zhiqiang Zhao" <dreamerhenry at 126.com> wrote:

Hi,


I'm a new beginner. I'm trying to learn devstack installation step by step. I set essex/stable braches. But always failure in glance install. Log file shows as following:


File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 383, in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/opt/stack/glance/glance/common/wsgi.py", line 284, in __call__
    response = req.get_response(self.application)
  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
    application, catch_exc_info=False)
  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
    app_iter = application(self.environ, start_response)
  File "/opt/stack/keystone/keystone/middleware/auth_token.py", line 176, in __call__
    return self.app(env, start_response)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/opt/stack/glance/glance/common/wsgi.py", line 284, in __call__
    response = req.get_response(self.application)
  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
    application, catch_exc_info=False)
  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/opt/stack/glance/glance/common/wsgi.py", line 285, in __call__
    return self.process_response(response)
  File "/opt/stack/glance/glance/api/middleware/cache.py", line 108, in process_response
    if request.method not in ('GET', 'DELETE'):
AttributeError: 'NoneType' object has no attribute 'method'


If I use command 'glance index', the error is the same.
Attachment is config files for glance.
Did I miss something?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130225/13bb06dd/attachment.html>


More information about the Openstack mailing list