Reject migration with QoS port from conductor if RPC pinned
The MigrationTask in the conductor already checks the service version as
old computes cannot support migration with QoS port. However it is still
possible that every compute is new but the compute RPC API is pinned to
< 5.2. In this case the migration still cannot be supported.
This patch adds an extra RPC version check to the conductor.
Reviewed: https:/ /review. opendev. org/683948 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4a10f8eaa76 85e3ce03d728a4a 1669946492097d
Committed: https:/
Submitter: Zuul
Branch: master
commit 4a10f8eaa7685e3 ce03d728a4a1669 946492097d
Author: Balazs Gibizer <email address hidden>
Date: Mon Sep 23 12:48:20 2019 +0200
Reject migration with QoS port from conductor if RPC pinned
The MigrationTask in the conductor already checks the service version as
old computes cannot support migration with QoS port. However it is still
possible that every compute is new but the compute RPC API is pinned to
< 5.2. In this case the migration still cannot be supported.
This patch adds an extra RPC version check to the conductor.
Change-Id: Ib4e0b9ab050a59 ab5a290e6eecea0 1b87c3bd4c6
Closes-Bug: #1844993