Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 516763

Summary: fence_scsi_test advertises debug option which is not implemented
Product: Red Hat Enterprise Linux 5 Reporter: Jaroslav Kortus <jkortus>
Component: cmanAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.4CC: ccaulfie, cluster-maint, edamato
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cman-2.0.115-22.el5.src.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 08:42:06 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:
Attachments:
Description Flags
Print extra information when using the debug option. none

Description Jaroslav Kortus 2009-08-11 12:49:36 UTC
Description of problem:
fence_scsi_test script help message promises "-d" option to show register/unregister commands. This option has no effect as it's not implemented inside the script.

Version-Release number of selected component (if applicable):
cman-2.0.113-1.el5

How reproducible:
always


Steps to Reproduce:
1. fence_scsi_test -h
2. fence_scsi_test -d -s
3.
  
Actual results:
Debug option has no effect

Expected results:
Debug messages printed to stdin

Additional info:
n/a

Comment 1 Ryan O'Hara 2009-10-13 21:49:35 UTC
I've added code to the script so that using the debug (-d) option will print some extra information. This includes the actual sg_persist commands used to register and unregister a device. Other information that will be printed includes the list of devices to be tested, etc.

Attaching patch to BZ.

Comment 2 Ryan O'Hara 2009-10-13 21:50:26 UTC
Created attachment 364663 [details]
Print extra information when using the debug option.

Comment 3 Ryan O'Hara 2009-10-15 14:32:32 UTC
commit 5c328396a61fd828c939fa3eea25b763093d0ba1

Comment 8 errata-xmlrpc 2010-03-30 08:42:06 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/RHBA-2010-0266.html