HPE SimpliVity
1820695 Members
3515 Online
109627 Solutions
New Discussion

I need to cancel a VM task

 
TDW1
Occasional Advisor

I need to cancel a VM task

I need to cancel a task VM move task but in vCenter it doesn't allow me to.  I see there is a CLI command svt-task-cancel, but I have to have the task id.  I don't know what the task id is.  Is there a way to find what the ID is?

2 REPLIES 2
Mahesh202
HPE Pro

Re: I need to cancel a VM task

Hi TDW1

If you’re dealing with a hanging task in VMware vCenter, you may try the below steps.

Procedure To Cancel a vSphere Task:

  • Locate the task in the Recent Tasks pane.
  • By default, the Recent Tasks pane is displayed at the bottom of the vSphere Client.
  • Click the cancel button (X) next to the progress bar in the Status column for the task you want.
  • If the cancel option is unavailable, the selected task cannot be canceled.
  • In the Cancel Task pop-up dialog box, click OK.

Procedure to View Tasks

  • In the vSphere Client, navigate to an object in the inventory.
  • Click the Monitor tab.
  • Under Tasks and Events, select Tasks. The task list contains tasks performed on the object and detailed information, such as target, task status, initiator, and start/completion time of the task.
    You can limit the number of tasks visible in the Tasks pane by selecting an option from the Items per page drop-down menu.
    (Optional) Click the filter (Select filter) icon on a column header and filter the task list by entering your filtering criteria.
    (Optional) Click the expand row (Expand row) icon to view related events for a task. You can view task information about multiple tasks at the same time.

Please refer: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-996B7673-C9B9-4F7E-BD1D-57362668F170.html

Hope this helps.!!

Regards
Mahesh.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
support_s
System Recommended

Query: I need to cancel a VM task

Hello,

 

Let us know if you were able to resolve the issue.

 

If you have no further query, and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo