From: Gary Kotton Date: Fri, 22 Mar 2013 15:40:38 +0000 (+0000) Subject: Revert back to 'call' for agent reports X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1586cab03175060ce6c9e5f444ce67a4d9e50eea;p=openstack-build%2Fneutron-build.git 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 --- 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},