[Bugs] [Bug 1262417] New: Data Tiering:Impossible to detach tier if hot tier has only one brick over a dist-rep cold tier volume
bugzilla at redhat.com
bugzilla at redhat.com
Fri Sep 11 15:17:27 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1262417
Bug ID: 1262417
Summary: Data Tiering:Impossible to detach tier if hot tier has
only one brick over a dist-rep cold tier volume
Product: GlusterFS
Version: 3.7.4
Component: tiering
Assignee: bugs at gluster.org
Reporter: nchilaka at redhat.com
QA Contact: bugs at gluster.org
CC: bugs at gluster.org
Description of problem:
========================
it is impossible to detach a tier on a single hot brick in hot tier over a
dist-rep cold tier(non-empty)(see steps)
[root at zod glusterfs]# gluster v detach-tier zx status
volume detach-tier status: failed: Detach-tiernot started
[root at zod glusterfs]# gluster v detach-tier zx start
volume detach-tier start: failed: Bricks not from same subvol for distribute
[root at zod glusterfs]# gluster v detach-tier zx start
volume detach-tier start: failed: Bricks not from same subvol for distribute
[root at zod glusterfs]# gluster v detach-tier zx commit
volume detach-tier commit: failed: Bricks not from same subvol for distribute
[root at zod glusterfs]# gluster v detach-tier zx commit force
volume detach-tier commit force: failed: Bricks not from same subvol for
distribute
Version-Release number of selected component (if applicable):
================================================================
[root at zod ~]# rpm -qa|grep gluster
glusterfs-client-xlators-3.7.4-0.27.git143f0f9.el7.centos.x86_64
glusterfs-cli-3.7.4-0.27.git143f0f9.el7.centos.x86_64
glusterfs-libs-3.7.4-0.27.git143f0f9.el7.centos.x86_64
glusterfs-api-3.7.4-0.27.git143f0f9.el7.centos.x86_64
glusterfs-fuse-3.7.4-0.27.git143f0f9.el7.centos.x86_64
glusterfs-debuginfo-3.7.4-0.27.git143f0f9.el7.centos.x86_64
glusterfs-server-3.7.4-0.27.git143f0f9.el7.centos.x86_64
glusterfs-3.7.4-0.27.git143f0f9.el7.centos.x86_64
[root at zod ~]# gluster --version
glusterfs 3.7.4 built on Sep 9 2015 01:30:47
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 zod ~]#
Steps to Reproduce:
==================
1.create a dist-rep volume and mount it on fuse and create some files
2) Now attach a tier with only one brick
3)now issue a detach tier
it is impossible to detach due to following error
[root at zod glusterfs]# gluster v info zx
Volume Name: zx
Type: Tier
Volume ID: f001c58b-82a6-4880-a254-4e3f09a191d3
Status: Started
Number of Bricks: 5
Transport-type: tcp
Hot Tier :
Hot Tier Type : Distribute
Number of Bricks: 1
Brick1: zod:/rhs/brick4/zx
Cold Tier:
Cold Tier Type : Distributed-Replicate
Number of Bricks: 2 x 2 = 4
Brick2: zod:/rhs/brick1/zx
Brick3: yarrow:/rhs/brick1/zx
Brick4: zod:/rhs/brick2/zx
Brick5: yarrow:/rhs/brick2/zx
Options Reconfigured:
performance.readdir-ahead: on
[root at zod glusterfs]# gluster v status zx
Status of volume: zx
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Hot Bricks:
Brick zod:/rhs/brick4/zx 49180 0 Y 2083
Cold Bricks:
Brick zod:/rhs/brick1/zx 49178 0 Y 1968
Brick yarrow:/rhs/brick1/zx 49172 0 Y 17259
Brick zod:/rhs/brick2/zx 49179 0 Y 1986
Brick yarrow:/rhs/brick2/zx 49173 0 Y 17279
NFS Server on localhost 2049 0 Y 2106
NFS Server on yarrow 2049 0 Y 17455
Task Status of Volume zx
------------------------------------------------------------------------------
Task : Rebalance
ID : 0ffd667b-9810-4b17-80f0-454dd457b39e
Status : in progress
[root at zod glusterfs]# gluster v detach-tier zx status
volume detach-tier status: failed: Detach-tiernot started
[root at zod glusterfs]# gluster v detach-tier zx start
volume detach-tier start: failed: Bricks not from same subvol for distribute
[root at zod glusterfs]# gluster v detach-tier zx start
volume detach-tier start: failed: Bricks not from same subvol for distribute
[root at zod glusterfs]# gluster v detach-tier zx commit
volume detach-tier commit: failed: Bricks not from same subvol for distribute
[root at zod glusterfs]# gluster v detach-tier zx commit force
volume detach-tier commit force: failed: Bricks not from same subvol for
distribute
[root at zod glusterfs]#
logs are attached
--
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