stonith-ng reports numerous "warning: parse_host_line: Could not parse" errors for fence_apc and fencing fails in a RHEL 7 High Availability cluster

Solution Unverified - Updated -

Issue

  • When I execute pcs stonith fence <node> --off, I would expect that the node gets fenced, but this is not the case. Running fence_apc with -o off, -o status, and -o on works fine.

  • fence_apc seems to be failing with parse errors

  • I see stonith-ng reporting numerous "warning: parse_host_line: Could not parse" errors for fence_apc

Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (20 26): '^]'.
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (11 12): : pc
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (11 12): : **********
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (13 23): **********
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (0 3): (c) Copyright 2004 All Rights Reserved  Rack PDU APP                     v2.7.3
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (10 11): : pdu1                                 Date : 11/26/2014
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (59 60): : 11/26/2014
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (10 11): : admin@example.com                    Time : 15:24:21
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (59 60): : 15:24:21
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (11 12): : E37 132 Rack606                           User : Administrator
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (60 61): : Administrator
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (11 12): : 183 Days 2 Hours 40 Minutes               Stat : P+ N+ A+
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (60 61): : P+ N+ A+
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 4): <ESC>- Main Menu, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 11): <ESC>- Main Menu, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (23 31): <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (41 50): <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (0 1): > 1
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 4): <ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 11): <ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (18 26): <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (36 45): <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (0 1): > 3
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 4): <ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 11): <ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (18 26): <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (36 45): <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (0 1): >
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 4): <ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 11): <ESC>- Back, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (18 26): <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (36 45): <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (0 1): >
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (0 3): (c) Copyright 2004 All Rights Reserved  Rack PDU APP                     v2.7.3
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (10 11): : pdu1                                 Date : 11/26/2014
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (59 60): : 11/26/2014
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (10 11): : admin@example.com                    Time : 15:24:21
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (59 60): : 15:24:21
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (11 12): : E37 132 Rack606                           User : Administrator
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (60 61): : Administrator
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (11 12): : 183 Days 2 Hours 40 Minutes               Stat : P+ N+ A+
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (60 61): : P+ N+ A+
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 4): <ESC>- Main Menu, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (5 11): <ESC>- Main Menu, <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (23 31): <ENTER>- Refresh, <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (41 50): <CTRL-L>- Event Log
Nov 26 15:16:55 node1 stonith-ng[29593]: warning: parse_host_line: Could not parse (0 2): >1,Outlet 1

Environment

  • Red Hat Enterprise Linux (RHEL) 7 with the High Availability Add On
  • fence_apc configured as the agent for a stonith device
    • A fence_apc stonith device has verbose=true in its configured attributes
    • That fence_apc device does not have pcmk_host_list or pcmk_host_map specified

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.