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
- Login to VirtualCenter using ssh
- Stop Update Manager
- Type som commands
- Start Update Manager
- (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.)
- Remediate the host
- 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
Leave a Reply