VM task state remains stuck

You might encounter issues when the task state of a virtual machine remains stuck for a longer period of time.

Problem

A task remains in the same state for more than five minutes even though the operation on a VM is completed.

Resolution

To resolve this issue, run the following command and reset the task state of the VM.
powervc-config compute reset-instance-task-state --instance_id <vm_uuid1, vm_uuid2,..>
Note: The above command format is applicable to reset the task state of the multiple VMs and the list of VM UUID can be collected from nova list command.