Red Hat Bugzilla – Bug 510279
fence_sanbox2 unable to retrieve status of fencing
Last modified: 2016-04-26 12:18:43 EDT
Created attachment 350948 [details]
addded $t->dump_log("/tmp/dump_log.txt"); to the script
using fence_sanbox2 to fence cluster nodes from qlogic sanbox2 fabric, fencing always fails because the script has issues interpreting the output of the telnet sesssion.
Version-Release number of selected component (if applicable):
fence any port on a sanbox switch, if you check with telnet/snmp, the port will be disabled, but fencing still fails.
attached is a dump_log session output of Net::Telnet, reading through it, it appears as if the fancing agent just dumps the command and doesn't wait for what the switch returns to the commands.
I've removed the line with our password on it :)
Created attachment 355650 [details]
Modified fencing library
Created attachment 355651 [details]
New fencing agent
New fencing agent for sanbox2 built on fencing library. Status works for me (and I was not to test enable/disable yet). Feel free to test.
Final patch for RHEL4:
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.