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"

Solution Unverified - Updated -

Issue

  • fence_scsi fails to work after updating to RHEL 7.1
  • After setting up a fence_scsi stonith device, pcs status shows 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 stonith device
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-scsi starting with 4.0.11-11.el7 and prior to 4.0.11-27.el7
  • One or more stonith devices configured to use agent fence_scsi

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In