This is a cache of https://docs.openshift.com/container-platform/4.5/virt/live_migration/virt-cancel-vmi-migration.html. It is a snapshot of the page at 2024-11-28T01:00:04.048+0000.
Cancelling the live migration of a virtual machine instance - Live migration | OpenShift Virtualization | OpenShift Container Platform 4.5
×

Cancel the live migration so that the virtual machine instance remains on the original node.

You can cancel a live migration from either the web console or the cli.

Cancelling live migration of a virtual machine instance in the web console

You can cancel a live migration of the virtual machine instance using the Options menu kebab found on each virtual machine in the VirtualizationVirtual Machines tab, or from the Actions menu available on all tabs in the Virtual Machine Overview screen.

Procedure
  1. In the OpenShift Virtualization console, click WorkloadsVirtualization from the side menu.

  2. click the Virtual Machines tab.

  3. You can cancel the migration from this screen, which makes it easier to perform actions on multiple virtual machines, or from the Virtual Machine Overview screen where you can view comprehensive details of the selected virtual machine:

    • click the Options menu kebab at the end of virtual machine and select Cancel Virtual Machine Migration.

    • Select a virtual machine name to open the Virtual Machine Overview screen and click ActionsCancel Virtual Machine Migration.

  4. click Cancel Migration to cancel the virtual machine live migration.

Cancelling live migration of a virtual machine instance in the cli

Cancel the live migration of a virtual machine instance by deleting the VirtualMachineInstanceMigration object associated with the migration.

Procedure
  • Delete the VirtualMachineInstanceMigration object that triggered the live migration, migration-job in this example:

    $ oc delete vmim migration-job