Bug 797042 - clearing posix locks always fails with Invalid argument
Summary: clearing posix locks always fails with Invalid argument
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: locks
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: krishnan parthasarathi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-02-24 06:01 UTC by Shwetha Panduranga
Modified: 2015-11-03 23:04 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:51:05 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Shwetha Panduranga 2012-02-24 06:01:24 UTC
Description of problem:
gluster volume clear-locks <Volume_name> <path_to_file> kind all posix always fails with "clear-locks getxattr command failed. Reason: Invalid argument" 

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

How reproducible:
often

Actual results:
[root@APP-SERVER1 glusterfs]# gluster volume clear-locks dist / kind all posix
Volume clear-locks unsuccessful
clear-locks getxattr command failed. Reason: Invalid argument

[root@APP-SERVER1 glusterfs]# gluster volume clear-locks dist /file1 kind all posix
Volume clear-locks unsuccessful
clear-locks getxattr command failed. Reason: Invalid argument

Glusterd log:-
--------------

[2012-02-24 16:50:02.602921] I [glusterd-volume-ops.c:1783:glusterd_op_clearlocks_volume] 0-management: Received clear-locks request for volume dist with kind all type posix and options (null)
[2012-02-24 16:50:02.646580] E [glusterd-volume-ops.c:1834:glusterd_op_clearlocks_volume] 0-management: clear-locks getxattr command failed. Reason: Invalid argument
[2012-02-24 16:50:02.657537] E [glusterd-op-sm.c:1808:glusterd_op_ac_send_commit_op] 0-: Commit failed

Comment 1 Anand Avati 2012-02-27 12:39:40 UTC
CHANGE: http://review.gluster.com/2812 (locks/glusterd: Fixed clearing of posix locks from failing always.) merged in master by Vijay Bellur (vijay)

Comment 2 Shwetha Panduranga 2012-05-04 07:12:30 UTC
Bug is fixed . verified on 3.3.0qa39


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