Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 510279

Summary: fence_sanbox2 unable to retrieve status of fencing
Product: [Retired] Red Hat Cluster Suite Reporter: Johannes Russek <johannes.russek>
Component: fenceAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 4CC: cfeist, cluster-maint, djansa, edamato, sghosh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fence-1.32.68-5.el4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 512947 (view as bug list) Environment:
Last Closed: 2011-02-16 16:15:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 512947    
Attachments:
Description Flags
addded $t->dump_log("/tmp/dump_log.txt"); to the script
none
Modified fencing library
none
New fencing agent none

Description Johannes Russek 2009-07-08 14:59:19 UTC
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 :)

Comment 1 Marek Grac 2009-07-30 09:03:55 UTC
Created attachment 355650 [details]
Modified fencing library

Comment 2 Marek Grac 2009-07-30 09:05:05 UTC
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.

Comment 5 errata-xmlrpc 2011-02-16 16:15:02 UTC
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