+++ This bug was initially created as a clone of Bug #1261744 +++ +++ This bug was initially created as a clone of Bug #1261276 +++ Description of problem: Tier and shd are not compatible, the problems include * afr requires unified name across the grapsh switch * shd is not starting on a tiered volume. * volfiles are created in a wrong way * multiple afr/disperse stacks are possible in a single graph * heal commands are not compatible with tiering * self-heal-daemon enable commands need to be supported Version-Release number of selected component (if applicable): How reproducible: 100 Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Vijay Bellur on 2015-09-09 02:07:19 EDT --- REVIEW: http://review.gluster.org/11962 (tier/shd: create shd volfile for tiering) posted (#2) for review on master by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-09-09 02:07:21 EDT --- REVIEW: http://review.gluster.org/12134 (tiering/volgen: keep afr/ec xlators name constant) posted (#1) for review on master by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-09-09 02:07:28 EDT --- REVIEW: http://review.gluster.org/12135 (tier/shd: make shd commands compatible with tiering) posted (#1) for review on master by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-09-09 03:01:32 EDT --- REVIEW: http://review.gluster.org/12134 (tiering/volgen: keep afr/ec xlators name constant) posted (#2) for review on master by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-09-09 03:05:13 EDT --- REVIEW: http://review.gluster.org/12135 (tier/shd: make shd commands compatible with tiering) posted (#3) for review on master by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-09-09 04:43:15 EDT --- REVIEW: http://review.gluster.org/12134 (tiering/volgen: keep afr/ec xlators name constant) posted (#3) for review on master by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-09-09 04:43:17 EDT --- REVIEW: http://review.gluster.org/12135 (tier/shd: make shd commands compatible with tiering) posted (#4) for review on master by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-10-12 02:31:53 EDT --- REVIEW: http://review.gluster.org/12333 (tier/shd: create shd volfile for tiering) posted (#1) for review on release-3.7 by mohammed rafi kc (rkavunga) --- Additional comment from Vijay Bellur on 2015-10-12 14:24:29 EDT --- COMMIT: http://review.gluster.org/12333 committed in release-3.7 by Dan Lambright (dlambrig) ------ commit 0f5c3e88f145005f963172e3ada10dbf6d6a607c Author: Mohammed Rafi KC <rkavunga> Date: Thu Aug 20 12:19:51 2015 +0530 tier/shd: create shd volfile for tiering Currently shd graph will only start if it is replicate or disperse volume. But in case of tiering, volume type will be tier. So we need to start shd if any of the cold or hot is compatible with shd volume. Back port of> >Change-Id: Ic689746ac7d2fc6a9eccdabd8518dc9139829de2 >BUG: 1261276 >Signed-off-by: Mohammed Rafi KC <rkavunga> >Reviewed-on: http://review.gluster.org/11962 >Tested-by: Gluster Build System <jenkins.com> >Tested-by: NetBSD Build System <jenkins.org> >Reviewed-by: Pranith Kumar Karampuri <pkarampu> (cherry picked from commit fdff192b918ca9cd237f3f784c627102377e3661) Change-Id: I236a31e7dcefb3dad64881e0b007144bd826b840 BUG: 1261744 Signed-off-by: Mohammed Rafi KC <rkavunga> Reviewed-on: http://review.gluster.org/12333 Tested-by: Gluster Build System <jenkins.com> Tested-by: NetBSD Build System <jenkins.org> Reviewed-by: Dan Lambright <dlambrig> Tested-by: Dan Lambright <dlambrig> --- Additional comment from Vijay Bellur on 2015-10-13 02:11:33 EDT --- REVIEW: http://review.gluster.org/12344 (tier/shd: make shd commands compatible with tiering) posted (#1) for review on release-3.7 by mohammed rafi kc (rkavunga) --- Additional comment from Mohammed Rafi KC on 2015-10-13 07:45:02 EDT --- moving back to post since one more patches need to be merged. --- Additional comment from Vijay Bellur on 2015-10-13 22:47:43 EDT --- COMMIT: http://review.gluster.org/12344 committed in release-3.7 by Dan Lambright (dlambrig) ------ commit 613f5c0120068a117f7337eeda293512bf106ef8 Author: Mohammed Rafi KC <rkavunga> Date: Tue Sep 8 13:04:45 2015 +0530 tier/shd: make shd commands compatible with tiering tiering volfiles may contain afr and disperse together or multiple time based on configuration. And the informations for those configurations are stored in tier_info. So most of the volgen code generation need to be changed to make compatible with it. Back port of> >Change-Id: I563d1ca6f281f59090ebd470b7fda1cc4b1b7e1d >BUG: 1261276 >Signed-off-by: Mohammed Rafi KC <rkavunga> >Reviewed-on: http://review.gluster.org/12135 >Tested-by: NetBSD Build System <jenkins.org> >Tested-by: Gluster Build System <jenkins.com> >Reviewed-by: Pranith Kumar Karampuri <pkarampu> (cherry picked from commit 0ef62933649392051e73fe01c028e41baddec489) BUG: 1261744 Change-Id: Iff1b27ae8ce61f1f38fbbd6c92894b3d3516e4d4 Signed-off-by: Mohammed Rafi KC <rkavunga> Reviewed-on: http://review.gluster.org/12344 Tested-by: NetBSD Build System <jenkins.org> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Joseph Fernandes Reviewed-by: Dan Lambright <dlambrig> Tested-by: Dan Lambright <dlambrig>
On tiered volume ran the fallowing tests Hot tier 1x2 and cold tier 1x2 ================================== 1. Heal file in the hot tier 2. Heal file in the cold tier 3. Heal files from both hot and cold tier at time 4. Recovering the files from split brian Hot tier 1x3 and cold tier 1x3 ================================== 1. Heal file in the hot tier 2. Heal file in the cold tier 3. Heal files from both hot and cold tier at time Hot tier 1x2 and cold tier EC volume ================= 1. Heal file in the hot tier 2. Heal file in the cold tier 3. Heal files from both hot and cold tier at time After running automated afr regression suit on tiered volume will mark this bug as verified
While running the automated regression suite we found fallowing bugs 1294487, 1294632
Ran automated scripts with build glusterfs-server-3.7.5-15 and did not find any AFR and tiering bug so marking this bug as verified
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://rhn.redhat.com/errata/RHBA-2016-0193.html