Bug 1223213 - gluster volume status fails with locking failed error message
Summary: gluster volume status fails with locking failed error message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Atin Mukherjee
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1223215 1224891
TreeView+ depends on / blocked
 
Reported: 2015-05-20 06:28 UTC by Atin Mukherjee
Modified: 2016-06-16 13:03 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1223215 1224891 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:03:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Atin Mukherjee 2015-05-20 06:28:45 UTC
Description of problem:

When a node in a multi node cluster is upgraded from 3.5 to 3.7 gluster volume status fails with locking failed error message

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

How reproducible:
Always

Steps to Reproduce:
1. Create a multi node cluster running with 3.5 version
2. Upgrade any node to 3.7
3. Execute gluster volume status

Actual results:
gluster volume status fails with locking failed error message

Expected results:
gluster volume status should be successful

Additional info:

Comment 1 Anand Avati 2015-05-20 13:02:36 UTC
REVIEW: http://review.gluster.org/10842 (glusterd : allocate peerid to store in frame->cookie) posted (#1) for review on master by Atin Mukherjee (amukherj)

Comment 2 Anand Avati 2015-05-22 05:01:01 UTC
REVIEW: http://review.gluster.org/10842 (glusterd : allocate peerid to store in frame->cookie) posted (#2) for review on master by Atin Mukherjee (amukherj)

Comment 3 Anand Avati 2015-05-28 04:03:15 UTC
REVIEW: http://review.gluster.org/10842 (glusterd : allocate peerid to store in frame->cookie) posted (#3) for review on master by Atin Mukherjee (amukherj)

Comment 4 Anand Avati 2015-05-28 07:09:48 UTC
COMMIT: http://review.gluster.org/10842 committed in master by Kaushal M (kaushal) 
------
commit 37f365843bed87728048da1f56de22290f5cb70f
Author: Atin Mukherjee <amukherj>
Date:   Wed May 20 14:33:41 2015 +0530

    glusterd : allocate peerid to store in frame->cookie
    
    commit a1de3b05 was using peerid from the stack and storing it in the
    frame->cookie and in the subsequent callback it was referred. The existance of
    this variable is not guranteed in the cbk since its not dynamically allocated.
    Fix is to dynmacially manage peerid in the frame cookie.
    
    This patch also fixes one problem in gd_sync_task_begin () where unlock is not
    triggered if the cluster is running with lesser than 3.6 op-version resulting into
    commands failing with another transaction is in progress.
    
    Change-Id: I0d22cf663df53ef3769585703944577461061312
    BUG: 1223213
    Signed-off-by: Atin Mukherjee <amukherj>
    Reviewed-on: http://review.gluster.org/10842
    Tested-by: NetBSD Build System
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaushal M <kaushal>

Comment 5 Nagaprasad Sathyanarayana 2015-10-25 14:55:06 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 6 Niels de Vos 2016-06-16 13:03:20 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.