fence_brocade failed with "Unable to connect/login to fencing device"

Solution Verified - Updated -

Issue

Fence device can not start in pacemaker environment with following error:

Dec 23 10:59:44 [xxx] xxx  stonith-ng:   notice: dynamic_list_search_cb: Disabling port list queries for PRDbrocade1 (1): Unable to connect/login to fencing device

Fencing with fence_brocade failed:

# time fence_brocade -a xxx.xxx.xxx.xxx -l admin -p xxxxxx -n 2 -o disable -v -v -v

Delay 0 second(s) before logging in to the fence device
Running command: /usr/bin/telnet
Sent: set binary

Sent: open xxx.xxx.xxx.xxx  -23

Received: telnet> set binary
Negotiating binary mode with remote host.
telnet> open xxx.xxx.xxx.xxx  -23
Trying 
...
Connected to xxx.xxx.xxx.xxx 
.
Escape character is '^]'.


Fabric OS (swd230)
Fabos Version 7.3.0c

swd230 login:
Sent: admin

Received: Password
Sent: xxxxxx

Timeout exceeded in read_nonblocking().
<fencing.fspawn object at 0x7f21b346c550>
version: 2.3 ($Revision: 399 $)
command: /usr/bin/telnet
args: ['/usr/bin/telnet']
searcher: searcher_re:
    0: re.compile("(login\s*: )|(Login Name:  )|(username: )|(User Name :)")
    1: re.compile("> ")
buffer (last 100 chars): :

before (last 100 chars): :

after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 460789
child_fd: 4
closed: False
timeout: 30
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
Unable to connect/login to fencing device

Environment

  • Red Hat Enterprise Linux 7
  • pacemaker

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content