Bug 1214393

Summary: Cannot access volume (from client) post detach
Product: [Community] GlusterFS Reporter: Anoop <annair>
Component: tieringAssignee: Dan Lambright <dlambrig>
Status: CLOSED WORKSFORME QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: mainlineCC: bugs, dlambrig, nchilaka
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1229258 (view as bug list) Environment:
Last Closed: 2016-05-03 12:41:19 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:    
Bug Blocks: 1186580, 1229258, 1260923    

Description Anoop 2015-04-22 15:45:06 UTC
Description of problem:
Not able use volume post detach. See the following error while trying to access volume post detach:
[root@dhcp35-67 ~]# cd /tier
-bash: cd: /tier: Transport endpoint is not connected


Version-Release number of selected component (if applicable):
glusterfs-server-3.7dev-0.994.git0d36d4f.el6.x86_64

How reproducible:


Steps to Reproduce:
1. Create a dispese volume
2. Attach tier  (replica)
3. Detach the tier
4. Now try to access the volume from the mount on the client. See the following error:
-bash: cd: /tier: Transport endpoint is not connected

See the following message in the log:
[2015-04-22 21:13:15.660577] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:18.661107] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:18.661176] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:21.661794] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:21.661860] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:24.662403] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:24.662646] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:27.663084] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:27.663154] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument

Comment 1 Anoop 2015-04-22 16:11:46 UTC
Please ignore this. This was opened in error.

Comment 2 Anoop 2015-04-22 16:29:08 UTC
My bad, this indeed is an isssue. Cannot use the volume post detach.

[root@dhcp35-67 tier]#  touch a
touch: cannot touch `a': Transport endpoint is not connected
[root@dhcp35-67 tier]# wget http://rhsqe-repo.lab.eng.blr.redhat.com/testtools/linux-2.6.31.1.tar.bz2
--2015-04-23 03:26:18--  http://rhsqe-repo.lab.eng.blr.redhat.com/testtools/linux-2.6.31.1.tar.bz2
Resolving rhsqe-repo.lab.eng.blr.redhat.com... 10.70.34.52
Connecting to rhsqe-repo.lab.eng.blr.redhat.com|10.70.34.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61453891 (59M) [application/x-bzip2]
linux-2.6.31.1.tar.bz2: Transport endpoint is not connected

Cannot write to “linux-2.6.31.1.tar.bz2” (Transport endpoint is not connected).
[root@dhcp35-67 tier]#

Comment 3 Dan Lambright 2015-04-24 11:45:02 UTC
I cannot reproduce this.

Comment 4 Niels de Vos 2015-05-15 13:07:36 UTC
This change should not be in "ON_QA", the patch posted for this bug is only available in the master branch and not in a release yet. Moving back to MODIFIED until there is an beta release for the next GlusterFS version.