Bug 765009 (GLUSTER-3277)

Summary: rm fails when one brick is down
Product: [Community] GlusterFS Reporter: Lakshmipathi G <lakshmipathi>
Component: distributeAssignee: shishir gowda <sgowda>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.1CC: amarts, gluster-bugs, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2011-07-29 08:38:57 UTC
This is a feature of 'distribute' than an error. We don't allow rmdir() to succeed when a node is down.

Comment 1 Lakshmipathi G 2011-07-29 09:28:55 UTC
With a two dht setup and testing with master commit-id "73eca3be5c5ccc71bbad934338c1ef58ed37c483" and
also with "f3c0281d9b4654888a5525b443f1e6090d874725" both fails.

# ls -l
total 40
drwxr-xr-x 2 root root 4096 Jul 28 23:57 b
drwxr-xr-x 2 root root 4096 Jul 28 23:57 c
drwxr-xr-x 2 root root 4096 Jul 29 00:01 cd
drwxr-xr-x 2 root root 4096 Jul 28 23:57 e
drwxr-xr-x 2 root root 4096 Jul 28 23:55 i


#killed one process.

# rmdir b
rmdir: b: Transport endpoint is not connected
# rmdir c
rmdir: c: Transport endpoint is not connected

# ls -l
total 40
drwxr-xr-x 2 root root 4096 Jul 28 23:57 b
drwxr-xr-x 2 root root 4096 Jul 28 23:57 c
drwxr-xr-x 2 root root 4096 Jul 29 00:01 cd
drwxr-xr-x 2 root root 4096 Jul 28 23:57 e
drwxr-xr-x 2 root root 4096 Jul 28 23:55 i