A stonith device using fence_scsi fails to start with "ERROR:root:Failed: device '<device>' does not exist" in a RHEL 7 High Availability cluster
Issue
- I can't get my
fence_scsistonithdevice started - I'm seeing errors from
fence_scsiinpcs statusoutput stonith-ngreports "Failed: device does not exist" for myfence_scsidevice on startup
scsi_start_0 on ha-2 'unknown error' (1): call=595, status=Error, exitreason='none', last-rc-change='Fri Apr 29 12:53:50 2016', queued=0ms, exec=1097ms
May 2 12:06:44 node2 fence_scsi: Failed: device "/dev/disk/by-id/wwn-0x068fc6156cc001b16f7045767946ca1c" does not exist
May 2 12:06:44 node2 fence_scsi: Please use '-h' for usage
May 2 12:06:44 node2 ntpd[4186]: Deleting interface #10 eth0, 172.16.0.60#123, interface stats: received=0, sent=0, dropped=0, active_time=527 secs
May 2 12:06:45 node2 fence_scsi: Failed: device "/dev/disk/by-id/wwn-0x068fc6156cc001b16f7045767946ca1c" does not exist
May 2 12:06:45 node2 fence_scsi: Please use '-h' for usage
May 2 12:06:45 node2 stonith-ng[2536]: error: Operation 'on' [50911] (call 3 from crmd.2540) for host 'node2' with device 'scsi' returned: -201 (Generic Pacemaker error)
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ WARNING:root:Parse error: Ignoring unknown option 'port=node2' ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ ERROR:root:Failed: device "/dev/disk/by-id/wwn-0x068fc6156cc001b16f7045767946ca1c" does not exist ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ Failed: device "/dev/disk/by-id/wwn-0x068fc6156cc001b16f7045767946ca1c" does not exist ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ ERROR:root:Please use '-h' for usage ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ Please use '-h' for usage ]
May 2 12:06:45 node2 stonith-ng[2536]: warning: scsi:50911 [ ]
May 2 12:06:45 node2 stonith-ng[2536]: notice: Couldn't find anyone to fence (on) node2 with any device
May 2 12:06:45 node2 stonith-ng[2536]: error: Operation on of node2 by <no-one> for crmd.2540@node2.88b94800: No route to host
Environment
- Red Hat Enterprise Linux (RHEL) 7 with the High Availability Add-On
- One or more nodes associated with a
stonithdevice using agentfence_scsi- Attributes for that
stonithdevice containdevices=<device list> fence-agents-scsi-4.0.11-27.el7or later
- Attributes for that
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.
