Bug 1388062

Summary: throw warning to show that older tier commands are depricated and will be removed.
Product: [Community] GlusterFS Reporter: hari gowtham <hgowtham>
Component: tieringAssignee: hari gowtham <hgowtham>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: amukherj, bugs, dlambrig
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1388464 1388470 (view as bug list) Environment:
Last Closed: 2017-03-06 17:30:52 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:    
Bug Blocks: 1388464, 1388470    

Description hari gowtham 2016-10-24 10:52:22 UTC
Description of problem:
The older tier commands are needed to be removed to aid maintaining the code.
before removing we need to a warning that these commands are depricated, use the new ones.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.create any volume.
2.try attach brick using the old tier command "gluster v attach-tier <volname> <brick>..
3.same thing happens for detach tier related older conmands.

Actual results:
it works

Expected results:
should throw a warning and then continue.

Additional info:
future features might not work for this command.

Comment 1 Worker Ant 2016-10-24 10:58:30 UTC
REVIEW: http://review.gluster.org/15713 (CLI/TIER: throw warning regarding the removal of the older commands.) posted (#1) for review on master by hari gowtham (hari.gowtham005)

Comment 2 Worker Ant 2016-10-25 04:23:46 UTC
REVIEW: http://review.gluster.org/15713 (CLI/TIER: throw warning regarding the removal of the older commands.) posted (#2) for review on master by hari gowtham (hari.gowtham005)

Comment 3 Worker Ant 2016-10-25 11:55:43 UTC
COMMIT: http://review.gluster.org/15713 committed in master by Dan Lambright (dlambrig) 
------
commit 62238f9fb3511dc854651e694bb27b9ebce1e19e
Author: hari <hgowtham>
Date:   Mon Oct 24 16:24:23 2016 +0530

    CLI/TIER: throw warning regarding the removal of the older commands.
    
    The older tier commands for attach tier and detach tier have to be
    removed from code. This patch sends a warning asking to use new
    command as older ones are depricated and will be removed.
    
    Change-Id: Ie1c62947bad6ff106f40331ff6134838a6c72a7a
    BUG: 1388062
    Signed-off-by: hari <hgowtham>
    Reviewed-on: http://review.gluster.org/15713
    Tested-by: hari gowtham <hari.gowtham005>
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 4 Shyamsundar 2017-03-06 17:30:52 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report.

glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/