jsonutils.py is incompatible with anyjson from 3.3.2 onwards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Russell Bryant | ||
horizon (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
keystone (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Newer versions of the python anyjson library support an additional "filedecoder" method:
https:/
It's just like decoder except it takes a file argument instead of a string. Since nova's jsonutils.py doesn't define a filedecoder, we get a KeyError from anyjson:
File "/home/
anyjson.
File "/usr/lib/
implementation = _JsonImplementa
File "/usr/lib/
fdec = modinfo[
We can simply add the new method. Since it's on the end of the list, it's compatible with older versions of anyjson. I'll submit a patch.
Changed in nova (Ubuntu): | |
status: | New → Triaged |
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
importance: | Undecided → High |
Changed in horizon (Ubuntu): | |
importance: | Undecided → High |
Changed in horizon (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in nova (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in keystone (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
This patch should be submitted to openstack-common first and then updated to Nova.