fence_scsi stonith device fails to start or function in a RHEL 7 Update 1 High Availability cluster and logs show "Failed: nodename or key is required"
Issue
fence_scsifails to work after updating to RHEL 7.1- After setting up a
fence_scsistonith device,pcs statusshows errors for that device on all nodes and the device is listed as "Stopped"
Failed actions:
scsistonith_start_0 on rhel72.example.com 'unknown error' (1): call=37, status=Error, exit-reason='none', last-rc-change='Sun Apr 19 16:37:03 2015', queued=0ms, exec=1163ms
scsistonith_start_0 on rhel71.example.com 'unknown error' (1): call=14, status=Error, exit-reason='none', last-rc-change='Sun Apr 19 16:38:52 2015', queued=0ms, exec=1129ms
- There are "Failed: nodename or key is required" errors in my logs for my
fence_scsi stonithdevice
Apr 19 16:38:52 rhel71 crmd[1549]: notice: process_lrm_event: Operation scsistonith_monitor_0: not running (node=rhel71.example.com, call=13, rc=7, cib-update=14, confirmed=true)
Apr 19 16:38:52 rhel71 stonith-ng[1545]: notice: stonith_device_register: Added 'scsistonith' to the device list (2 active devices)
Apr 19 16:38:52 rhel71 fence_scsi: Failed: nodename or key is required
Apr 19 16:38:52 rhel71 fence_scsi: Please use '-h' for usage
Apr 19 16:38:54 rhel71 fence_scsi: Failed: nodename or key is required
Apr 19 16:38:54 rhel71 fence_scsi: Please use '-h' for usage
Apr 19 16:38:54 rhel71 stonith-ng[1545]: notice: log_operation: Operation 'monitor' [2525] for device 'scsistonith' returned: -201 (Generic Pacemaker error)
Apr 19 16:38:54 rhel71 stonith-ng[1545]: warning: log_operation: scsistonith:2525 [ Failed: nodename or key is required ]
Apr 19 16:38:54 rhel71 stonith-ng[1545]: warning: log_operation: scsistonith:2525 [ ]
Apr 19 16:38:54 rhel71 stonith-ng[1545]: warning: log_operation: scsistonith:2525 [ Please use '-h' for usage ]
Apr 19 16:38:54 rhel71 stonith-ng[1545]: warning: log_operation: scsistonith:2525 [ ]
Apr 19 16:38:54 rhel71 crmd[1549]: error: process_lrm_event: Operation scsistonith_start_0 (node=rhel71.example.com, call=14, status=4, cib-update=15, confirmed=true) Error
Environment
- Red Hat Enterprise Linux (RHEL) 7 with the High Availability Add On
- Releases of
fence-agents-scsistarting with4.0.11-11.el7and prior to4.0.11-27.el7 - One or more
stonithdevices configured to use agentfence_scsi
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.
