Bug 1276678
| Summary: | CTR should be enabled on attach tier, disabled otherwise. | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Dan Lambright <dlambrig> |
| Component: | tier | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Nag Pavan Chilakam <nchilaka> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | asrivast, nchilaka, rhs-bugs, sankarshan, storage-qa-internal |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.1.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.5-6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1274847 | Environment: | |
| Last Closed: | 2016-03-01 05:49:24 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: | 1274847 | ||
| Bug Blocks: | 1260783, 1260923, 1276617, 1276671 | ||
|
Description
Dan Lambright
2015-10-30 13:19:27 UTC
*** Bug 1276617 has been marked as a duplicate of this bug. *** 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@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@zod ~]# logs: ====== [root@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@zod ~]# [root@zod ~]# [root@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@zod ~]# gluster v get ctr features.ctr-enabled Option Value ------ ----- features.ctr-enabled on [root@zod ~]# gluster v get offline features.ctr-enabled Option Value ------ ----- features.ctr-enabled off [root@zod ~]# #gluster v get ctr features.ctr-enabled [root@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@zod ~]# gluster v status offline Volume offline is not started [root@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@zod ~]# #gluster v get ctr features.ctr-enabled [root@zod ~]# gluster v get offline features.ctr-enabled Option Value ------ ----- features.ctr-enabled on 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 |