Description of problem: Created some directories like nfs01, nfs02, nfs03, etc,, while trying to access the directories using 'cd' and 'tab' key then 'enter' key. Directory is getting accessed and able to create files in it. [ubuntu@host013 client2_run2]$ mkdir nfs01 [ubuntu@host013 client2_run2]$ mkdir nfs02 [ubuntu@host013 client2_run2]$ mkdir nfs03 [ubuntu@host013 client2_run2]$ mkdir nfs04 [ubuntu@host013 client2_run2]$ ls nfs01 nfs02 nfs03 nfs04 [ubuntu@host013 client2_run2]$ cd nfs0 [ubuntu@host013 nfs0]$ ls [ubuntu@host013 nfs0]$ ll total 0 [ubuntu@host013 nfs0]$ cd .. [ubuntu@host013 client2_run2]$ ls nfs01 nfs02 nfs03 nfs04 [ubuntu@host013 client2_run2]$ cd nfs0 [ubuntu@host013 nfs0]$ touch a b c d [ubuntu@host013 nfs0]$ ls a b c d [ubuntu@host013 nfs0]$ cd .. [ubuntu@host013 client2_run2]$ ls nfs01 nfs02 nfs03 nfs04 [ubuntu@host013 client2_run2]$ ll total 0 drwxrwxrwx. 3 root root 0 Jan 1 1970 nfs0 drwxrwxr-x. 3 ubuntu ubuntu 0 Feb 22 10:43 nfs01 drwxrwxr-x. 3 ubuntu ubuntu 0 Feb 22 10:43 nfs02 drwxrwxr-x. 3 ubuntu ubuntu 0 Feb 22 10:43 nfs03 drwxrwxr-x. 3 ubuntu ubuntu 0 Feb 22 10:43 nfs04 [ubuntu@host013 client2_run2]$ cd nfs0 [ubuntu@host013 nfs0]$ ls a b c d Version-Release number of selected component (if applicable): ceph: 10.2.5-29.el7cp rgw: nfs-ganesha-2.4.2-6.el7cp.x86_64 How reproducible: 2/2 Steps to Reproduce: 1. Create ceph cluster with rgw and NFS-Ganesha 2. mount NFS to any client 3. Create some directories as in description. Actual results: "cd" command access the invalid/not-available directory and able to create files in that. Expected results: Command should fail with "Directory not exists error" Additional info: N/A
Additional info: apart from that series dir name, other directories are failing with proper error. [ubuntu@host013 client2_run2]$ ls nfs0 nfs01 nfs02 nfs03 nfs04 [ubuntu@host013 client2_run2]$ cd abcd -bash: cd: abcd: No such file or directory
Moving this bug to verified state. [ubuntu@host003 client1_run4]$ ls level00 level01 level02 level03 level04 level05 level06 level07 level08 level09 [ubuntu@host003 client1_run4]$ cd level0 -bash: cd: level0: No such file or directory [ubuntu@host003 client1_run4]$ ls level00 level01 level02 level03 level04 level05 level06 level07 level08 level09 [ubuntu@host003 client1_run4]$ mkdir nfs01 [ubuntu@host003 client1_run4]$ mkdir nfs02 [ubuntu@host003 client1_run4]$ mkdir nfs03 [ubuntu@host003 client1_run4]$ ls level00 level01 level02 level03 level04 level05 level06 level07 level08 level09 nfs01 nfs02 nfs03 [ubuntu@host003 client1_run4]$ cd nfs0 -bash: cd: nfs0: No such file or directory [ubuntu@host003 client1_run4]$ Verified in [ubuntu@host003 nfs]$ sudo ceph -v ceph version 10.2.5-34.el7cp (d11a516e27459d970ff00b54315f5ba66185f046) [ubuntu@host023 ~]$ sudo rpm -qa | grep nfs nfs-ganesha-rgw-2.4.2-7.el7cp.x86_64 libnfsidmap-0.25-15.el7.x86_64 nfs-ganesha-2.4.2-7.el7cp.x86_64 nfs-utils-1.3.0-0.33.el7.x86_64
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-2017-0514.html