VMware
0 Replies Last post: Oct 21, 2009 12:56 PM by guyrleech  

Error 25085.Setup failed to register VMware vCenter Update Manager extension to VMware vCenter Server posted: Oct 21, 2009 12:56 PM

Click to view guyrleech's profile Virtuoso 1,808 posts since
Mar 6, 2006

Thought I'd share this as its taken me a while to figure out why an Update Manager install on top of a working vCenter 4.0 kept failing with the above error. This was on x64 but I suspect it will be the same on x86.

Although you can generate an MSI log from the update manager installer executable (it doesn't like you running the msi directly), this doesn't help as it just gives the error message without any detail or context. The key log file was vminst.log which is found in %TEMP% for the user running the installer. In there it gives the command line given to the vciInstallUtils.exe program (which is run by a custom action) which when run manually shows me that I've been a muppet and given the account that I specified for VC access in the installer the wrong permissions in VC. A quick change of the permissions, rerun the installer and it's working.

It's also interesting because it shows why you need to have no special characters, such as spaces or quote marks, in the password you specify since it is passed unquoted, via the -P option, to the vciInstallUtils.exe program so spaces will be interpreted as a separate command line option.


VMware Update Manager-build-162871: 10/21/09 19:44:55


Begin Logging
VMware Update Manager-build-162871: 10/21/09 19:44:55 --- CA exec: VMRegisterExtension
VMware Update Manager-build-162871: 10/21/09 19:44:55 INFO: Reg/UnReg extn command: "-v 192.168.0.30 -p 80 -U "leech\svc_vmware" -P *** -S "C:\Program Files (x86)\VMware\Infrastructure\Update Manager\extension.xml" -C "C:\Program Files (x86)\VMware\Infrastructure\Update Manager
" -L "C:\DOCUME~1\admingl\LOCALS~1\Temp
" -O extupdate"

VMware Update Manager-build-162871: 10/21/09 19:44:55 AppendPath::done Path: C:\Program Files (x86)\VMware\Infrastructure\Update Manager\vciInstallUtils.exe
VMware Update Manager-build-162871: 10/21/09 19:44:55 Found "C:\Program Files (x86)\VMware\Infrastructure\Update Manager\vciInstallUtils.exe"
VMware Update Manager-build-162871: 10/21/09 19:45:00 Process returned 199
VMware Update Manager-build-162871: 10/21/09 19:45:00 Error:: Unknown VC error
VMware Update Manager-build-162871: 10/21/09 19:45:00 ERROR: VUM registeration with VC failed
VMware Update Manager-build-162871: 10/21/09 19:45:00 Posting error message 25085

The vciInstallUtils.exe run manually with the command line from the log file gave:

logUtil, 250 Product = VMware UpdateManager, Version = 4.0.0, Build = 162871
VC server URL: http://192.168.0.30:80
2009-10-21 20:16:05.931 03892 info 'Extension' Connecting to host 192.168.0.30 on port 80 using protocol http

2009-10-21 20:16:05.978 03892 info 'Extension' Authenticating user leech\svc_vmware
2009-10-21 20:16:06.009 03892 info 'Extension' Logged in!
MethodFault error: vim.fault.NoPermission
installerRunVCCommand, 381 VCSERVER The extension registration failed
installerRunVCCommand, 384 VCSERVER Register extension failed 1066

I hope this saves someone else the few hours it has taken me to get to the bottom of it.


Guy Leech
VMware vExpert 2009

---
If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities