Bug 1357896

Summary: GW-NFS unable to rename files between directories of the mounted fs
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Matt Benjamin (redhat) <mbenjamin>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: shylesh <shmohan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.0CC: cbodley, ceph-eng-bugs, ceph-qe-bugs, hnallurv, kbader, kdreyer, mbenjamin, nlevine, owasserm, sweil, tserlin
Target Milestone: rc   
Target Release: 2.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.2-38.el7cp Ubuntu: ceph_10.2.2-30redhat1xenial Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 19:44:31 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: 1357932    
Bug Blocks:    

Description Matt Benjamin (redhat) 2016-07-19 14:02:37 UTC
Description of problem:

RGW-NFS unable to rename files between directories of the mounted fs.

How reproducible:
100%


Steps to Reproduce:
1. mount nfs-rgw (e.g., at /mnt/rgw)
2. create directories /mnt/rgw/d1 and /mnt/rgw/d2
3. create a file f1 in /mnt/rgw/d1
4. mv 

Actual results:
"file does not exist"

Expected results:
(no error)

Additional info:
This bug is already fixed on ceph upstream, creating this bz to pull to rhcs 2.0.  Since rename is performed by the rsync program, our tech preview use case requires it.

Comment 2 Neil Levine 2016-07-19 16:54:54 UTC
This doesn't have to block 2.0 if we can't merge it in time. It's TP only so these kind of bugs are acceptable until we fix in an async.

Comment 18 shylesh 2016-08-10 10:14:19 UTC
both rsync and mv tests are working

[root@magna104 mnt]# rsync -rv ~/torsync/* ./target/
sending incremental file list
file1
file2
file3

sent 31461290 bytes  received 69 bytes  8988959.71 bytes/sec
total size is 31457280  speedup is 1.00

so marking this as verified.

verified on librgw2-10.2.2-38.el7cp.x86_64

Comment 21 errata-xmlrpc 2016-08-23 19:44:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1755.html