From 730283ab6e3c6c8aa9ce7f19224a2335df800b0e Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 14 Oct 2013 14:41:28 -0400 Subject: [PATCH] Update version aliases for rpc version control Now that Havana has been branched, add aliases for the rpc version implemented by Havana. These aliases can be used in the configuration options for doing outbound rpc version control. This is one of the items that should be done after every release, and has been added to the new release checklist wiki page: https://wiki.openstack.org/wiki/Nova/ReleaseChecklist DocImpact - 'havana' is now a valid value to provide to all of the options in the [upgrade_levels] section of nova.conf. Change-Id: Ifa0b3dcc00843ad3f045a450ceb0f47f0b843f98 --- nova/scheduler/rpcapi.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nova/scheduler/rpcapi.py b/nova/scheduler/rpcapi.py index b2e9f0f2..330c54a7 100644 --- a/nova/scheduler/rpcapi.py +++ b/nova/scheduler/rpcapi.py @@ -71,6 +71,11 @@ class SchedulerAPI(rpcclient.RpcProxy): 2.8 - Deprecate prep_resize() -- JUST KIDDING. It is still used by the compute manager for retries. 2.9 - Added the legacy_bdm_in_spec parameter to run_instance() + + ... Havana supports message version 2.9. So, any changes to existing + methods in 2.x after that point should be done such that they can + handle the version_cap being set to 2.9. + ... - Deprecated live_migration() call, moved to conductor ''' @@ -86,6 +91,7 @@ class SchedulerAPI(rpcclient.RpcProxy): VERSION_ALIASES = { 'grizzly': '2.6', + 'havana': '2.9', } def __init__(self):