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
Issue
-
When I execute
pcs stonith fence <node> --off, I would expect that the node gets fenced, but this is not the case. Runningfence_apcwith-o off,-o status, and-o onworks fine. -
fence_apcseems to be failing with parse errors -
I see
stonith-ngreporting numerous "warning: parse_host_line: Could not parse" errors forfence_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_apcconfigured as the agent for astonithdevice- A
fence_apcstonith device hasverbose=truein its configured attributes - That
fence_apcdevice does not havepcmk_host_listorpcmk_host_mapspecified
- A
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
