To resolve the issue use cancel reconfigure option under action items for the virtual machine. Once cancel reconfigure has completed successfully run data collection to correct any potential inconsistency in the resource between vRA and vCenter.
If cancel reconfigure option is not available, you can update the database by following the below steps.
Note: Take a backup of the IaaS SQL database before making any changes.
- Run the below query to check the status of the virtual machine from the IaaS database:
SELECT CurrentTask FROM VirtualMachine WHERE VirtualMachineName IN ('VM_NAME');
- If the status of the virtual machine is not NULL and displays Reconfiguring, run the below command to update:
UPDATE dbo.VirtualMachine SET CurrentTask = NULL WHERE VirtualMachineName IN ('VM_NAME');
Note: Make sure to replace the VM_NAME to actual name of the vm facing the issue.