Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - VMware
cancel
Showing results for 
Search instead for 
Did you mean: 

Installation of HP Management Agents for VMware ESX 4.x failed

SOLVED
Go to solution
David Niven DE
Occasional Visitor

Installation of HP Management Agents for VMware ESX 4.x failed

Hi,

I tried to install HP Insight Manager Agents 8.5.1 ( hpmgmt-8.5.1-vmware4x.tgz ) on ESX 4.0 and got this error message:

--- quote ---
HP Insight Manager Agent 8.5.1-1 Installer for VMware ESX
Target System is VMware ESX 4.0.0 build-208167
Server: ProLiant xxxxx xx


Insufficient arguments.
Insufficient arguments.
An active Virtual Machine [ ] has been detected on host [xxxx.xxxx.xxxx]

The ESX host will be put into maintenance mode
to be able to install/uninstall the agents.
The Virtual Machines must be either Powered off or Suspended
by the operator to allow the transition
of the ESX host into maintenance mode.
Please modify the state of the VMs to be Suspended or powered off
and then retry Agents Installation.

--- quote ---

All machines was suspend/power off and the ESX host was already in maintenance mode, so the error message is really a mess.

This error was caused by the VM description text.

Examples:
Windows Serial number: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Verizoncore vRanger status: vRanger Pro Backup: Type [Incremental] Result [Success] Time [23.08.2010 17:11:58] Repository [Backup staging area]

The installation script install851vibs.sh seems to be buggy. The installation runs fine after I removed all VM description texts.
2 REPLIES
Angelo Conforti
Occasional Visitor
Solution

Re: Installation of HP Management Agents for VMware ESX 4.x failed

Same problem:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1439756

Installation script fails with multiple-line notes
David Niven DE
Occasional Visitor

Re: Installation of HP Management Agents for VMware ESX 4.x failed

John McClane: Oh man, I can't fucking believe this. Another basement, another elevator. How can the same shit happen to the same guy twice?

I want to run 'install851vibs.sh --uninstall' and got the error message with 'Insufficient arguments.'. There were 3 power-off VMs on the ESX 4.1 host.

See
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1435776

I replaced
--- old --- line 405 ---
if [ "$VM_ID" = "Vmid" ] ; then
continue
else
--- old ---
with
--- new ---
if [ "$VM_ID" = "Vmid" ] ; then
continue
elif [ "$VM_ID" = "" ] ; then
continue
else
--- new ---

The uninstall runs fine after the fix. The function 'vmops_list_vm' (vim-cmd vmsvc/getallvms > $HPIM_VMLIST) returns a empty add the end, which is interpreted as a VM later.

I started the installation of install860avibs.sh afterwards.

Surprise, surprise -> same bug. But the coding is now in line 414.