Bug 640111
Summary: | [Broadcom 5.6 bug] Race condition in the INVALID_HOST path | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Eddie Wai <eddie.wai> | ||||||
Component: | iscsi-initiator-utils | Assignee: | Mike Christie <mchristi> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Storage QE <storage-qe> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 5.6 | CC: | aaswath, albertt, andriusb, anilgv, bdonahue, benlu, coughlan, cward, edwardn, enarvaez, gideonn, mchristi | ||||||
Target Milestone: | rc | Keywords: | OtherQA | ||||||
Target Release: | 5.6 | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | iscsi-initiator-utils-6.2.0.872-5 | Doc Type: | Bug Fix | ||||||
Doc Text: |
A host removal could become suspended when the bnx2i, cxgb3i, or be2iscsi drivers were used and iSCSI sessions could not be cleaned up. With this update, the iSCSI daemon has been corrected to handle the error event, and a host removal behaves as expected.
|
Story Points: | --- | ||||||
Clone Of: | |||||||||
: | 640115 (view as bug list) | Environment: | |||||||
Last Closed: | 2011-01-13 22:59:21 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: | 640115 | ||||||||
Attachments: |
|
Description
Eddie Wai
2010-10-04 20:36:40 UTC
Created attachment 451527 [details]
ISCSID: Fixed a race condition in the INVALID_HOST path
This should fix the race condition presented.
Note: this should only affect offload drivers and it should only affect their shutdown path, so the patch should be pretty safe regression wise. Broadcom QA has done extensive testing and verification with this patch on RH5.5 using our latest OOB driver set. We are also attempting to verify this patch in RH5.6 with the inbox driver. However, we are running into what looks like some unrelated problems and are in the process of debugging/troubleshooting. Great, keep us posted if you find out anything definite. Thank for the patch Eddie. This is merged in iscsi-initiator-utils-6.2.0.872-5.el5. You can download it here: http://people.redhat.com/mchristi/iscsi/rhel5.6/iscsi-initiator-utils/ Created attachment 458985 [details]
Patch for uIP-0.6.2.2.1
While testing, we also saw that the uIP userspace daemon would segfault when uIP would take an error path some the sysfs iSCSI entries were removed. The fault is a NULL deference which the incorrect errno value is being used. The global errno should be used and not the errno from the file descriptor. This only occurs in an error condition with the default logging level.
Note that this is a very small 1 line fix and only effects the bnx2i driver.
Mike, I'll leave it to you if this needs another BZ or not. Andrius, talked to Barry in QE. He said it was ok with him to just update the fix for this with this fix. Fixed in iscsi-initiator-utils-6.2.0.872-5.el5. You can download it here: http://people.redhat.com/mchristi/iscsi/rhel5.6/iscsi-initiator-utils/ (In reply to comment #11) > Andrius, talked to Barry in QE. He said it was ok with him to just update the > fix for this with this fix. > > Fixed in iscsi-initiator-utils-6.2.0.872-5.el5. You can download it here: > http://people.redhat.com/mchristi/iscsi/rhel5.6/iscsi-initiator-utils/ OK, setting back to ASSIGNED then. It appears that BZ651287 is preventing this problem from being correctly verified using RHEL5.6-Server-20101029.0-x86_64-DVD.iso and iscsi-initiator-utils-6.2.0.872-6.el5. The fix had previously been verified with the patch along with Broadcom OOB drivers using RH5.5. @Broadcom, it appears BZ651287 has been confirmed as fixed with kernel-2.6.18-233.el5. Please let us of the latest test results for this bug (#640111) once they're available. Thanks! Reminder! There should be a fix present for this BZ in snapshot 3 -- unless otherwise noted in a previous comment. Please test and update this BZ with test results as soon as possible. Testing has been ongoing with kernel-2.6.18-233.el5 and there are some conditions in which this problem still surfaces. i.e. when there are 128 iSCSI sessions active and ifup/down is issued repeatedly. The same test was run with 35 iSCSI sessions overnight and was working ok. Perhaps the BRCM engineering team can comment on this. Thanks. 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: A host removal could become suspended when the bnx2i, cxgb3i, or be2iscsi drivers were used and iSCSI sessions could not be cleaned up. With this update, the iSCSI daemon has been corrected to handle the error event, and a host removal behaves as expected. 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-2011-0072.html |