Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 500172 - cman - fence_scsi_test.pl does not check for sg_persist in the path
cman - fence_scsi_test.pl does not check for sg_persist in the path
Status: CLOSED ERRATA
Product: Red Hat Cluster Suite
Classification: Retired
Component: fence (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Marek Grac
Cluster QE
:
Depends On: 499871
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-11 09:52 EDT by Marek Grac
Modified: 2016-04-26 09:41 EDT (History)
5 users (show)

See Also:
Fixed In Version: fence-1.32.68-5.el4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 499871
Environment:
Last Closed: 2011-02-16 11:16:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0266 normal SHIPPED_LIVE Low: fence security, bug fix, and enhancement update 2011-02-16 11:14:08 EST

  None (edit)
Description Marek Grac 2009-05-11 09:52:44 EDT
+++ This bug was initially created as a clone of Bug #499871 +++

Escalated to Bugzilla from IssueTracker

--- Additional comment from tao@redhat.com on 2009-05-08 13:00:20 EDT ---

When running fence_scsi_test.pl (as provided in cman) the script does not check to see if sg_persist is in the user's PATH. This can cause for false negatives when running the script.

For example, a customer ran fence_scsi_test.pl after setting SCSI-3 PGR flags on their storage and it reported 'failure' for all of their shared luns. However, this was due to the fact that the customer did not have the sg3_utils package installed.

I have created a patch, which checks the PATH for the sg_persist command and prints an error, telling the user that they need the sg3_utils package installed.
This event sent from IssueTracker by tdunnon  [SEG - Storage]
 issue 293429

--- Additional comment from pbatkowski@redhat.com on 2009-05-11 08:50:58 EDT ---

Created an attachment (id=343441)
proposed patch

--- Additional comment from mgrac@redhat.com on 2009-05-11 09:51:38 EDT ---

Thanks for patch, I just removed $tool_path as it is not used.
Comment 6 errata-xmlrpc 2011-02-16 11:16:06 EST
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

Note You need to log in before you can comment on or make changes to this bug.