Bug 1554826

Summary: [RFE] Add tcmu-runner ALUA core to import tcmu_notify_conn_lost functionality
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: unspecified Docs Contact:
Priority: unspecified    
Version: cns-3.10CC: amukherj, nberry, pkarampu, prasanna.kalever, rcyriac, rhs-bugs, sanandpa, sankarshan, storage-qa-internal, vbellur, xiubli
Target Milestone: ---Keywords: FutureFeature
Target Release: CNS 3.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tcmu-runner-1.2.0-19.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 09:25:26 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:    
Bug Blocks: 1507764, 1568860    

Description Prasanna Kumar Kalever 2018-03-13 12:45:35 UTC
Description of problem:

With tcmu_notify_conn_lost() if the reconfig (done as part of resize) fails the tcmu_reopen_dev() is invoked in a loop until reopen success.

And When reconfig fails the tcmu_notify_conn_lost() will internally disable the ALUA default_tg_pt_gp/glfs_tg_pt_gp group. And once the tcmu_reopen_dev() is successful it will automatically move default_tg_pt_gp/glfs_tg_pt_gp group to enabled.

Additional info:
Need to backport the alua code from upstream tcmu-runner.

Just a Note: This doesn't mean that gluster supports ALUA, we are just reusing some code to address reconfig failures.

Comment 21 errata-xmlrpc 2018-09-12 09:25:26 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-2018:2691