fence_ilo_ssh reports "Failed: You have to use identity file together with ssh connection (-x)" when specifying an identify_file (-k) in a RHEL 7 High Availability cluster

Solution Unverified - Updated -

Issue

  • If feeding arguments via STDIN to fence_ilo4_ssh, it will not recognize the identity_file parameter
# fence_ilo4_ssh 
ipaddr=192.168.1.10
secure
identity_file=/root/.ssh/stonith-key
inet4_only
action=reboot
login=stonith
verbose
shell_timeout=5
login_timeout=5
Failed: You have to use identity file together with ssh connection (-x)
  • If I run fence_ilo_ssh with -k to supply an identify file, it tells me I need to use -x.
  • fence_ilo_ssh or fence_ilo4_ssh fails when I provide an identify_file

Environment

  • Red Hat Enterprise Linux (RHEL) 7 with the High Availability Add On
  • One or more stonith devices configured to use fence_ilo_ssh or fence_ilo4_ssh.
    • This device is not configured with secure="1" in the CIB, or is being executed manually without -x or --ssh on the command line, or is being executed manually without secure="1" on stdin

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.