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

Zhiqiang Zhao dreamerhenry at 126.com
Sun Feb 24 14:32:47 UTC 2013


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/20130224/36fc7df3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configs.rar
Type: application/octet-stream
Size: 6776 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130224/36fc7df3/attachment.obj>


More information about the Openstack mailing list