diff options
author | zhhuabj <zhhuabj@cn.ibm.com> | 2013-03-05 17:39:50 +0800 |
---|---|---|
committer | zhhuabj <zhhuabj@cn.ibm.com> | 2013-03-05 17:39:50 +0800 |
commit | b4d43b0d0c890ccb940862719c6b88a24029d44a (patch) | |
tree | a6a2230bf655e10af5b4daf3bde7fafa92f4ac44 /nova/context.py | |
parent | b581c63d10207541248c0bec21bc70f0b1bc9c1a (diff) | |
download | nova-b4d43b0d0c890ccb940862719c6b88a24029d44a.tar.gz nova-b4d43b0d0c890ccb940862719c6b88a24029d44a.tar.xz nova-b4d43b0d0c890ccb940862719c6b88a24029d44a.zip |
Fix Network object encoding issue when using qpid
When creating network via REST API will throw the exception
"CodecException: no encoding for
<nova.db.sqlalchemy.models.Network object at 0x4a8ea10>".
It only occurs when using qpid.
Fix this issue through using jsonutils.to_primitive method.
Fix bug 1143584.
Change-Id: I833aef451f8e3d5eaa246c19d67b2474a9d36910
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions