Bug 580157

Summary: fence_scsi get_scsi_devices() too slow, maybe hanging
Product: Red Hat Enterprise Linux 5 Reporter: Benjamin Kahn <bkahn>
Component: cmanAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.6CC: bernhard.furtmueller, bkahn, ccaulfie, cluster-maint, djansa, fdinitto, fnadge, hklein, jkortus, pdemauro, pm-eus, rohara, tao, tdunnon
Target Milestone: rcKeywords: Reopened, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-04 15:07:05 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: 564468    
Bug Blocks:    
Attachments:
Description Flags
Replace open3 with qx. none

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