Bug 1230563

Summary: tiering:glusterd crashed when trying to detach-tier commit force on a non-tiered volume.
Product: [Community] GlusterFS Reporter: Mohammed Rafi KC <rkavunga>
Component: tieringAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.7.1CC: amukherj, bugs, dlambrig, nchilaka
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.7.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1228112 Environment:
Last Closed: 2015-06-20 09:50:38 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: 1228112    
Bug Blocks: 1229274, 1260923    

Description Mohammed Rafi KC 2015-06-11 07:26:25 UTC
+++ This bug was initially created as a clone of Bug #1228112 +++

Description of problem:

glusterd crashed when trying to detach-tier commit force on a non-tiered volume.

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

mainline

How reproducible:

100%

Steps to Reproduce:
1.create a regular volume of any time other than tier
2.start the volume
3.gluster volume detach-tier vol commit force

Actual results:

glusterd crashed

Expected results:

should throw an error.

Additional info:

--- Additional comment from Anand Avati on 2015-06-04 04:57:57 EDT ---

REVIEW: http://review.gluster.org/11081 (glusterd/tier: glusterd crashed with detach-tier commit force) posted (#1) for review on master by mohammed rafi  kc (rkavunga)

Comment 1 Anand Avati 2015-06-17 05:11:00 UTC
COMMIT: http://review.gluster.org/11174 committed in release-3.7 by Atin Mukherjee (amukherj) 
------
commit bf6a71bcb08357766027e9318edae4b8298c339c
Author: Mohammed Rafi KC <rkavunga>
Date:   Thu Jun 4 14:14:14 2015 +0530

    glusterd/tier: glusterd crashed with detach-tier commit force
    
    glusterd crashed when doing "detach-tier commit force" on a
    non-tiered volume.
    
    >Change-Id: I884771893bb80bec46ae8642c2cfd7e54ab116a6
    >BUG: 1228112
    >Signed-off-by: Mohammed Rafi KC <rkavunga>
    >Reviewed-on: http://review.gluster.org/11081
    >Tested-by: Gluster Build System <jenkins.com>
    >Tested-by: NetBSD Build System <jenkins.org>
    >Reviewed-by: Joseph Fernandes
    >Reviewed-by: Dan Lambright <dlambrig>
    >Reviewed-by: Krishnan Parthasarathi <kparthas>
    
    (cherry picked from commit fefc8730e2a87db41d5f79c9853a14cab86715e5)
    
    Change-Id: Ia536da3ec4c632d7d1cc1575dd2b7b098a2c7aec
    BUG: 1230563
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/11174
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Joseph Fernandes
    Tested-by: Joseph Fernandes

Comment 2 Niels de Vos 2015-06-20 09:50:38 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.2, please reopen this bug report.

glusterfs-3.7.2 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://www.gluster.org/pipermail/packaging/2015-June/000006.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user