Live Migration Failure With Error: "The instance requires a newer hypervisor version than has been provided."

Problem

Live Migration Failure With Error: "The instance requires a newer hypervisor version than has been provided."

2024-10-02 19:51:45.109 7549 DEBUG nova.conductor.tasks.live_migrate [req-bfd4fa06-9205-443e-b80e-0b0062ae8d3b aa3ada4a824f4f87be8d23a8138b9751 0b81ca966e6447829b8c0181c237d96d - default default] Skipping host: 7faf9b59-9ad9-4916-8332-15fb703459b8 because: The instance requires a newer hypervisor version than has been provided. _find_destination /opt/pf9/nova/lib/python3.9/site-packages/nova/conductor/tasks/live_migrate.py:560

Environment

  • Platform9 Managed OpenStack - All versions

Answer

  • This is an expected behaviour with Nova. By default, a live migration from higher libvirt/qemu versions to lower versions is not supported.

  • Nova has the following codes to check hypervisor compatibility.

---- conductor/tasks/live_migrate.py ----
def _check_compatible_with_source_hypervisor(self, destination):
source_info = self._get_compute_info(self.source)
destination_info = self._get_compute_info(destination)

source_type = source_info['hypervisor_type']
destination_type = destination_info['hypervisor_type']
if source_type != destination_type:
raise exception.InvalidHypervisorType()

source_version = source_info['hypervisor_version']
destination_version = destination_info['hypervisor_version']
if source_version > destination_version:
raise exception.DestinationHypervisorTooOld()

Additional Information

Refer to a similar issue reported by RedHat: https://access.redhat.com/solutions/3587091arrow-up-right

Last updated