Compatibility issues with python webob 1.2b2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Brian Lamar | ||
OpenStack Object Storage (swift) |
Fix Released
|
High
|
Iryoung Jeong |
Bug Description
if you use python webob 1.2b2 (it is the default install version of easy_install), you'd better change back to 1.1 stable version
when i use command:
swauth-list -A https:/
it's return 500 error
and from log of proxy server :
Nov 9 17:23:56 localhost proxy-server ERROR Unhandled exception in request:
Traceback (most recent call last):
File "/usr/lib/
return handler(req)#012 File "/usr/lib/
return func(*a, **kw)
File "/usr/lib/
return self.GETorHEAD(req)
File "/usr/lib/
req.
File "/usr/lib/
source.
TypeError: 'NoneType' object does not support item assignment
at the storage node log:
Nov 9 17:02:18 wq045g2fatm account-server ERROR __call__ error with GET /sdb1/194797/
Traceback (most recent call last):
File "/usr/lib/
res = getattr(self, req.method)(req)
File "/usr/lib/
prefix = get_param(req, 'prefix')
File "/usr/lib/
value = req.str_
File "build/
warn()
File "build/
3
File "build/
raise DeprecationWarn
DeprecationWarning: The attribute None is deprecated: disabled starting WebOb 1.2, use params instead
if i change my webob lib version from 1.2b2 to 1.1 , it's ok and just return:
{"accounts": [{"name": "hahah"}, {"name": "root2"}, {"name": "root3"}, {"name": "root4"}, {"name": "root5"}, {"name": "root6"}, {"name": "root7"}, {"name": "root8"}, {"name": "test"}, {"name": "testa"}, {"name": "testa20"}, {"name": "testa21"}, {"name": "testa22"}, {"name": "testaa"}, {"name": "testaaa"}, {"name": "testaaaa"}, {"name": "testaaaaa"}, {"name": "testaaaaaa"}, {"name": "testaaaaaaa"}, {"name": "testaaaaaaaa"}, {"name": "testaaaaaaaaa"}, {"name": "testaaaaaaaaaa"}, {"name": "testaaaaaaaaaaa"}, {"name": "testaccount"}]}
Changed in swift: | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in nova: | |
assignee: | nobody → Brian Lamar (blamar) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → essex-3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-3 → 2012.1 |
Changed in swift: | |
milestone: | none → 1.6.0 |
status: | Fix Committed → Fix Released |
I also had this same issue (Deprecation Warning) with WebOb 1.2b2. I can confirm that downgrading to WebOb version 1.1.1 solves this problem.