glance caching fails with webob 1.2.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Sascha Peilicke | ||
Folsom |
Fix Released
|
Medium
|
Sascha Peilicke | ||
Grizzly |
Fix Released
|
Medium
|
Sascha Peilicke |
Bug Description
get devstack at 2012/09/03. set "flavor=
---
$ glance -d image-list
curl -i -X GET -H 'X-Auth-Token: 9523d7980eb045c
HTTP/1.1 500 Internal Server Error
date: Mon, 03 Sep 2012 05:25:56 GMT
content-length: 2234
content-type: text/plain
connection: close
Traceback (most recent call last):
File "/usr/local/
result = self.applicatio
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/opt/stack/
return self.app(env, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
return self.process_
File "/opt/stack/
image_id = request.
AttributeError: 'NoneType' object has no attribute 'environ'
Request returned failure status.
None
HTTPInternalSer
---
note that "flavor=keystone" work OK. result should be:
---
$ glance -d image-list
curl -i -X GET -H 'X-Auth-Token: c1fcc2fa11094db
HTTP/1.1 200 OK
date: Mon, 03 Sep 2012 05:21:54 GMT
content-length: 1513
content-type: application/json; charset=UTF-8
{"images": [{"status": "active", "name": "cirros-
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| 2651798a-
| 910dfb67-
| e76ee014-
+------
---
summary: |
- glance image-list gets Internal Server Error when using - flavor=keystone+caching + glance caching fails with webob 1.2.0 |
Changed in glance: | |
assignee: | nobody → Eddie Sheffield (eddie-sheffield) |
status: | Triaged → In Progress |
Changed in glance: | |
milestone: | folsom-rc1 → none |
Changed in glance: | |
assignee: | Eddie Sheffield (eddie-sheffield) → nobody |
Changed in glance: | |
assignee: | nobody → Sascha Peilicke (saschpe) |
Changed in glance: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
self investigation: tools/pip- requires: WebOb== 1.0.8 tools/pip- requires: webob== 1.0.8 tools/pip- requires: WebOb== 1.0.8 tools/pip- requires: WebOb== 1.0.8 tools/pip- requires: webob== 1.2.0 =0.6.24dev- r0
---
$ cd /opt/stack
$ find . -name pip-requires | xargs egrep -i webob
./keystone/
./glance/
./cinder/
./nova/
./quantum/
$ dpkg -l | egrep -i webob
ii python-webob 1.1.1-1ubuntu0 Python module providing WSGI request and response objects
$ pip freeze | egrep -i webob
Warning: cannot find svn location for distribute=
WebOb==1.2
---
is webob==1.2 wrong for glance ?