Bug 1221967 - Do not allow detach-tier commands on a non tiered volume
Summary: Do not allow detach-tier commands on a non tiered volume
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mohammed Rafi KC
QA Contact: bugs@gluster.org
URL:
Whiteboard: TIERING
Depends On: 1221270 1226168
Blocks: glusterfs-tiering-supportability 1229269 1260923 1273726 1274411
TreeView+ depends on / blocked
 
Reported: 2015-05-15 11:11 UTC by Niels de Vos
Modified: 2015-10-30 17:32 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.7.1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1221270
Environment:
Last Closed: 2015-06-02 08:02:54 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Niels de Vos 2015-05-15 11:11:03 UTC
+++ This bug was initially created as a clone of Bug #1221270 +++

Description of problem:

Operations like detach-tier commit gives success for a non-tiered volume also 

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


How reproducible:
100%

Steps to Reproduce:
1.create a tired volume
2.detach the tier
3.again try to detach (detach-tier commit)

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-05-13 17:15:37 CEST ---

REVIEW: http://review.gluster.org/10773 (tier: Do not allow detach-tier commands on a non-tiered volume) posted (#1) for review on master by mohammed rafi  kc (rkavunga)

Comment 1 Anand Avati 2015-05-28 19:11:05 UTC
REVIEW: http://review.gluster.org/10979 (tier: Do not allow detach-tier commands on a non-tiered volume) posted (#1) for review on release-3.7 by mohammed rafi  kc (rkavunga)

Comment 2 Anand Avati 2015-06-01 04:33:09 UTC
COMMIT: http://review.gluster.org/10979 committed in release-3.7 by Kaushal M (kaushal) 
------
commit 151d01445eddb0bfbd46e13a79b2ed6d1779cc5e
Author: Mohammed Rafi KC <rkavunga>
Date:   Wed May 13 20:33:45 2015 +0530

    tier: Do not allow detach-tier commands on a non-tiered volume
    
            Back port of http://review.gluster.org/10773
    
     >Change-Id: Ic92d25db68e40ef4a4388ef42affd1b3ee5a7ec6
     >BUG: 1221270
     >Signed-off-by: Mohammed Rafi KC <rkavunga>
     >Reviewed-on: http://review.gluster.org/10773
     >Reviewed-by: Atin Mukherjee <amukherj>
     >Reviewed-by: Raghavendra G <rgowdapp>
     >Reviewed-by: Kaushal M <kaushal>
     >Tested-by: Gluster Build System <jenkins.com>
     >Tested-by: NetBSD Build System
     >Signed-off-by: Mohammed Rafi KC <rkavunga>
    
    Change-Id: I4b52da590dfcca8edc7e2b7e0c24c5dab7983c10
    BUG: 1221967
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/10979
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Joseph Fernandes
    Reviewed-by: Kaushal M <kaushal>

Comment 3 Niels de Vos 2015-06-02 08:02:54 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.7.1, please reopen this bug report.

glusterfs-3.7.1 has been announced on the Gluster Packaging mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.packaging/1
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.