My Oracle Support Banner

"fense_scsi" Device Became "Stopped" After Being Created (Doc ID 2617884.1)

Last updated on JANUARY 15, 2020

Applies to:

Linux OS - Version Oracle Linux 7.3 and later
Linux x86-64

Symptoms

The STONITH fence device fail to start.

It was created with:

[root@<HOST02>]# pcs stonith create scsi fence_scsi pcmk_host_list="<HOST01> <HOST02>" devices="/dev/mapper/mpathf" meta provides="unfencing" --force
[root@<HOST02>]# pcs status ...
2 nodes configured
1 resource configured
Online: [ <HOST01> <HOST02> ]
Full list of resources:
scsi (stonith:fence_scsi): Stopped
Failed Fencing Actions:
* unfencing of <HOST01> failed: delegate=, client=crmd.133716, origin=<HOST02>,
last-failed='Tue Dec 3 12:06:54 2019'
* reboot of <HOST02> failed: delegate=, client=crmd.98867, origin=<HOST01>,
last-failed='Mon Dec 2 14:19:49 2019'
The /var/log/cluster/corosync.log on both nodes show:

<HOST02>:
Dec 03 13:05:31 [133711] <HOST02> stonith-ng: notice: initiate_remote_stonith_op: Requesting peer fencing (on) of <HOST01> | id=<ID> state=0
Dec 03 13:05:33 [133711] <HOST02> stonith-ng: notice: stonith_choose_peer: Couldn't find anyone to fence (on) <HOST01> with any device
Dec 03 13:05:33 [133711] <HOST02> stonith-ng: info: call_remote_stonith: No peers (out of 2) are capable of fencing (on) <HOST01> for crmd.133716 (1)

--

<HOST01>:
Dec 04 04:06:56 [98863] <HOST01> stonith-ng: notice: operation_finished: fence_scsi_on_2:123021:stderr [ 2019-12-04 04:06:56,860 ERROR: Please use '-h' for usage ]
Dec 04 04:06:56 [98863] <HOST01> stonith-ng: notice: operation_finished: fence_scsi_on_2:123021:stderr [ ]
Dec 04 04:06:56 [98863] <HOST01> stonith-ng: warning: log_action: fence_scsi[123021] stderr: [ 2019-12-04 04:06:56,859 ERROR: Failed: device "/dev/mapper/mpathf" does not exist ]
Dec 04 04:06:56 [98863] <HOST01> stonith-ng: warning: log_action: fence_scsi[123021] stderr: [ ]
Dec 04 04:06:56 [98863] <HOST01> stonith-ng: warning: log_action: fence_scsi[123021] stderr: [ 2019-12-04 04:06:56,860 ERROR: Please use '-h' for usage ]

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.