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
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_sshwith-kto supply an identify file, it tells me I need to use-x. fence_ilo_sshorfence_ilo4_sshfails when I provide anidentify_file
Environment
- Red Hat Enterprise Linux (RHEL) 7 with the High Availability Add On
- One or more
stonithdevices configured to usefence_ilo_sshorfence_ilo4_ssh.- This device is not configured with
secure="1"in the CIB, or is being executed manually without-xor--sshon the command line, or is being executed manually withoutsecure="1"onstdin
- This device is not configured with
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.
