[Bugs] [Bug 1276678] CTR should be enabled on attach tier, disabled otherwise.

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 10 11:16:45 UTC 2015


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

nchilaka <nchilaka at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #4 from nchilaka <nchilaka at redhat.com> ---
I have verified this on the latest build:
1)check default ctr on a regular volume which was off as expected
2)attached tier to a regular volume and ctr was enabled by default on volume
3)attached a tier to an offline regular volume and ctr was enabled even on
offline volume

hence moving to verified.

[root at zod ~]# rpm -qa|grep gluster
glusterfs-libs-3.7.5-6.el7rhgs.x86_64
glusterfs-fuse-3.7.5-6.el7rhgs.x86_64
glusterfs-3.7.5-6.el7rhgs.x86_64
glusterfs-server-3.7.5-6.el7rhgs.x86_64
glusterfs-client-xlators-3.7.5-6.el7rhgs.x86_64
glusterfs-cli-3.7.5-6.el7rhgs.x86_64
glusterfs-api-3.7.5-6.el7rhgs.x86_64
glusterfs-debuginfo-3.7.5-6.el7rhgs.x86_64
[root at zod ~]# 



logs:
======
[root at zod ~]# gluster v create offline disperse 6 disperse-data 4
zod:/rhs/brick1/offline yarrow:/rhs/brick1/offline zod:/rhs/brick2/offline
yarrow:/rhs/brick2/offline zod:/rhs/brick3/offline yarrow:/rhs/brick3/offline
force
volume create: offline: success: please start the volume to access data
[root at zod ~]# 
[root at zod ~]# 
[root at zod ~]# #gluster v attach-tier offline replica 2
zod:/rhs/brick7/offline_hot yarrow:/rhs/brick7/offline_hot
zod:/rhs/brick6/offline_hot yarrow:/rhs/brick6/offline_hot
[root at zod ~]# gluster v get ctr features.ctr-enabled
Option                                  Value                                   
------                                  -----                                   
features.ctr-enabled                    on                                      
[root at zod ~]# gluster v get offline features.ctr-enabled
Option                                  Value                                   
------                                  -----                                   
features.ctr-enabled                    off                                     
[root at zod ~]# #gluster v get ctr features.ctr-enabled
[root at zod ~]# gluster v attach-tier offline replica 2
zod:/rhs/brick7/offline_hot yarrow:/rhs/brick7/offline_hot
zod:/rhs/brick6/offline_hot yarrow:/rhs/brick6/offline_hot
volume attach-tier: success
Tiering Migration Functionality: offline: failed: Volume offline needs to be
started to perform rebalance
Failed to run tier start. Please execute tier start command explictly
Usage : gluster volume rebalance <volname> tier start
Tier command failed
[root at zod ~]# gluster v status offline
Volume offline is not started
[root at zod ~]# gluster v info offline

Volume Name: offline
Type: Tier
Volume ID: ace77d4b-68c5-4fca-a0c7-df0a51606ff6
Status: Created
Number of Bricks: 10
Transport-type: tcp
Hot Tier :
Hot Tier Type : Distributed-Replicate
Number of Bricks: 2 x 2 = 4
Brick1: yarrow:/rhs/brick6/offline_hot
Brick2: zod:/rhs/brick6/offline_hot
Brick3: yarrow:/rhs/brick7/offline_hot
Brick4: zod:/rhs/brick7/offline_hot
Cold Tier:
Cold Tier Type : Disperse
Number of Bricks: 1 x (4 + 2) = 6
Brick5: zod:/rhs/brick1/offline
Brick6: yarrow:/rhs/brick1/offline
Brick7: zod:/rhs/brick2/offline
Brick8: yarrow:/rhs/brick2/offline
Brick9: zod:/rhs/brick3/offline
Brick10: yarrow:/rhs/brick3/offline
Options Reconfigured:
features.ctr-enabled: on
performance.readdir-ahead: on
[root at zod ~]# #gluster v get ctr features.ctr-enabled
[root at zod ~]# gluster v get offline features.ctr-enabled
Option                                  Value                                   
------                                  -----                                   
features.ctr-enabled                    on

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=1MVOePz0lW&a=cc_unsubscribe


More information about the Bugs mailing list