[Pacemaker] 1.1.12: route_ais_message: Sending message to local.stonith-ng failed: ipc delivery failed (rc=-2)

Cédric Dufour - Idiap Research Institute cedric.dufour at idiap.ch
Thu Jul 31 06:46:52 UTC 2014


On 31/07/14 00:17, Andrew Beekhof wrote:
> On 31 Jul 2014, at 2:48 am, Cédric Dufour - Idiap Research Institute <cedric.dufour at idiap.ch> wrote:
>
>> After packaging pacemaker 1.1.12 for Debian/Wheezy (along corosync 1.4.6 and libqb 0.17.0), I have successfully initialized a new cluster.
>>
>> Back to a very simple test cluster, the only problem I have is with fencing, which fails altogether with "route_ais_message: Sending message to local.stonith-ng failed: ipc delivery failed (rc=-2)" messages:
>>
>> root at bc1hs22a01:~ # tail /var/log/corosync.rsyslog
>> Jul 30 18:41:41 bc1hs22a01 stonith_admin[5411]:   notice: crm_log_args: Invoked: stonith_admin -F bc1hs22a02
>> Jul 30 18:41:41 bc1hs22a01 stonithd[4754]:   notice: handle_request: Client stonith_admin.5411.fe1388ed wants to fence (off) 'bc1hs22a02' with device '(any)'
>> Jul 30 18:41:41 bc1hs22a01 stonithd[4754]:   notice: initiate_remote_stonith_op: Initiating remote operation off for bc1hs22a02: 48b69f82-29ad-4c9a-af57-0e60ae5242e4 (0)
>> Jul 30 18:41:41 bc1hs22a01 corosync[4686]:   [pcmk  ] WARN: route_ais_message: Sending message to local.stonith-ng failed: ipc delivery failed (rc=-2)
> rc=-2 is coming from send_client_ipc(void *conn, const AIS_Message * ais_msg)
>
> specifically:
>
>     if (conn == NULL) {
>         rc = -2;
>
> So the plugin thinks that stonith-ng isn't connected.
> More logs?
>

I have completed a full restart of the cluster in order to provide the logs at each step; see attached log files:
(from node_1/DC)
 - node_1-corosync-start.log
 - node_1-pacemaker-start.log
 - node_1-corosync-node_2_join.log
 - node_1-pacemaker-node_2_join.log
(from node_2)
 - node_2-corosync-start.log
 - node_2-pacemaker-start.log

The problem manifests itself already in DC start log - because of previous fencing attempt - at 08:19:21 and 08:19:42:

root at bc1hs22a01:~ # fgrep 'ipc delivery failed' node_1-corosync-start.log
Jul 31 08:19:21 bc1hs22a01 corosync[31057]:   [pcmk  ] WARN: route_ais_message: Sending message to local.stonith-ng failed: ipc delivery failed (rc=-2)
Jul 31 08:19:42 bc1hs22a01 corosync[31057]:   [pcmk  ] WARN: route_ais_message: Sending message to local.stonith-ng failed: ipc delivery failed (rc=-2)

While it would seem (to me) that the stonith plugin successfully connected to the CIB:

root at bc1hs22a01:~ # fgrep cib_native_signon_raw node_1-pacemaker-start.log
Jul 31 08:19:20 [31096] bc1hs22a01       crmd:    debug: cib_native_signon_raw:     Connection unsuccessful (0 (nil))
Jul 31 08:19:20 [31096] bc1hs22a01       crmd:    debug: cib_native_signon_raw:     Connection to CIB failed: Transport endpoint is not connected
Jul 31 08:19:20 [31092] bc1hs22a01   stonithd:    debug: cib_native_signon_raw:     Connection unsuccessful (0 (nil))
Jul 31 08:19:20 [31092] bc1hs22a01   stonithd:    debug: cib_native_signon_raw:     Connection to CIB failed: Transport endpoint is not connected
Jul 31 08:19:21 [31096] bc1hs22a01       crmd:    debug: cib_native_signon_raw:     Connection to CIB successful
Jul 31 08:19:21 [31092] bc1hs22a01   stonithd:    debug: cib_native_signon_raw:     Connection to CIB successful
Jul 31 08:19:25 [31094] bc1hs22a01      attrd:    debug: cib_native_signon_raw:     Connection to CIB successful

Best,

Cédric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: node_1-corosync-start.log
Type: text/x-log
Size: 27272 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140731/e2abd228/attachment-0024.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node_1-pacemaker-start.log
Type: text/x-log
Size: 114256 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140731/e2abd228/attachment-0025.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node_1-corosync-node_2_join.log
Type: text/x-log
Size: 14486 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140731/e2abd228/attachment-0026.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node_1-pacemaker-node_2_join.log
Type: text/x-log
Size: 69406 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140731/e2abd228/attachment-0027.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node_2-corosync-start.log
Type: text/x-log
Size: 16611 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140731/e2abd228/attachment-0028.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node_2-pacemaker-start.log
Type: text/x-log
Size: 69781 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140731/e2abd228/attachment-0029.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140731/e2abd228/attachment-0004.sig>


More information about the Pacemaker mailing list