Bug 580157 - fence_scsi get_scsi_devices() too slow, maybe hanging
Summary: fence_scsi get_scsi_devices() too slow, maybe hanging
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.6
Hardware: All
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Ryan O'Hara
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 564468
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-07 15:28 UTC by Benjamin Kahn
Modified: 2016-04-26 14:55 UTC (History)
14 users (show)

Fixed In Version: cman-2.0.115-1.el5_4.12
Doc Type: Bug Fix
Doc Text:
Running the get_scsi_devices() subroutine could cause the fencing agent fence_scsi to be blocked when processing several devices. With this update, the open3 calls are replaced by qx and fence_scsi works now without delays.
Clone Of:
Environment:
Last Closed: 2010-08-04 15:07:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Replace open3 with qx. (4.55 KB, patch)
2010-04-26 18:03 UTC, Ryan O'Hara
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0596 0 normal SHIPPED_LIVE cman bug-fix update 2010-08-04 15:06:54 UTC

Description Benjamin Kahn 2010-04-07 15:28:21 UTC
This bug has been copied from bug #564468 and has been proposed
to be backported to 5.4 z-stream (EUS).

Comment 3 Ryan O'Hara 2010-04-26 18:03:11 UTC
Created attachment 409251 [details]
Replace open3 with qx.

Replace all open3 calls with qx commands.

Comment 4 Ryan O'Hara 2010-04-26 18:10:19 UTC
Committed to RHEL54 branch.

commit 351f6b71f4be272ad7d472b8299397e7b3442ae0

Comment 7 Florian Nadge 2010-08-04 12:53:17 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.

New Contents:
Running the get_scsi_devices() subroutine caused the fencing agent fence_scsi to be blocked. With this update, the open3 calls are replaced by qx and fence_scsi works now without delays.

Comment 8 Ryan O'Hara 2010-08-04 13:52:43 UTC
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1 +1 @@
-Running the get_scsi_devices() subroutine caused the fencing agent fence_scsi to be blocked. With this update, the open3 calls are replaced by qx and fence_scsi works now without delays.+Running the get_scsi_devices() subroutine could cause the fencing agent fence_scsi to be blocked when processing several devices. With this update, the open3 calls are replaced by qx and fence_scsi works now without delays.

Comment 10 errata-xmlrpc 2010-08-04 15:07:05 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-0596.html


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