Bug 1048842 - Fence agent uses key authentication when it should use password
Summary: Fence agent uses key authentication when it should use password
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents
Version: 6.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: Cluster QE
Depends On:
Blocks: 1048843
TreeView+ depends on / blocked
Reported: 2014-01-06 12:34 UTC by Marek Grac
Modified: 2014-10-14 07:49 UTC (History)
4 users (show)

Fixed In Version: fence-agents-3.1.5-40.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1048843 (view as bug list)
Last Closed: 2014-10-14 07:49:14 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1562 0 normal SHIPPED_LIVE fence-agents bug fix update 2014-10-14 01:27:47 UTC

Description Marek Grac 2014-01-06 12:34:40 UTC
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

Unit test:

git clone https://github.com/saironiq/mitmproxy.git 
cd mitmproxy 
./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

Comment 4 errata-xmlrpc 2014-10-14 07:49:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.