vSphere – Lifecycle Manager stops at remediation at 30% and install stops at 0% then errors out after 41 minutes. @vExpert #vExpert #esxi #Virtualization @VMware

Hi all!

Time for some VMware stuff now! I was planing to do patchning this weekend, and I always try on test servers first. But this time it failed. I want to get out the word how I fixed that issue. If you will do this you will loose the baseline that you created.

Versions that I was using

Virtual Center: 7.0.3.01300 Build: 21290409

Esxi: 7.0.3, 20328353

Errors that I was getting

Current progress of remediation: 0 hosts completed successfully, 1 hosts completed with errors, 0 hosts are being remediated, 0 hosts are waiting to start remediation, and 0 hosts could not enter maintenance mode and are waiting to retry.

Remediation did not succeed for

Remediation stops at 30% and Install stops at 0% and then time out after 41 minutes.

Steps

  1. Login to VirtualCenter using ssh
  2. Stop Update Manager
  3. Type som commands
  4. Start Update Manager
  5. (If you have failed the update befort on host, You may need to reboot the host. If you receive error like this The task failed because another task is currently in progress. Either your task, the task that is in progress, or both tasks require exclusive execution.)
  6. Remediate the host
  7. Done

Detailed version

Connect to Virtual Center

Connenct to VirtualCenter with ssh

Type shell

Command to clear the Lifecycle Manager database

You will loose the baslines and so on that you created

service-control –stop vmware-updatemgr
python /usr/lib/vmware-updatemgr/bin/updatemgr-utility.py reset-db
rm -rf /storage/updatemgr/patch-store/*
service-control –start vmware-updatemgr

After this you can remediate your hosts again and life is good.

That was all for today

Keep hacking

//Roger

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: