Bug 1339145

Summary: "No such file of directory" error on deleting the nested directory structure.
Product: [Community] GlusterFS Reporter: Karan Sandha <ksandha>
Component: posixAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: atumball, bugs, pkarampu, rgowdapp, smohan, spalai
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-09 10:15:14 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:

Description Karan Sandha 2016-05-24 08:54:39 UTC
Description of problem:
Nested directory name leads to no such file or directory. basically if we create nested directory and delete the directory from the mount point when one if the brick is down. it leads to error and warnings.

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

logs placed in the repo @ rhsqe-repo.lab.eng.blr.redhat.com:/var/www/html/sosreports/<bug>
How reproducible: 2/2


Steps to Reproduce:
1. create a nested directory using below script:-
[root@dhcp42-93 nfs]# cat dd.sh 
for ((i=1; i<=1000; i++))
do
mkdir -pv directory$i
cd directory$i
dd if=/dev/urandom of=file$i bs=1k count=1 status=progress
done 

2.kill one of the bricks
3.rm -rf directory* from the mount point using FUSE
4 bring back the brick and check brick logs for the failed directory structure.

Actual results:
Errors were observed on the logs and unable to delete the files.

Expected results:
Files and directory should be deleted from the brick too.

Additional info:
Master build 3.9 dev

Comment 1 Amar Tumballi 2019-05-09 10:15:14 UTC
We are not picking this issue in upcoming releases, and hence marking as DEFERRED. Will revisit after couple of releases depending on time/resource.