VMware Cloud Director VM start task stuck in running forever!

Recently I have faced an issue regarding that a VM starting task in on of our ORG stuck in running and due to that there was not possible to do any operations on the VM from the VCD GUI.

Based on what I have found the solution was to restart the VCD service on all cells! But what a mess can it cause!?

So after thinking how I can kill this task and finally I found it. So let’s check it:

Issue: The task regarding starting a VM stuck in running state and from Cloud Director GUI, it was not possible to cancel it.

Solution:

  • Connect to the database
  • Run below command to see to find ORG ID:

select * from organization where name = ‘org_name’;

  • Now run below command by using org_id from the previous command to find the task:

select * from task where org_id = ‘org_id’;

  • Now we should see the task that got stuck. Then we need to delete this task from the DB:

Delete from task where org_id = ‘org_id’;

About admin

Check Also

VMware Telco Cloud Automation – Part04

VMware Telco Cloud Manager and Control Plane: VMware Telco Cloud Automation onboards and orchestrates workloads …

Leave a Reply

Your email address will not be published. Required fields are marked *