Bug 1066529 - 'op_ctx modification failed' in glusterd log after gluster volume status
Summary: 'op_ctx modification failed' in glusterd log after gluster volume status
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: krishnan parthasarathi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-18 15:11 UTC by SATHEESARAN
Modified: 2015-11-03 23:06 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-14 17:25:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
glusterd log file (6.50 KB, text/x-log)
2014-02-18 15:12 UTC, SATHEESARAN
no flags Details

Description SATHEESARAN 2014-02-18 15:11:11 UTC
Description of problem:
-----------------------
After the execution of 'gluster volume status' command, there was a error, " op_ctx modification failed" in glusterd log files

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

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create any type of volume
2. Start the volume
3. check, 'gluster volume status' command

Actual results:
---------------
There was an error, "op_ctx modification failed" in glusterd logs

Expected results:
-----------------
There should not be any errors in glusterd logs

Additional info:
----------------
I ran this test on CentOS 6.5

[root@my-centos ~]# uname -r
2.6.32-431.5.1.el6.x86_64
[root@my-centos ~]# 
[root@my-centos ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m

Error messages in glusterd logs:

<snip>
[2014-02-18 15:04:18.119888] W [glusterd-op-sm.c:3404:glusterd_op_modify_op_ctx] 0-management: op_ctx modification failed
[2014-02-18 15:04:18.122549] I [glusterd-handler.c:3530:__glusterd_handle_status_volume] 0-management: Received status volume req for volume distvol
</snip>

Comment 1 SATHEESARAN 2014-02-18 15:12:55 UTC
Created attachment 864600 [details]
glusterd log file

Attached the glusterd log file

Comment 2 Anand Avati 2014-07-20 23:12:15 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#1) for review on master by Harshavardhana (harsha)

Comment 3 Anand Avati 2014-07-20 23:13:09 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#2) for review on master by Harshavardhana (harsha)

Comment 4 Anand Avati 2014-07-21 08:29:50 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#3) for review on master by Harshavardhana (harsha)

Comment 5 Anand Avati 2014-07-23 10:12:29 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#4) for review on master by Harshavardhana (harsha)

Comment 6 Anand Avati 2014-07-23 10:14:45 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#5) for review on master by Harshavardhana (harsha)

Comment 7 Anand Avati 2014-07-24 07:19:54 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#6) for review on master by Harshavardhana (harsha)

Comment 8 Anand Avati 2014-07-24 09:31:27 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#7) for review on master by Harshavardhana (harsha)

Comment 9 Anand Avati 2014-07-24 19:36:54 UTC
REVIEW: http://review.gluster.org/8337 (glusterd: Avoid spurious WARNING 'op_ctx modification failed') posted (#8) for review on master by Harshavardhana (harsha)

Comment 10 Anand Avati 2014-07-25 04:08:59 UTC
COMMIT: http://review.gluster.org/8337 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit 88eb28678c3a16264b5baa57af0d16778ea2c9e6
Author: Harshavardhana <harsha>
Date:   Sun Jul 20 14:59:42 2014 -0700

    glusterd: Avoid spurious WARNING 'op_ctx modification failed'
    
    This patch fixes by wrapping this whole scenario and skips
    op_ctx modification for necessary commands.
    
    Change-Id: I3ecec19caefdc699d9a2dabfb456a89758ae4aa4
    BUG: 1066529
    Signed-off-by: Harshavardhana <harsha>
    Reviewed-on: http://review.gluster.org/8337
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 11 Niels de Vos 2015-05-14 17:25:35 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 12 Niels de Vos 2015-05-14 17:35:26 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 13 Niels de Vos 2015-05-14 17:37:47 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 14 Niels de Vos 2015-05-14 17:42:17 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[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.