Unable to remove Compute Resource from SolusVM 2: This Compute Resource has outgoing migrations.

Have more questions? Submit a request

Applicable to:

  • SolusVM 2

Symptoms 

Unable to remove Compute Resource from SolusVM 2:

SVM_ERROR: This Compute Resource has outgoing migrations.

Cause

Migration tasks are stuck in 'running' and 'pending' states.

 

Resolution

  1. Connect to SolusVM 2 Management Node via SSH
  2. Backup database
  3. Access database
  4. Find the tasks in 'running' and 'pending' status:

    MYSQL_LIN: select id,status,payload from tasks where status='running';

    MYSQL_LIN: select id,status,payload from tasks where status='pending';

  5. Ensure the tasks are related to the CR you want to remove
  6. Remove the corresponding tasks with:

    MYSQL_LIN: delete from tasks where id=<ID>;

    where <ID> is the corresponding migration task.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.