Description of problem:
If fence_ipmilan is called with a blank password (-p ''), it doesn't pass any
password setting to ipmitool. This causes the agent to fail any attempted action.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run fence_ipmilan with a blank password, such as:
$ /sbin/fence_ipmilan -A password -a machinename -p '' -l administrator -o status
Getting status of IPMI:machinename...Chassis power = Unknown
Reports that Chassis Power is on/off/etc
Running with -v reveals the problem:
Getting status of IPMI:machinename...Spawning: '/usr/bin/ipmitool -I lan -H
machinename -U administrator -A password -v chassis power status'...
ipmitool needs to have "-P ''" in its command line or it will prompt for a
Ryan - this agent used to work - this command line param must be new in a new
version of the ipmi package(s). There are plenty of machines in westford to
test this with. Also, I can help you get going porbably with a phone call, if
you are new to ipmi.
Fixed. If the fence_ipmilan agent does not get a password (or gets a null
password), the agent will append a " -P '' " onto the ipmitool command. This
should prevent it from prompting for a password.