Bug 1561733

Summary: Rebalance failures on a dispersed volume with lookup-optimize enabled
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Xavi Hernandez <jahernan>
Component: disperseAssignee: Xavi Hernandez <jahernan>
Status: CLOSED ERRATA QA Contact: Prasad Desala <tdesala>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhgs-3.4CC: amukherj, bugs, jahernan, rhinduja, rhs-bugs, sheggodu, srmukher, storage-qa-internal, ubansal
Target Milestone: ---   
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.2-7 Doc Type: Bug Fix
Doc Text:
Previously, when lookup-optimize was enabled, some files were not migrated on a disperse volume due to incomplete data returned by a special rebalance request. This fix ensures that all required data is transferred and all files are migrated.
Story Points: ---
Clone Of: 1561406 Environment:
Last Closed: 2018-09-04 06:45:40 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: 1561406    
Bug Blocks: 1503137    

Description Xavi Hernandez 2018-03-28 18:47:58 UTC
+++ This bug was initially created as a clone of Bug #1561406 +++

Description of problem:

When rebalance is executed after adding a brick (or some other operation that changes the layout) on a dispersed volume with lookup-optimize enabled, some files are not migrated to the right brick.

Version-Release number of selected component (if applicable): mainline


How reproducible:

Always

Steps to Reproduce:
1. Create a disperse volume
2. Enable lookup-optimize
3. Create some files
4. Add new bricks
5. Run rebalance

Actual results:

Some files are not migrated

Expected results:

All files should be migrated

Additional info:

There's a bug in EC that causes the request for trusted.glusterfs.list-node-uuids xattr to be only processed in one subvolume. This causes that the resulting list only contains one of the UUIDs and all the other are set to the null uuid, as if they were down.

Comment 6 Prasad Desala 2018-05-11 09:25:17 UTC
Verified this BZ on glusterfs version 3.12.2-9.el7rhgs.x86_64.

When rebalance is executed after adding a brick on a dispersed volume with lookup-optimize enabled, files are getting migrated without any issues to the bricks.

Moving this BZ to Verified.

Comment 10 errata-xmlrpc 2018-09-04 06:45:40 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/RHSA-2018:2607