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): cman-2.0.98-1.el5_3.4 How reproducible: fence any port on a sanbox switch, if you check with telnet/snmp, the port will be disabled, but fencing still fails. Additional info: 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: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commit;h=6397a742c02d186ac97d55dc9ea9d50dbbce2493
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. http://rhn.redhat.com/errata/RHSA-2011-0266.html