Bug 1157486

Summary: DHT :- rename of file is failing with error :- ' cannot remove <file name> : No such file or directory'
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachana Patel <racpatel>
Component: distributeAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED DEFERRED QA Contact: storage-qa-internal <storage-qa-internal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: mzywusko, rhs-bugs, spalai, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1144425
: 1286091 (view as bug list) Environment:
Last Closed: 2015-11-27 10:44:21 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: 1144425    
Bug Blocks: 1286091    

Comment 1 Rachana Patel 2014-10-27 10:30:46 UTC
Version-Release number of selected component (if applicable):
=============================================================
3.4.0.69rhs-1.el6rhs.x86_64


mv: cannot remove `zero2-29': No such file or directory


log snippet:-
[2014-10-27 18:09:16.333797] W [client-rpc-fops.c:2604:client3_3_lookup_cbk] 0-manhoos-client-0: remote operation failed: Invalid argument. Path: /again/zero2-29 (00000000-0000-0000-0000-000000000000)
[2014-10-27 18:09:16.334452] W [client-rpc-fops.c:2604:client3_3_lookup_cbk] 0-manhoos-client-0: remote operation failed: Invalid argument. Path: /again/zero2-29 (00000000-0000-0000-0000-000000000000)
[2014-10-27 18:09:16.336083] W [client-rpc-fops.c:2604:client3_3_lookup_cbk] 0-manhoos-client-0: remote operation failed: Invalid argument. Path: /again/zero2-29 (00000000-0000-0000-0000-000000000000)
[2014-10-27 18:09:16.339184] W [client-rpc-fops.c:2604:client3_3_lookup_cbk] 0-manhoos-client-0: remote operation failed: Invalid argument. Path: /again/zero2-29 (00000000-0000-0000-0000-000000000000)
[2014-10-27 18:09:16.339487] W [client-rpc-fops.c:2604:client3_3_lookup_cbk] 0-manhoos-client-0: remote operation failed: Invalid argument. Path: /again/zero2-29 (00000000-0000-0000-0000-000000000000)
[2014-10-27 18:09:16.340353] W [dht-rename.c:1157:dht_rename_lock_cbk] 0-manhoos-dht: acquiring inodelk failed (Resource temporarily unavailable) rename (/again/zero2-28:493ba89b-c172-4624-81d2-61f129efad32:manhoos-client-4 /again/zero2-29:00000000-0000-0000-0000-000000000000:(null)), returning EBUSY
[2014-10-27 18:09:16.340430] W [nfs3.c:3669:nfs3svc_rename_cbk] 0-nfs: fb9655ae: rename /again/zero2-28 -> /again/zero2-29 => -1 (Device or resource busy)
[2014-10-27 18:09:16.341778] W [client-rpc-fops.c:2604:client3_3_lookup_cbk] 0-manhoos-client-0: remote operation failed: Invalid argument. Path: /again/zero2-29 (00000000-0000-0000-0000-000000000000)
[2014-10-27 18:09:17.307367] W [dht-rename.c:1157:dht_rename_lock_cbk] 0-manhoos-dht: acquiring inodelk failed (Resource temporarily unavailable) rename (/again/zero2-29:493ba89b-c172-4624-81d2-61f129efad32:manhoos-client-4 /again/zero2-30:00000000-0000-0000-0000-000000000000:(null)), returning EBUSY
[2014-10-27 18:09:17.307447] W [nfs3.c:3669:nfs3svc_rename_cbk] 0-nfs: 9e9855ae: rename /again/zero2-29 -> /again/zero2-30 => -1 (Device or resource busy)
[2014-10-27 18:09:17.312230] W [client-rpc-fops.c:2604:client3_3_lookup_cbk] 0-manhoos-client-0: remote operation failed: Invalid argument. Path: /again/zero2-29 (00000000-0000-0000-0000-000000000000)

Comment 5 Susant Kumar Palai 2015-11-27 10:44:21 UTC
Cloning to 3.1. To be fixed in future release.