diff --git a/nova/virt/hyperv/driver.py b/nova/virt/hyperv/driver.py index 6fd6710c3056..a8ec5c15db50 100644 --- a/nova/virt/hyperv/driver.py +++ b/nova/virt/hyperv/driver.py @@ -96,7 +96,7 @@ class HyperVDriver(driver.ComputeDriver): capabilities = { "has_imagecache": True, "supports_recreate": False, - "supports_migrate_to_same_host": True, + "supports_migrate_to_same_host": False, "supports_attach_interface": True, "supports_device_tagging": True, } diff --git a/releasenotes/notes/bug-hyperv-1629040-e1eb35a7b31d9af8.yaml b/releasenotes/notes/bug-hyperv-1629040-e1eb35a7b31d9af8.yaml new file mode 100644 index 000000000000..57b4fa9983a6 --- /dev/null +++ b/releasenotes/notes/bug-hyperv-1629040-e1eb35a7b31d9af8.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - The Hyper-V driver no longer accepts cold migrating + instances to the same host. Note that this does not + apply to resizes, in which case this is still allowed.