nova/nova/conductor
Balazs Gibizer d6795e1393 Add min service level check for migrate with bandwidth
During resize and cold migrate the dest compute service needs to update
the port binding based on the re-calculated port - resource provider mapping.
This update happens in finish_resize.

To do that the dest compute service needs to be at least on service level
39.

The calculation is based on the RequestSpec. The RequestSpec is sent
to the dest compute in pre_resize but the dest compute only sends it to the
source compute in resize_instance if the compute rpc api version is at least
5.2. Also the source compute only sends the RequestSpec to the dest
compute in the finish_resize if the rpc api version is at least 5.2. So
migration with bandwidth only works if both compute talks at least 5.2
which means that the min service level is at least 39.

Change-Id: Ia500b105b9ec70c0d8bd38faa084270b825476eb
blueprint: support-move-ops-with-qos-ports
2019-09-06 16:41:08 +02:00
..
tasks Add min service level check for migrate with bandwidth 2019-09-06 16:41:08 +02:00
__init__.py Remove conductor local api:s and 'use_local' config option 2016-10-18 14:26:06 +02:00
api.py Stop passing 'kwargs' to 'rebuild_instance' 2019-06-12 16:09:46 +01:00
manager.py Merge "Add request_spec to server move RPC calls" 2019-09-02 20:02:07 +00:00
rpcapi.py Stop passing 'kwargs' to 'rebuild_instance' 2019-06-12 16:09:46 +01:00