Comment 6 for bug 1576053

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/nova (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/21640
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 8ce07e486446b63f0cf1a63a561dd4c0b53c9592
Author: Wenzhi Yu <wenzhi_yu@163.com>
Date: Fri Jun 3 14:21:55 2016

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]https://github.com/openstack/nova/commit/2f4e64a7cf81de4a22fe2fc4210b1f795b1a3db4

Closes-Bug: #1576053

(cherry picked from commit 34b8336a41e2896f0639c402f64a05247f475fea)
Change-Id: Ie5c498d34e7c4c6573d611abd592c25f1bcb4f44