[Bugs] [Bug 1388464] New: throw warning to show that older tier commands are depricated and will be removed.

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 25 12:24:23 UTC 2016


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

            Bug ID: 1388464
           Summary: throw warning to show that older tier commands are
                    depricated and will be removed.
           Product: Red Hat Gluster Storage
           Version: 3.2
         Component: tier
          Keywords: Triaged
          Severity: low
          Priority: low
          Assignee: dlambrig at redhat.com
          Reporter: amukherj at redhat.com
        QA Contact: kramdoss at redhat.com
                CC: bugs at gluster.org, dlambrig at redhat.com,
                    hgowtham at redhat.com, rhs-bugs at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1388062



+++ This bug was initially created as a clone of Bug #1388062 +++

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.

--- Additional comment from Worker Ant on 2016-10-24 06:58:30 EDT ---

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 at gmail.com)

--- Additional comment from Worker Ant on 2016-10-25 00:23:46 EDT ---

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 at gmail.com)

--- Additional comment from Worker Ant on 2016-10-25 07:55:43 EDT ---

COMMIT: http://review.gluster.org/15713 committed in master by Dan Lambright
(dlambrig at redhat.com) 
------
commit 62238f9fb3511dc854651e694bb27b9ebce1e19e
Author: hari <hgowtham at redhat.com>
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 at redhat.com>
    Reviewed-on: http://review.gluster.org/15713
    Tested-by: hari gowtham <hari.gowtham005 at gmail.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1388062
[Bug 1388062] throw warning to show that older tier commands are depricated
and will be removed.
-- 
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=dxrojmFSWR&a=cc_unsubscribe


More information about the Bugs mailing list