Description of problem:
When fence agent is used with --password, key-based authentication is done before (based on default configuration file). If it succeed then fencing fails because it waits for 'ssword:' line
git clone https://github.com/saironiq/mitmproxy.git
./mitmproxy_ssh -H apc-pdu-01.cluster-qe.lab.eng.brq.redhat.com -D
in different window on same computer:
fence_apc -o status -x -a localhost -u 2222 -l apc -p apc -n 1 --ssh-options="-2" --login-timeout=100
-- before patch -> unable to login
-- after patch -> status is returned
Patch is in the upstream:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.