[Bugs] [Bug 1212368] New: Data Tiering:Clear tier gfid when detach-tier takes place

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 16 09:33:35 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1212368

            Bug ID: 1212368
           Summary: Data Tiering:Clear tier gfid when detach-tier takes
                    place
           Product: GlusterFS
           Version: mainline
         Component: tiering
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: nchilaka at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:
======================
When we detach a tier, it would be nice to clear the tier-gfid from the cold
tier, as it would now only be a regular volume and not a tier volume

Version-Release number of selected component (if applicable):
============================================================
[root at vertigo ~]# gluster --version
glusterfs 3.7dev built on Apr 13 2015 07:14:27
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
[root at vertigo ~]# rpm -qa|grep gluster
glusterfs-server-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-rdma-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-api-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-regression-tests-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-devel-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-resource-agents-3.7dev-0.994.gitf522001.el6.noarch
glusterfs-libs-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-fuse-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-geo-replication-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-cli-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-api-devel-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-extra-xlators-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-debuginfo-3.7dev-0.994.gitf522001.el6.x86_64



How reproducible:
=================
easily


Steps to Reproduce:
==================
1.create a gluster volume of any type
2.attach a tier
3.issue getfattr for all the bricks. It can be seen that hot-tier bricks have
one common tier-gfid and cold-bricks have one comman gfid.
4. Now issue a detach-tier and after it passes, re-issue getfattr on bricks of
the now non-tiered volume(ie cold bricks), it can be seen that they still have
tier-gfid. This is not nice to have as it is not a tier volume anymore.

Actual results:
===============
after detach tier,it can be seen that the regular vol bricks still have
tier-gfid. This is not nice to have as it is not a tier volume anymore.



Expected results:
=================
clear the tier-gfid from xattrs of all bricks at end of detach-tier command

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list