From 1586cab03175060ce6c9e5f444ce67a4d9e50eea Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Fri, 22 Mar 2013 15:40:38 +0000 Subject: [PATCH] Revert back to 'call' for agent reports Fixes bug 1159581 The logic of the agents is based on RPC call() since the agent needs to catch an exception over RPC. Change-Id: I6d408216ebdfd130bab2555e61febd02b521985d --- quantum/agent/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/agent/rpc.py b/quantum/agent/rpc.py index 428dd611d..fad2db866 100644 --- a/quantum/agent/rpc.py +++ b/quantum/agent/rpc.py @@ -58,7 +58,7 @@ class PluginReportStateAPI(proxy.RpcProxy): topic=topic, default_version=self.BASE_RPC_API_VERSION) def report_state(self, context, agent_state): - return self.cast(context, + return self.call(context, self.make_msg('report_state', agent_state={'agent_state': agent_state}, -- 2.45.2