Canceling Migration tasks in Nutanix MOVE

  • 28 August 2020
  • 1 reply
  • 288 views

Userlevel 1
Badge

Nutanix MOVE is a product that helps Nutanix customers move or migrate VMs from ESXi to AHV environments.  IT is quite possible when a customer is doing a few migration tasks that the Migration Plans/tasks get stuck and do not progress.  The customer has no option other than having to cancel the Migration tasks, and retry the migrations.  

It is possible to cancel the MOVE Migration tasks.  Rebooting the MOVE VM does not help.  You need to access the database and remove these Migration instances:

Carry out the following commands to cancel the Migration tasks:

sudo docker exec -it $(sudo docker ps -a | grep 'nutanix/xtract_postgres' | awk '{print $1}') psql datamover

SELECT mpuuid,name FROM migrationplans;
DELETE FROM migrationplans WHERE mpuuid='<migration_plan_UUID>';

DELETE 1

\q to quit

Restart the services by running following command

$ svcrestart

 

Now you can revisit the MOVE GUI and create new Migration Plans.


1 reply

Hello, we have a task stuck in the ‘In Progress’ state and can’t do anything with it, all options greyed out. When I run the ‘SELECT mpuuid,name FROM migrationplans’ command on the MOVE vm i can’t get any UUID’s returned in order to run the next cancel command. Any ideas?

Reply