From 0fce37b2988aff8266afb53015d85f32424643b5 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 26 Oct 2012 16:54:09 -0400 Subject: Fix rpcapi version for new methods. Two methods were recently added to the network rpcapi in version 1.1. Properly require that the manager side implement version 1.1 to accept rpc messages for these methods. Change-Id: I7257301a150889bc3d643197bf1e5e9a656b1d9c --- nova/network/rpcapi.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nova/network/rpcapi.py b/nova/network/rpcapi.py index 4d401efdb..ffeddf316 100644 --- a/nova/network/rpcapi.py +++ b/nova/network/rpcapi.py @@ -269,7 +269,8 @@ class NetworkAPI(rpc_proxy.RpcProxy): return self.call(ctxt, self.make_msg('migrate_instance_start', instance_uuid=instance_uuid, floating_addresses=floating_addresses), - topic=rpc.queue_get_for(ctxt, self.topic, host)) + topic=rpc.queue_get_for(ctxt, self.topic, host), + version='1.1') def migrate_instance_finish(self, ctxt, instance_uuid, floating_addresses, dest): @@ -277,4 +278,5 @@ class NetworkAPI(rpc_proxy.RpcProxy): instance_uuid=instance_uuid, floating_addresses=floating_addresses, host=dest), - topic=rpc.queue_get_for(ctxt, self.topic, dest)) + topic=rpc.queue_get_for(ctxt, self.topic, dest), + version='1.1') -- cgit