Bug 1474188

Summary: kernel/tcmu-runner: fix uio_poll crash during uio device removal
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: tcmu-runnerAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: Sweta Anandpara <sanandpa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, kramdoss, mchristi, rcyriac, rhs-bugs, sanandpa, storage-qa-internal, storage-qe
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tcmu-runner-1.2.0-11.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1465619 Environment:
Last Closed: 2017-09-21 04:20:54 UTC Type: Bug
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: 1465619, 1473162    
Bug Blocks: 1417151    

Comment 7 Sweta Anandpara 2017-08-03 11:07:58 UTC
Having discussed it with Prasanna, it will be difficult to hit this code path with the fix for uio_read() not yet in.

Hence, will be verifying this bug only after bz 1473162 is fixed.

Comment 8 krishnaram Karthick 2017-09-19 02:30:06 UTC
This issue is not seen at CNS (builds above cns-deploy-5.0.0-38.el7rhgs.x86_64). i.e., tcmu-runner-1.2.0-14.el7rhgs.x86_64

Logging and metrics using gluster block in ocp environment is up for close to 4 week now without any issues.

Comment 9 krishnaram Karthick 2017-09-19 05:21:17 UTC
(In reply to krishnaram Karthick from comment #8)
> This issue is not seen at CNS (builds above
> cns-deploy-5.0.0-38.el7rhgs.x86_64). i.e.,
> tcmu-runner-1.2.0-14.el7rhgs.x86_64
> 
> Logging and metrics using gluster block in ocp environment is up for close
> to 4 week now without any issues.

Please ignore this comment. This comment was not meant for this bug.

Comment 10 Sweta Anandpara 2017-09-19 10:40:52 UTC
Tested and verified this on the build tcmu-runner-1.2.0-15 and gluster-block-0.2.1-13 and gluster-3.8.4-44

Multiple block creates and deletes were given in parallel and in a sequence from different peer nodes, on a 2*3 volume. No crash (mentioned in description) was seen, this time or multiple other times that block deletes have been executed.

Moving this to verified in rhgs 3.3.0.

Comment 12 errata-xmlrpc 2017-09-21 04:20:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2773