'esxupdate' errors 10 & 99

Update:  8GB flash drive does not actually fix this, so don't go out and buy!  You need to get the hosts patched.



Pre-requisites:
  1. Running ESXi
  2. No local storage (using USB stick)
You attach an Update Manager baseline and 'scan'.
First you get:
'The host returns esxupdate error codes: 10. Check the Update Manager log files and esxupdate log files for more details.'
So you reconfigure the /etc/vmware/esxupdate/esxupdate.conf file by adding in a path for the log file (/var/tmp/esxupdate.debug).
Then you get:
'The host returns esxupdate error codes: 99. Check the Update Manager log files and esxupdate log files for more details.'
So as per here (http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&externalId=1030330) you check that all the paths are correct. /var/tmp/ does not exist. It is actually a link to /scratch/var/tmp, and /scratch doesn't even exist.
As per here (http://www.jonathanmedd.net/2011/06/issue-patching-esxi-4-1-u1-installed-on-usb-sd-media.html) I created the dir using 'mkdir -p /tmp/scratch/var/tmp'. Success.
Note that this issue is resolved as of 4.1U1.









Original post:
This applies if you are running the following:
* ESXi installable on a flash drive
* No permanent local storage (i.e. no local SATA/SAS drive)
* Flash drive is 4GB or smaller


I'd been getting errors using Update Manager and Host Profiles with my ESXi hosts (with above config).  When trying to scan for updates I would get esxupdate error 10 (I think), and when trying to remediate updates I would get esxupdate error 99.  Most patches would install, but one would not, failing with that error.


"The host returns esxupdate error codes: 99.Check the Update Manager log files and esxupdate log files for more details."


Using host profiles, I would see silly things like 'Option Mem.VMOverheadGrowthLimit doesn't match the specified criteria'.  Even after successfully applying a profile, still issues.  

Anyways, after much Googling, I found this: http://communities.vmware.com/message/1727986#1727986


After 4.1 Update 1, it seems flash drives 4GB and smaller are no longer enough without additional local storage.  People have reported success with 8GB drives, so that's what I've ordered.  Not a huge cost, just a hassle trying to figure this out.  


Thank you, Filbo.


Hope this helps the Google results.

Comments

Popular posts from this blog

Learning through failure - a keyboard creation journey

Learning Opportunities - Watching/listening list

DFSR - eventid 4312 - replication just won't work