From a5d06c2d12135f91aa2616b3bb8d28aa14c217ca Mon Sep 17 00:00:00 2001 From: Dan Wendlandt Date: Wed, 16 May 2012 20:19:36 -0700 Subject: fixes typo that completely broken Quantum/Nova integration bug 1000887 fixes bug introduced in ba76b954e69de56f76f9db5cade1780bc351be67 that prevented the serializer in the Quantum client code from correctly serializing request body data. Instead, the serializer always returned None, meaning that requests would have no body, causing the Quantum server to return a 400. Change-Id: I410fb408435da8774f418f0e62ffb59eac2354f3 --- nova/network/quantum/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/network/quantum/client.py b/nova/network/quantum/client.py index f57b0fa93..69f525324 100644 --- a/nova/network/quantum/client.py +++ b/nova/network/quantum/client.py @@ -35,7 +35,7 @@ class JSONSerializer(object): the standard serializer from the quantum library. """ def serialize(self, data, content_type): - jsonutils.dumps(data) + return jsonutils.dumps(data) def deserialize(self, data, content_type): return jsonutils.loads(data) -- cgit