<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">What version of webob do you have installed? stable/essex explicitly depends on v1.0.8, which ensures that the 'request' attribute is not-None on a Response object. As of v1.1.1, the 'request' attribute was no longer a supported part of the API. We treat this in Folsom and Grizzly by explicitly setting the 'request' attribute in glance/common/wsgi.py<div><br><div><div>On Feb 24, 2013, at 6:32 AM, Zhiqiang Zhao wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi,<div><br></div><div><span style="color: rgb(51, 51, 51); font-family: Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; font-size: 12px; line-height: 18px;">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:</span></div><div><span style="color: rgb(51, 51, 51); font-family: Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; font-size: 12px; line-height: 18px;"><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; font-size: 12px; line-height: 18px;"><div>File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 383, in handle_one_response</div><div>    result = self.application(self.environ, start_response)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__</div><div>    resp = self.call_func(req, *args, **self.kwargs)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func</div><div>    return self.func(req, *args, **kwargs)</div><div>  File "/opt/stack/glance/glance/common/wsgi.py", line 284, in __call__</div><div>    response = req.get_response(self.application)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send</div><div>    application, catch_exc_info=False)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application</div><div>    app_iter = application(self.environ, start_response)</div><div>  File "/opt/stack/keystone/keystone/middleware/auth_token.py", line 176, in __call__</div><div>    return self.app(env, start_response)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__</div><div>    resp = self.call_func(req, *args, **self.kwargs)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func</div><div>    return self.func(req, *args, **kwargs)</div><div>  File "/opt/stack/glance/glance/common/wsgi.py", line 284, in __call__</div><div>    response = req.get_response(self.application)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send</div><div>    application, catch_exc_info=False)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application</div><div>    app_iter = application(self.environ, start_response)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__</div><div>    resp = self.call_func(req, *args, **self.kwargs)</div><div>  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func</div><div>    return self.func(req, *args, **kwargs)</div><div>  File "/opt/stack/glance/glance/common/wsgi.py", line 285, in __call__</div><div>    return self.process_response(response)</div><div>  File "/opt/stack/glance/glance/api/middleware/cache.py", line 108, in process_response</div><div>    if request.method not in ('GET', 'DELETE'):</div><div>AttributeError: 'NoneType' object has no attribute 'method'</div><div><br></div><div>If I use command 'glance index', the error is the same.</div><div>Attachment is config files for glance.</div><div>Did I miss something?</div></span></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span><span><configs.rar></span>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>