Bug 1221270 - 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: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mohammed Rafi KC
QA Contact: bugs@gluster.org
URL:
Whiteboard: TIERING
Depends On:
Blocks: 1221967 1226168 1260923
TreeView+ depends on / blocked
 
Reported: 2015-05-13 15:14 UTC by Mohammed Rafi KC
Modified: 2016-06-16 13:01 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.8rc2
Clone Of:
: 1221967 1226168 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:01:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Mohammed Rafi KC 2015-05-13 15:14:57 UTC
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:

Comment 1 Anand Avati 2015-05-13 15:15:37 UTC
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 2 Anand Avati 2015-05-28 05:29:49 UTC
REVIEW: http://review.gluster.org/10773 (tier: Do not allow detach-tier commands on a non-tiered volume) posted (#2) for review on master by mohammed rafi  kc (rkavunga)

Comment 3 Anand Avati 2015-05-28 14:01:32 UTC
COMMIT: http://review.gluster.org/10773 committed in master by Kaushal M (kaushal) 
------
commit 3cb713f2aec3c2191cf8fd2df830b92bf3ad92d4
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
    
    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

Comment 4 Nagaprasad Sathyanarayana 2015-10-25 15:23:29 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 5 Niels de Vos 2016-06-16 13:01:11 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.8.0, please open a new bug report.

glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[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.