Reject live migration if there are virtual persistent memory resources.
Otherwise, if dest host has same vpmem backend file name as that used
by instance, live migration will succeed and these files will be used
but not tracked in Nova; if dest host has no those vpmems, it will
trigger an error.
Reviewed: https:/ /review. opendev. org/714064 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b08d59ac7b2 1909046faee6c8f 8fd50866befc76
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit b08d59ac7b21909 046faee6c8f8fd5 0866befc76
Author: LuyaoZhong <email address hidden>
Date: Mon Feb 17 11:19:42 2020 +0000
bug-fix: Reject live migration with vpmem
Reject live migration if there are virtual persistent memory resources.
Otherwise, if dest host has same vpmem backend file name as that used
by instance, live migration will succeed and these files will be used
but not tracked in Nova; if dest host has no those vpmems, it will
trigger an error.
Conflicts:
nova/conductor /tasks/ live_migrate. py
nova/tests/ unit/conductor/ tasks/test_ live_migrate. py
Note(luyao): Conflicts due to bd8e2fe9c80dbe3 9bdd03fb213148b 30a9dfd36e 3ffe9b75b6f1acf 1efb80ee4e not being present in Train.
and 5f63ada309f562f
Change-Id: I900f74d482fc87 da5b1b5ec9db2ad 5aefcfcfe7a e9c23c7a4c07786 f67bcfe7b2)
Closes-bug: #1863605
(cherry picked from commit db93b704cecdb72