nova/nova/compute
Wenzhi Yu 168409fa93 Make compute rpcapi 'live_migration' backward compatible
This commit[1] added compute rpcapi version 4.2 which introduced a new
argument 'migration' when calling 'live_migration' method, but the code
did not ensure the backward compatibility with older version compute
node.

When calling 'live_migration' method with 'migration' argument on older
version(like Kilo) of nova compute node, a "TypeError: live_migration()
got an unexpected keyword argument 'migration'" will be threw up.

[1]2f4e64a7cf

Change-Id: Ie5c498d34e7c4c6573d611abd592c25f1bcb4f44
Closes-Bug: #1576048
(cherry picked from commit 34b8336a41)
2016-05-19 18:40:24 +08:00
..
monitors Merge "Allow compute monitors in different namespaces" 2015-08-31 16:41:35 +00:00
resources Use oslo.log 2015-02-22 07:56:40 -05:00
__init__.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
api.py Fix reverse_upsize_quota_delta attempt to look up deleted flavors 2016-04-21 13:05:20 -04:00
arch.py Add amd64 to arch.canonicalize() 2014-09-08 08:08:00 -07:00
build_results.py Compute Add build_instance hook in compute manager 2014-12-04 10:12:00 -05:00
cells_api.py Fix evacuate support with Nova cells v1 2016-03-03 14:02:32 -05:00
claims.py rebuild: RPC sends additional args and claims are done 2015-09-22 17:41:29 +01:00
cpumodel.py Add VirtCPUModel nova objects 2015-02-09 10:26:10 +11:00
flavors.py Enable python34 tests for nova/tests/unit/objects/test*.py 2015-07-01 20:29:42 +00:00
hv_type.py libvirt: rename parallels driver to virtuozzo 2015-07-29 18:40:12 +03:00
instance_actions.py Add missing instance action record for start of live migration 2014-09-24 10:14:42 +08:00
manager.py compute: Retain instance metadata for 'evacuate' on shared storage 2016-05-12 10:57:35 +00:00
opts.py Move CPU and RAM allocation ratios to ResourceTracker 2015-08-21 14:59:54 -07:00
power_state.py Remove power_state.BUILDING 2015-04-14 19:10:12 -07:00
resource_tracker.py RT: track evacuation migrations 2015-09-22 19:45:09 +01:00
rpcapi.py Make compute rpcapi 'live_migration' backward compatible 2016-05-19 18:40:24 +08:00
stats.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
task_states.py Recover from REBOOT-* state on compute manager start-up 2014-03-12 10:00:54 +00:00
utils.py Fix reverse_upsize_quota_delta attempt to look up deleted flavors 2016-04-21 13:05:20 -04:00
vm_mode.py Convert nova.compute.* to use instance dot notation 2015-02-25 17:21:36 -05:00
vm_states.py Recover from REBOOT-* state on compute manager start-up 2014-03-12 10:00:54 +00:00