diff options
author | Matt Riedemann <mriedem.os@gmail.com> | 2019-11-20 10:27:18 -0500 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2020-01-29 09:44:47 +0000 |
commit | 4921e822e73383af0c8da4c5e3acfaa021eafe68 (patch) | |
tree | 320162a3dcb1c9f804f97684e724d41d2a17b75d /lower-constraints.txt | |
parent | 9fa3600fcaef74660aadae56ecc5f766f1093f14 (diff) | |
download | nova-4921e822e73383af0c8da4c5e3acfaa021eafe68.tar.gz |
Use COMPUTE_SAME_HOST_COLD_MIGRATE trait during migrate
This uses the COMPUTE_SAME_HOST_COLD_MIGRATE trait in the API during a
cold migration to filter out hosts that cannot support same-host cold
migration, which is all of them except for the hosts using the vCenter
driver.
For any nodes that do not report the trait, we won't know if they don't
because they don't support it or if they are not new enough to report
it, so the API has a service version check and will fallback to old
behavior using the config if the node is old. That compat code can be
removed in the next release.
As a result of this the FakeDriver capabilities are updated so the
FakeDriver no longer supports same-host cold migration and a new fake
driver is added to support that scenario for any tests that need it.
Change-Id: I7a4b951f3ab324c666ab924e6003d24cc8e539f5
Closes-Bug: #1748697
Related-Bug: #1811235
Diffstat (limited to 'lower-constraints.txt')
-rw-r--r-- | lower-constraints.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt index ca8ca7ce08..913076f87f 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -66,7 +66,7 @@ os-brick==2.6.2 os-client-config==1.29.0 os-resource-classes==0.4.0 os-service-types==1.7.0 -os-traits==2.0.0 +os-traits==2.1.0 os-vif==1.14.0 os-win==3.0.0 os-xenapi==0.3.3 |