VMware Cloud Community
TonyJK
Enthusiast
Enthusiast

How to terminate "Remediate Entity" task for VM ?

I have started "Remediate Entity" for one of the VMs. It has been running for a number of days (The long weekend of Easter Holidays).

From VC Client, the status shows that it is in progress 40%.

Is there any way I can terminate the task ? Is there any reason for its behaviour ?

Thanks

Tags (2)
Reply
0 Kudos
5 Replies
LarsLiljeroth
Expert
Expert

I have seen this aswell.. but mine just disapeared after some hours..

Have you tried one of these things:

Service mgmt-vmware Restart

Disconnect the host from VC

Restart the VC Service.

// Lars Liljeroth -------------- *If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!
TonyJK
Enthusiast
Enthusiast

I have turned off the VM and wait for another 20 minutes.

VC reports that there is error in remediate and the process stops !

Thanks

Reply
0 Kudos
homogeniusdotco
Contributor
Contributor

Reboot the host which is failing remediation.

My first UMC host failed to enter maintenance mode due to timeout.

Restarting VCMS service is frowned upon here (restarting services on production systems is not standard proceedure.)

After restarting the host, it cause remediation to fail - and other patches to fail - back to playing with UMC.

-M

moshi
Contributor
Contributor

I've now upgraded two of our ESX hosts with the same issue.

It completes the updates and reboots the host and then tries to exit maintenance mode and fails.

I've then manually exited maintenance mode to then have the remediate entity task sit at 62%.

Canceling this task also just seems to time out so I've ended up having to do the following to remove it from events

ssh to the esx server and as root run the following command

service mgmt-vmware restart

This takes about a minute or two to complete then connect to your VC and go to Services in Administrative Tools and select the VMware VirtualCenter Server service and restart it (if you use VC in a VM then I recommend doing this directly on the ESX host it is on).

Reply
0 Kudos
jayscarff
Contributor
Contributor

Tony,

Has it worked at all or do you always get that error now? I had a similar problem when I was using update manager to update a host on a remote site.

I had to bouce the host to clear it to start the remediation again.

J

Reply
0 Kudos