Bug 1765235

Summary: [Tier] While IO in progress performed detach start, Issued tier <vol> detach status it is showing failed for the status
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Bala Konda Reddy M <bmekala>
Component: tierAssignee: hari gowtham <hgowtham>
Status: CLOSED WORKSFORME QA Contact: Sweta Anandpara <sanandpa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: hgowtham, rhs-bugs, storage-qa-internal, sunkumar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 06:13:03 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:

Description Bala Konda Reddy M 2019-10-24 14:54:45 UTC
Description of problem:
On a 6 node cluster with disperse volume as cold tier and replica (2X3) as hot tier. While IO is being carried out on the tiered volume, issued detach tier start and it is successful. detach status is showing files as failed


Version-Release number of selected component (if applicable):
glusterfs-6.0-20.el7rhgs.x86_64

How reproducible:
2/2

Steps to Reproduce:
1. On a 6 node cluster, created dispere volume and started
2. Started IO
3. Performed attach tier and it is successful.
4. Performed detach tier start and it is successful
5. Issued detach status

Actual results:
gluster volume tier nobrickmux detach status
volume detach tier status: success
                                    Node Rebalanced-files          size       scanned      failures       skipped               status  run time in h:m:s
                               ---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
                               localhost                0        0Bytes           399             4             0               failed        0:00:01
                             10.70.42.80                0        0Bytes           399             4             0               failed        0:00:01
                            10.70.43.211                0        0Bytes           399             4             0               failed        0:00:01
                             10.70.43.44                0        0Bytes           399             4             0               failed        0:00:02
                            10.70.43.116                0        0Bytes           399             4             0               failed        0:00:02
                            10.70.43.102                0        0Bytes           399             4             0               failed        0:00:01



Expected results:
Detach status should show the details of rebalanced files.

Additional info: